You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repository.css 82KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633
  1. .repository .data-table .line-num,
  2. .repository .diff-file-box .file-body.file-code .lines-num,
  3. .repository .diff-file-box .code-diff tbody tr .lines-type-marker,
  4. .repository .repository-summary .segment.language-stats {
  5. -webkit-touch-callout: none;
  6. -webkit-user-select: none;
  7. user-select: none;
  8. }
  9. .repository .repo-header .ui.compact.menu {
  10. margin-left: 1rem;
  11. }
  12. .repository .repo-header .ui.header {
  13. margin-top: 0;
  14. }
  15. .repository .repo-header .fork-flag {
  16. font-size: 12px;
  17. margin-top: 2px;
  18. }
  19. .repository .repo-header .repo-buttons .svg {
  20. margin: 0 0.42857143em 0 -0.21428571em;
  21. }
  22. .repository .repo-header .button {
  23. margin-top: 2px;
  24. margin-bottom: 2px;
  25. }
  26. .repository .tabs .navbar {
  27. justify-content: initial;
  28. }
  29. .repository .navbar {
  30. display: flex;
  31. justify-content: space-between;
  32. }
  33. .repository .navbar .ui.label {
  34. margin-left: 7px;
  35. padding: 3px 5px;
  36. }
  37. .repository .owner.dropdown {
  38. min-width: 40% !important;
  39. }
  40. .repository .unicode-escaped .escaped-code-point[data-escaped]::before {
  41. visibility: visible;
  42. content: attr(data-escaped);
  43. font-family: var(--fonts-monospace);
  44. color: var(--color-red);
  45. }
  46. .repository .unicode-escaped .escaped-code-point .char {
  47. display: none;
  48. }
  49. .repository .broken-code-point {
  50. font-family: var(--fonts-monospace);
  51. color: var(--color-blue);
  52. }
  53. .repository .unicode-escaped .ambiguous-code-point {
  54. border: 1px var(--color-yellow) solid;
  55. }
  56. .repository .metas .menu {
  57. overflow-x: auto;
  58. max-height: 500px;
  59. }
  60. .repository .metas .ui.list.assignees .icon {
  61. line-height: 2em;
  62. }
  63. .repository .metas .ui.list.assignees .teamavatar {
  64. margin-top: 0.125rem;
  65. margin-left: 6.75px;
  66. margin-right: 8.75px;
  67. }
  68. .repository .metas .ui.list .dependency {
  69. padding: 0;
  70. white-space: nowrap;
  71. }
  72. .repository .metas .ui.list .title {
  73. max-width: 200px;
  74. overflow: hidden;
  75. text-overflow: ellipsis;
  76. }
  77. @media (max-width: 1200px) {
  78. .repository .metas .ui.list .title {
  79. max-width: 150px;
  80. }
  81. }
  82. @media (max-width: 1000px) {
  83. .repository .metas .ui.list .title {
  84. max-width: 100px;
  85. }
  86. }
  87. .repository .metas #deadlineForm input {
  88. width: 12.8rem;
  89. border-radius: 4px 0 0 4px;
  90. border-right: 0;
  91. white-space: nowrap;
  92. }
  93. .repository .header-wrapper {
  94. background-color: var(--color-navbar);
  95. }
  96. .repository .header-wrapper .ui.tabs.divider {
  97. border-bottom: 0;
  98. }
  99. .repository .header-wrapper .ui.tabular .svg {
  100. margin-right: 5px;
  101. }
  102. .repository .filter.menu.labels .label-filter .menu .info {
  103. display: inline-block;
  104. padding: 0.5rem 0.25rem;
  105. border-bottom: 1px solid var(--color-secondary);
  106. font-size: 12px;
  107. width: 100%;
  108. white-space: nowrap;
  109. text-align: center;
  110. }
  111. .repository .filter.menu.labels .label-filter .menu .info code {
  112. border: 1px solid var(--color-secondary);
  113. border-radius: 3px;
  114. padding: 1px 2px;
  115. font-size: 11px;
  116. }
  117. .repository .filter.menu .menu {
  118. max-height: 500px;
  119. overflow-x: auto;
  120. right: 0 !important;
  121. left: auto !important;
  122. }
  123. .repository .select-label .desc {
  124. padding-left: 23px;
  125. }
  126. .repository .ui.tabs.container {
  127. margin-top: 14px;
  128. margin-bottom: 0;
  129. }
  130. .repository .ui.tabs.container .ui.menu {
  131. border-bottom: 0;
  132. }
  133. .repository .ui.tabs.divider {
  134. margin-top: 0;
  135. margin-bottom: 20px;
  136. }
  137. .repository #clone-panel #repo-clone-url {
  138. width: 320px;
  139. }
  140. @media (min-width: 768px) and (max-width: 991px) {
  141. .repository #clone-panel #repo-clone-url {
  142. width: 200px;
  143. }
  144. }
  145. @media (max-width: 767px) {
  146. .repository #clone-panel #repo-clone-url {
  147. width: 200px;
  148. }
  149. }
  150. .repository #clone-panel #repo-clone-https,
  151. .repository #clone-panel #repo-clone-ssh {
  152. border-right: none;
  153. }
  154. .repository #clone-panel #more-btn {
  155. border-left: none;
  156. }
  157. .repository #clone-panel button:first-of-type {
  158. border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
  159. }
  160. .repository #clone-panel button:last-of-type {
  161. border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
  162. }
  163. .repository #clone-panel .dropdown .menu {
  164. right: 0 !important;
  165. left: auto !important;
  166. }
  167. .repository.file.list .repo-description {
  168. display: flex;
  169. justify-content: space-between;
  170. align-items: center;
  171. }
  172. .repository.file.list #repo-desc {
  173. font-size: 1.2em;
  174. }
  175. .repository.file.list .repo-path {
  176. word-break: break-word;
  177. }
  178. .repository.file.list .repo-path .section,
  179. .repository.file.list .repo-path .divider {
  180. display: inline;
  181. }
  182. .repository.file.list #repo-files-table {
  183. table-layout: fixed;
  184. }
  185. .repository.file.list #repo-files-table thead th {
  186. padding-top: 8px;
  187. padding-bottom: 5px;
  188. font-weight: normal;
  189. }
  190. .repository.file.list #repo-files-table thead .ui.avatar {
  191. margin-bottom: 5px;
  192. }
  193. .repository.file.list #repo-files-table tbody .svg {
  194. margin-left: 3px;
  195. margin-right: 5px;
  196. }
  197. .repository.file.list #repo-files-table tbody .svg.octicon-reply {
  198. margin-right: 10px;
  199. }
  200. .repository.file.list #repo-files-table tbody .svg.octicon-file-directory-fill,
  201. .repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
  202. color: var(--color-primary);
  203. }
  204. .repository.file.list #repo-files-table tbody .svg.octicon-file,
  205. .repository.file.list #repo-files-table tbody .svg.octicon-file-symlink-file {
  206. color: var(--color-secondary-dark-7);
  207. }
  208. .repository.file.list #repo-files-table td {
  209. padding-top: 0;
  210. padding-bottom: 0;
  211. overflow: initial;
  212. }
  213. .repository.file.list #repo-files-table td.name {
  214. width: 33%;
  215. max-width: calc(100vw - 140px);
  216. }
  217. @media (min-width: 1201px) {
  218. .repository.file.list #repo-files-table td.name {
  219. max-width: 150px;
  220. }
  221. }
  222. @media (min-width: 992px) and (max-width: 1200px) {
  223. .repository.file.list #repo-files-table td.name {
  224. max-width: 200px;
  225. }
  226. }
  227. @media (min-width: 768px) and (max-width: 991px) {
  228. .repository.file.list #repo-files-table td.name {
  229. max-width: 300px;
  230. }
  231. }
  232. .repository.file.list #repo-files-table td.message {
  233. color: var(--color-text-light-1);
  234. width: 66%;
  235. }
  236. @media (min-width: 1201px) {
  237. .repository.file.list #repo-files-table td.message {
  238. max-width: 400px;
  239. }
  240. }
  241. @media (min-width: 992px) and (max-width: 1200px) {
  242. .repository.file.list #repo-files-table td.message {
  243. max-width: 350px;
  244. }
  245. }
  246. @media (min-width: 768px) and (max-width: 991px) {
  247. .repository.file.list #repo-files-table td.message {
  248. max-width: 250px;
  249. }
  250. }
  251. .repository.file.list #repo-files-table td.age {
  252. width: 120px;
  253. color: var(--color-text-light-1);
  254. }
  255. .repository.file.list #repo-files-table td .truncate {
  256. display: inline-block;
  257. overflow: hidden;
  258. text-overflow: ellipsis;
  259. white-space: nowrap;
  260. width: 100%;
  261. padding-top: 8px;
  262. padding-bottom: 8px;
  263. }
  264. .repository.file.list #repo-files-table td a {
  265. padding-top: 8px;
  266. padding-bottom: 8px;
  267. }
  268. .repository.file.list #repo-files-table td .at {
  269. margin-left: 3px;
  270. margin-right: 3px;
  271. }
  272. .repository.file.list #repo-files-table td > * {
  273. vertical-align: middle;
  274. }
  275. .repository.file.list #repo-files-table td.message .isSigned {
  276. cursor: default;
  277. }
  278. .repository.file.list #repo-files-table tr:last-of-type td:first-child {
  279. border-bottom-left-radius: var(--border-radius);
  280. }
  281. .repository.file.list #repo-files-table tr:last-of-type td:last-child {
  282. border-bottom-right-radius: var(--border-radius);
  283. }
  284. .repository.file.list #repo-files-table tr:hover {
  285. background-color: var(--color-hover);
  286. }
  287. .repository.file.list #repo-files-table tr.has-parent a {
  288. display: inline-block;
  289. padding-top: 8px;
  290. padding-bottom: 8px;
  291. width: calc(100% - 1.25rem);
  292. }
  293. .repository.file.list .non-diff-file-content .header .icon {
  294. font-size: 1em;
  295. }
  296. .repository.file.list .non-diff-file-content .header .small.icon {
  297. font-size: 0.75em;
  298. }
  299. .repository.file.list .non-diff-file-content .header .tiny.icon {
  300. font-size: 0.5em;
  301. }
  302. .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon {
  303. line-height: 1;
  304. padding: 10px 8px;
  305. vertical-align: middle;
  306. color: var(--color-text);
  307. }
  308. .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon:hover {
  309. color: var(--color-primary);
  310. }
  311. .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon-danger:hover {
  312. color: var(--color-red);
  313. }
  314. .repository.file.list .non-diff-file-content .header .file-actions .btn-octicon.disabled {
  315. color: inherit;
  316. opacity: var(--opacity-disabled);
  317. cursor: default;
  318. }
  319. .repository.file.list .non-diff-file-content .view-raw {
  320. padding: 5px;
  321. }
  322. .repository.file.list .non-diff-file-content .view-raw > * {
  323. max-width: 100%;
  324. border: 1px solid var(--color-secondary);
  325. }
  326. .repository.file.list .non-diff-file-content .view-raw img {
  327. margin: 1rem 0;
  328. border-radius: 0;
  329. object-fit: contain;
  330. }
  331. .repository.file.list .non-diff-file-content .view-raw img[src$=".svg" i] {
  332. max-height: 600px !important;
  333. max-width: 600px !important;
  334. }
  335. .repository.file.list .non-diff-file-content .plain-text {
  336. padding: 1em 2em;
  337. }
  338. .repository.file.list .non-diff-file-content .plain-text pre {
  339. word-break: break-word;
  340. white-space: pre-wrap;
  341. }
  342. .repository.file.list .non-diff-file-content .csv {
  343. overflow-x: auto;
  344. padding: 0 !important;
  345. }
  346. .repository.file.list .non-diff-file-content pre {
  347. overflow: auto;
  348. }
  349. .repository.file.list .non-diff-file-content .asciicast {
  350. padding: 5px !important;
  351. }
  352. .repository.file.list .sidebar {
  353. padding-left: 0;
  354. }
  355. .repository.file.list .sidebar .svg {
  356. width: 16px;
  357. }
  358. .repository.file.editor .treepath {
  359. width: 100%;
  360. }
  361. .repository.file.editor .treepath input {
  362. vertical-align: middle;
  363. box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
  364. width: inherit;
  365. padding: 7px 8px;
  366. margin-right: 5px;
  367. }
  368. .repository.file.editor .tabular.menu .svg {
  369. margin-right: 5px;
  370. }
  371. .repository.file.editor .commit-form-wrapper {
  372. padding-left: 64px;
  373. }
  374. .repository.file.editor .commit-form-wrapper .commit-avatar {
  375. float: left;
  376. margin-left: -64px;
  377. width: 3em;
  378. height: auto;
  379. }
  380. .repository.file.editor .commit-form-wrapper .commit-form {
  381. position: relative;
  382. padding: 15px;
  383. margin-bottom: 10px;
  384. border: 1px solid var(--color-secondary);
  385. background: var(--color-box-body);
  386. border-radius: 3px;
  387. }
  388. .repository.file.editor .commit-form-wrapper .commit-form::before,
  389. .repository.file.editor .commit-form-wrapper .commit-form::after {
  390. right: 100%;
  391. top: 20px;
  392. border: solid transparent;
  393. content: " ";
  394. height: 0;
  395. width: 0;
  396. position: absolute;
  397. pointer-events: none;
  398. }
  399. .repository.file.editor .commit-form-wrapper .commit-form::before {
  400. border-right-color: var(--color-secondary);
  401. border-width: 9px;
  402. margin-top: -9px;
  403. }
  404. .repository.file.editor .commit-form-wrapper .commit-form::after {
  405. border-right-color: var(--color-box-body);
  406. border-width: 8px;
  407. margin-top: -8px;
  408. }
  409. .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .branch-name {
  410. display: inline-block;
  411. padding: 2px 4px;
  412. font: 12px var(--fonts-monospace);
  413. color: var(--color-text);
  414. background: var(--color-secondary);
  415. border-radius: 3px;
  416. margin: 0 2px;
  417. }
  418. .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .new-branch-name-input {
  419. position: relative;
  420. margin-left: 25px;
  421. }
  422. .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .new-branch-name-input input {
  423. width: 240px !important;
  424. padding-left: 26px !important;
  425. }
  426. .repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .octicon-git-branch {
  427. position: absolute;
  428. top: 9px;
  429. left: 10px;
  430. color: var(--color-grey);
  431. }
  432. .repository.options #interval {
  433. width: 100px !important;
  434. min-width: 100px;
  435. }
  436. .repository.options .danger .item {
  437. padding: 20px 15px;
  438. }
  439. .repository.options .danger .ui.divider {
  440. margin: 0;
  441. }
  442. .repository .comment textarea {
  443. max-height: none !important;
  444. }
  445. .repository.new.issue .comment.form .comment .avatar {
  446. width: 3em;
  447. }
  448. .repository.new.issue .comment.form .content {
  449. margin-left: 4em;
  450. }
  451. .repository.new.issue .comment.form .content::before,
  452. .repository.new.issue .comment.form .content::after {
  453. right: 100%;
  454. top: 20px;
  455. border: solid transparent;
  456. content: " ";
  457. height: 0;
  458. width: 0;
  459. position: absolute;
  460. pointer-events: none;
  461. }
  462. .repository.new.issue .comment.form .content::before {
  463. border-right-color: var(--color-secondary);
  464. border-width: 9px;
  465. margin-top: -9px;
  466. }
  467. .repository.new.issue .comment.form .content::after {
  468. border-right-color: var(--color-box-body);
  469. border-width: 8px;
  470. margin-top: -8px;
  471. }
  472. .repository.new.issue .comment.form .content .markup {
  473. font-size: 14px;
  474. }
  475. .repository.new.issue .comment.form .metas {
  476. min-width: 220px;
  477. }
  478. .repository.new.issue .comment.form .metas .filter.menu {
  479. max-height: 500px;
  480. overflow-x: auto;
  481. }
  482. .repository.view.issue .instruct-toggle {
  483. display: inline-block;
  484. }
  485. .repository.view.issue .title {
  486. padding-bottom: 0 !important;
  487. }
  488. .repository.view.issue .title .issue-title {
  489. margin-bottom: 0.5rem;
  490. }
  491. .repository.view.issue .title .issue-title.edit-active {
  492. display: flex;
  493. align-items: center;
  494. }
  495. .repository.view.issue .title .issue-title.edit-active h1 {
  496. display: flex;
  497. width: 100%;
  498. }
  499. @media (max-width: 767px) {
  500. .repository.view.issue .title .issue-title.edit-active {
  501. flex-direction: column;
  502. }
  503. .repository.view.issue .title .issue-title.edit-active h1 {
  504. margin-right: 0;
  505. margin-bottom: 1rem;
  506. padding-right: 0;
  507. }
  508. .repository.view.issue .title .issue-title.edit-active h1 .ui.input input {
  509. width: calc(100% - 2rem);
  510. }
  511. .repository.view.issue .title .issue-title.edit-active .edit-buttons {
  512. padding-bottom: 1rem;
  513. width: 100%;
  514. }
  515. .repository.view.issue .title .issue-title.edit-active .edit-buttons .button {
  516. width: 100%;
  517. margin-right: 0.5rem;
  518. }
  519. .repository.view.issue .title .issue-title.edit-active .edit-buttons .button:last-child {
  520. margin-right: 0;
  521. }
  522. }
  523. .repository.view.issue .title .issue-title h1 {
  524. font-weight: 300;
  525. font-size: 2.3rem;
  526. margin: 0;
  527. padding-right: 0.5rem;
  528. }
  529. .repository.view.issue .title .issue-title h1 .ui.input {
  530. font-size: 0.5em;
  531. width: 100%;
  532. }
  533. .repository.view.issue .title .issue-title h1 .ui.input input {
  534. font-size: 1.5em;
  535. padding: 6px 1rem;
  536. }
  537. .repository.view.issue .title .issue-title .edit-button {
  538. float: right;
  539. padding-left: 1rem;
  540. }
  541. .repository.view.issue .title .issue-title .edit-buttons {
  542. display: flex;
  543. }
  544. .repository.view.issue .title .issue-title .index {
  545. color: var(--color-text-light-2);
  546. }
  547. .repository.view.issue .title .issue-title .label {
  548. margin-right: 10px;
  549. }
  550. .repository.view.issue .title .issue-title .edit-zone {
  551. margin-top: 10px;
  552. }
  553. .repository.view.issue .pull-desc code {
  554. color: var(--color-primary);
  555. }
  556. .repository.view.issue .pull-desc a[data-clipboard-text] {
  557. cursor: pointer;
  558. }
  559. .repository.view.issue .pull-desc a[data-clipboard-text] svg {
  560. vertical-align: middle;
  561. position: relative;
  562. top: -2px;
  563. right: 1px;
  564. }
  565. .repository.view.issue .pull.tabular.menu {
  566. margin-bottom: 1rem;
  567. }
  568. .repository.view.issue .pull.tabular.menu .svg {
  569. margin-right: 5px;
  570. }
  571. .repository.view.issue .pull .merge.box .avatar {
  572. margin-left: 10px;
  573. margin-top: 10px;
  574. }
  575. .repository.view.issue .pull .merge.box .branch-update.grid .row {
  576. padding-bottom: 1rem;
  577. }
  578. .repository.view.issue .pull .merge.box .branch-update.grid .row .icon {
  579. margin-top: 1.1rem;
  580. }
  581. .repository.view.issue .pull .review-item {
  582. display: flex;
  583. justify-content: space-between;
  584. align-items: center;
  585. }
  586. .repository.view.issue .pull .review-item .review-item-left,
  587. .repository.view.issue .pull .review-item .review-item-right {
  588. display: flex;
  589. align-items: center;
  590. }
  591. .repository.view.issue .pull .review-item .text {
  592. margin: 0.3em 0 0.5em 0.5em;
  593. }
  594. .repository.view.issue .pull .review-item .type-icon {
  595. align-self: flex-start;
  596. margin-right: 1em;
  597. }
  598. .repository.view.issue .pull .review-item .type-icon i {
  599. line-height: 1.8em;
  600. }
  601. .repository.view.issue .pull .review-item .divider {
  602. margin: 0.5rem 0;
  603. }
  604. .repository.view.issue .pull .review-item .review-content {
  605. padding: 1em 0 1em 3.8em;
  606. }
  607. .repository.view.issue .comment-list:not(.prevent-before-timeline)::before {
  608. display: block;
  609. content: "";
  610. position: absolute;
  611. margin-top: 12px;
  612. margin-bottom: 14px;
  613. top: 0;
  614. bottom: 0;
  615. left: 96px;
  616. width: 2px;
  617. background-color: var(--color-timeline);
  618. z-index: -1;
  619. }
  620. .repository.view.issue .comment-list .timeline {
  621. position: relative;
  622. display: block;
  623. margin-left: 40px;
  624. padding-left: 16px;
  625. }
  626. .repository.view.issue .comment-list .timeline::before { /* ciara */
  627. display: block;
  628. content: "";
  629. position: absolute;
  630. margin-top: 12px;
  631. margin-bottom: 14px;
  632. top: 0;
  633. bottom: 0;
  634. left: 30px;
  635. width: 2px;
  636. background-color: var(--color-timeline);
  637. z-index: -1;
  638. }
  639. .repository.view.issue .comment-list .timeline-item,
  640. .repository.view.issue .comment-list .timeline-item-group {
  641. padding: 12px 0;
  642. }
  643. .repository.view.issue .comment-list .timeline-item-group .timeline-item {
  644. padding-top: 8px;
  645. padding-bottom: 8px;
  646. }
  647. .repository.view.issue .comment-list .timeline-item {
  648. margin-left: 16px;
  649. position: relative;
  650. }
  651. .repository.view.issue .comment-list .timeline-item .timeline-avatar {
  652. position: absolute;
  653. left: -68px;
  654. }
  655. .repository.view.issue .comment-list .timeline-item .timeline-avatar img {
  656. width: 40px !important;
  657. height: 40px !important;
  658. }
  659. /* Don't show the mobile oriented avatar ".inline-timeline-avatar" on desktop. Desktop uses the avatar with class ".timeline-avatar" */
  660. .repository.view.issue .comment-list .timeline-item .inline-timeline-avatar {
  661. display: none;
  662. }
  663. .repository.view.issue .comment-list .timeline-item img.avatar,
  664. .repository.view.issue .comment-list .timeline-item .avatar img {
  665. width: 20px;
  666. height: 20px;
  667. vertical-align: middle;
  668. }
  669. .repository.view.issue .comment-list .timeline-item:first-child:not(.commit) {
  670. padding-top: 0 !important;
  671. }
  672. .repository.view.issue .comment-list .timeline-item:last-child:not(.commit) {
  673. padding-bottom: 0 !important;
  674. }
  675. .repository.view.issue .comment-list .timeline-item .badge.badge-commit {
  676. border-color: transparent;
  677. background: radial-gradient(var(--color-body) 40%, transparent 40%) no-repeat;
  678. }
  679. .repository.view.issue .comment-list .timeline-item .badge {
  680. width: 34px;
  681. height: 34px;
  682. background-color: var(--color-timeline);
  683. border-radius: 50%;
  684. display: flex;
  685. float: left;
  686. margin-left: -33px;
  687. margin-right: 8px;
  688. color: var(--color-text);
  689. align-items: center;
  690. justify-content: center;
  691. }
  692. .repository.view.issue .comment-list .timeline-item .badge .svg {
  693. width: 22px;
  694. height: 22px;
  695. padding: 3px;
  696. }
  697. .repository.view.issue .comment-list .timeline-item .badge .svg.octicon-comment {
  698. margin-top: 2px;
  699. }
  700. .repository.view.issue .comment-list .timeline-item.comment > .content {
  701. margin-left: -16px;
  702. }
  703. .repository.view.issue .comment-list .timeline-item.event > .text {
  704. line-height: 32px;
  705. vertical-align: middle;
  706. }
  707. .repository.view.issue .comment-list .timeline-item.commits-list {
  708. padding-left: 15px;
  709. padding-top: 0;
  710. }
  711. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit {
  712. line-height: 34px; /* this must be same as .badge height, to avoid overflow */
  713. clear: both; /* reset the "float right shabox", in the future, use flexbox instead */
  714. }
  715. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit > img.avatar,
  716. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit > .avatar img {
  717. position: relative;
  718. top: -2px;
  719. }
  720. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label {
  721. margin: 0;
  722. border: 1px solid var(--color-light-border);
  723. }
  724. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isWarning {
  725. border: 1px solid var(--color-red-badge);
  726. background: var(--color-red-badge-bg);
  727. }
  728. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isWarning .shortsha {
  729. display: inline-block;
  730. padding-top: 1px;
  731. }
  732. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isWarning:hover {
  733. background: var(--color-red-badge-hover-bg) !important;
  734. }
  735. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified {
  736. border: 1px solid var(--color-green-badge);
  737. background: var(--color-green-badge-bg);
  738. }
  739. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified .shortsha {
  740. display: inline-block;
  741. padding-top: 1px;
  742. }
  743. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerified:hover {
  744. background: var(--color-green-badge-hover-bg) !important;
  745. }
  746. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUntrusted {
  747. border: 1px solid var(--color-yellow-badge);
  748. background: var(--color-yellow-badge-bg);
  749. }
  750. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUntrusted .shortsha {
  751. display: inline-block;
  752. padding-top: 1px;
  753. }
  754. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUntrusted:hover {
  755. background: var(--color-yellow-badge-hover-bg) !important;
  756. }
  757. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUnmatched {
  758. border: 1px solid var(--color-orange-badge);
  759. background: var(--color-orange-badge-bg);
  760. }
  761. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUnmatched .shortsha {
  762. display: inline-block;
  763. padding-top: 1px;
  764. }
  765. .repository.view.issue .comment-list .timeline-item.commits-list .singular-commit .shabox .sha.label.isSigned.isVerifiedUnmatched:hover {
  766. background: var(--color-orange-badge-hover-bg) !important;
  767. }
  768. .repository.view.issue .comment-list .timeline-item.event > .commit-status-link {
  769. float: right;
  770. margin-right: 8px;
  771. margin-top: 4px;
  772. }
  773. .repository.view.issue .comment-list .timeline-item .comparebox {
  774. line-height: 32px;
  775. vertical-align: middle;
  776. }
  777. .repository.view.issue .comment-list .timeline-item .comparebox .compare.label {
  778. font-size: 1rem;
  779. margin: 0;
  780. border: 1px solid var(--color-light-border);
  781. }
  782. @media (max-width: 767px) {
  783. .repository.view.issue .comment-list .timeline-item .ui.segments {
  784. margin-left: -2rem;
  785. }
  786. }
  787. .repository.view.issue .comment-list .ui.comments {
  788. max-width: 100%;
  789. }
  790. .repository.view.issue .comment-list .ui.comments .avatar {
  791. margin-right: 0.5rem;
  792. }
  793. .repository.view.issue .comment-list .comment > .content > div:first-child {
  794. border-top-left-radius: 4px;
  795. border-top-right-radius: 4px;
  796. }
  797. .repository.view.issue .comment-list .comment > .content > div:last-child {
  798. border-bottom-left-radius: 4px;
  799. border-bottom-right-radius: 4px;
  800. }
  801. .repository.view.issue .comment-list .comment .comment-container {
  802. border: 1px solid var(--color-secondary);
  803. border-radius: var(--border-radius);
  804. }
  805. @media (max-width: 767px) {
  806. .repository.view.issue .comment-list .comment .content .form .button {
  807. width: 100%;
  808. margin: 0;
  809. }
  810. .repository.view.issue .comment-list .comment .content .form .button:not(:last-child) {
  811. margin-bottom: 1rem;
  812. }
  813. }
  814. .repository.view.issue .comment-list .comment .merge-section {
  815. background-color: var(--color-box-body);
  816. }
  817. .repository.view.issue .comment-list .comment .merge-section .item-section {
  818. display: flex;
  819. align-items: center;
  820. justify-content: space-between;
  821. padding: 0;
  822. margin-top: -0.25rem;
  823. margin-bottom: -0.25rem;
  824. }
  825. @media (max-width: 767px) {
  826. .repository.view.issue .comment-list .comment .merge-section .item-section {
  827. align-items: flex-start;
  828. flex-direction: column;
  829. }
  830. }
  831. .repository.view.issue .comment-list .comment .merge-section .divider {
  832. margin-left: -1rem;
  833. margin-right: -1rem;
  834. }
  835. .repository.view.issue .comment-list .comment .merge-section.no-header::before,
  836. .repository.view.issue .comment-list .comment .merge-section.no-header::after {
  837. right: 100%;
  838. top: 20px;
  839. border: solid transparent;
  840. content: " ";
  841. height: 0;
  842. width: 0;
  843. position: absolute;
  844. pointer-events: none;
  845. }
  846. .repository.view.issue .comment-list .comment .merge-section.no-header::before {
  847. border-right-color: var(--color-secondary);
  848. border-width: 9px;
  849. margin-top: -9px;
  850. }
  851. .repository.view.issue .comment-list .comment .merge-section.no-header::after {
  852. border-right-color: var(--color-box-body);
  853. border-width: 8px;
  854. margin-top: -8px;
  855. }
  856. .repository.view.issue .comment-list .comment .markup {
  857. font-size: 14px;
  858. }
  859. .repository.view.issue .comment-list .comment .no-content {
  860. color: var(--color-text-light-2);
  861. font-style: italic;
  862. }
  863. .repository.view.issue .comment-list .comment .ui.form .field:first-child {
  864. clear: none;
  865. }
  866. .repository.view.issue .comment-list .comment .ui.form .field.footer {
  867. overflow: hidden;
  868. }
  869. .repository.view.issue .comment-list .comment .ui.form .field .tab.markup {
  870. min-height: 5rem;
  871. }
  872. .repository.view.issue .comment-list .comment .ui.form textarea {
  873. height: 200px;
  874. font-family: var(--fonts-monospace);
  875. }
  876. .repository.view.issue .comment-list .comment .edit.buttons {
  877. margin-top: 10px;
  878. }
  879. .repository.view.issue .comment-list .code-comment {
  880. border: 1px solid transparent;
  881. padding: 0.25rem 0.5rem;
  882. margin: 0;
  883. }
  884. .repository.view.issue .comment-list .code-comment .content {
  885. border: none !important;
  886. }
  887. .repository.view.issue .comment-list .code-comment .comment-header {
  888. background: transparent;
  889. border-bottom: 0 !important;
  890. padding: 0 !important;
  891. }
  892. .repository.view.issue .comment-list .code-comment .comment-header::after,
  893. .repository.view.issue .comment-list .code-comment .comment-header::before {
  894. display: none;
  895. }
  896. .repository.view.issue .comment-list .code-comment .comment-content {
  897. margin-left: 36px;
  898. }
  899. .repository.view.issue .comment-list .code-comment img.avatar,
  900. .repository.view.issue .comment-list .comment img.avatar {
  901. width: 28px;
  902. height: 28px;
  903. }
  904. .repository.view.issue .comment-list .comment-code-cloud .segment.reactions {
  905. margin-top: 16px !important;
  906. margin-bottom: -8px !important;
  907. border-top: none !important;
  908. }
  909. .repository.view.issue .comment-list .comment-code-cloud .segment.reactions .ui.label {
  910. border: 1px solid;
  911. padding: 6px 10px !important;
  912. margin: 0 2px;
  913. border-radius: var(--border-radius);
  914. border-color: var(--color-secondary-dark-1) !important;
  915. }
  916. .repository.view.issue .comment-list .comment-code-cloud .segment.reactions .ui.label.basic.primary {
  917. background-color: var(--color-reaction-active-bg) !important;
  918. border-color: var(--color-primary-alpha-80) !important;
  919. }
  920. .repository.view.issue .comment-list .comment-code-cloud button.comment-form-reply {
  921. margin: 0;
  922. }
  923. .repository.view.issue .comment-list .event {
  924. padding-left: 15px;
  925. }
  926. .repository.view.issue .comment-list .event .detail {
  927. margin-top: 4px;
  928. margin-left: 14px;
  929. }
  930. .repository.view.issue .comment-list .event .detail .svg {
  931. margin-right: 2px;
  932. }
  933. .repository.view.issue .comment-list .event .segments {
  934. box-shadow: none;
  935. }
  936. @media (max-width: 767px) {
  937. .repository.view.issue .comment-list {
  938. padding: 1rem 0 !important; /* Important is required here to override existing fomantic styles. */
  939. }
  940. }
  941. .repository.view.issue .ui.depending .item.is-closed .title {
  942. text-decoration: line-through;
  943. }
  944. .repository .comment.form .ui.comments {
  945. margin-top: -12px;
  946. max-width: 100%;
  947. }
  948. .repository .comment.form .content .field:first-child {
  949. clear: none;
  950. }
  951. .repository .comment.form .content .form::before,
  952. .repository .comment.form .content .form::after {
  953. right: 100%;
  954. top: 20px;
  955. border: solid transparent;
  956. content: " ";
  957. height: 0;
  958. width: 0;
  959. position: absolute;
  960. pointer-events: none;
  961. }
  962. .repository .comment.form .content .form::before {
  963. border-right-color: var(--color-secondary);
  964. border-width: 9px;
  965. margin-top: -9px;
  966. }
  967. .repository .comment.form .content .form::after {
  968. border-right-color: var(--color-box-body);
  969. border-width: 8px;
  970. margin-top: -8px;
  971. }
  972. .repository .comment.form .content textarea {
  973. height: 200px;
  974. font-family: var(--fonts-monospace);
  975. }
  976. .repository .comment.form .content .CodeMirror-scroll {
  977. max-height: 85vh;
  978. }
  979. .repository .milestone.list {
  980. list-style: none;
  981. padding-top: 15px;
  982. }
  983. .repository .milestone.list > .item {
  984. padding-top: 10px;
  985. padding-bottom: 10px;
  986. border-bottom: 1px dashed var(--color-secondary);
  987. }
  988. .repository .milestone.list > .item progress {
  989. width: 200px;
  990. height: 16px;
  991. }
  992. .repository .milestone.list > .item .meta {
  993. color: var(--color-text-light-2);
  994. padding-top: 5px;
  995. }
  996. .repository .milestone.list > .item .meta .issue-stats .svg {
  997. padding-left: 5px;
  998. }
  999. .repository .milestone.list > .item .meta .overdue {
  1000. color: var(--color-red);
  1001. }
  1002. .repository .milestone.list > .item .operate {
  1003. margin-top: -15px;
  1004. }
  1005. .repository .milestone.list > .item .operate > a {
  1006. font-size: 15px;
  1007. padding-top: 5px;
  1008. padding-right: 10px;
  1009. color: var(--color-text-light-2);
  1010. }
  1011. .repository .milestone.list > .item .operate > a:hover {
  1012. color: var(--color-text);
  1013. }
  1014. .repository .milestone.list > .item .content {
  1015. padding-top: 10px;
  1016. }
  1017. .repository.new.milestone textarea {
  1018. height: 200px;
  1019. }
  1020. .repository.compare.pull .show-form-container {
  1021. text-align: left;
  1022. }
  1023. .repository.compare.pull .choose.branch .svg {
  1024. margin-right: 10px;
  1025. }
  1026. .repository.compare.pull .comment.form .content::before,
  1027. .repository.compare.pull .comment.form .content::after {
  1028. right: 100%;
  1029. top: 20px;
  1030. border: solid transparent;
  1031. content: " ";
  1032. height: 0;
  1033. width: 0;
  1034. position: absolute;
  1035. pointer-events: none;
  1036. }
  1037. .repository.compare.pull .comment.form .content::before {
  1038. border-right-color: var(--color-secondary);
  1039. border-width: 9px;
  1040. margin-top: -9px;
  1041. }
  1042. .repository.compare.pull .comment.form .content::after {
  1043. border-right-color: var(--color-box-body);
  1044. border-width: 8px;
  1045. margin-top: -8px;
  1046. }
  1047. .repository.compare.pull .pullrequest-form {
  1048. margin-bottom: 1.5rem;
  1049. }
  1050. .repository.compare.pull .markup {
  1051. font-size: 14px;
  1052. }
  1053. .repository.compare.pull .title .issue-title {
  1054. margin-bottom: 0.5rem;
  1055. }
  1056. .repository.compare.pull .title .issue-title .index {
  1057. color: var(--color-text-light-2);
  1058. }
  1059. .repository .filter.dropdown .menu {
  1060. margin-top: 1px !important;
  1061. }
  1062. .repository.branches .commit-divergence .bar-group {
  1063. position: relative;
  1064. float: left;
  1065. padding-bottom: 6px;
  1066. width: 50%;
  1067. max-width: 90px;
  1068. }
  1069. .repository.branches .commit-divergence .bar-group:last-child {
  1070. border-left: 1px solid var(--color-secondary-dark-2);
  1071. }
  1072. .repository.branches .commit-divergence .count {
  1073. margin: 0 3px;
  1074. }
  1075. .repository.branches .commit-divergence .count.count-ahead {
  1076. text-align: left;
  1077. }
  1078. .repository.branches .commit-divergence .count.count-behind {
  1079. text-align: right;
  1080. }
  1081. .repository.branches .commit-divergence .bar {
  1082. height: 4px;
  1083. position: absolute;
  1084. background-color: var(--color-secondary-dark-2);
  1085. }
  1086. .repository.branches .commit-divergence .bar.bar-behind {
  1087. right: 0;
  1088. }
  1089. .repository.branches .commit-divergence .bar.bar-ahead {
  1090. left: 0;
  1091. }
  1092. .repository.commits .header .search input {
  1093. font-weight: normal;
  1094. padding: 5px 10px;
  1095. }
  1096. .repository #commits-table thead th:first-of-type {
  1097. padding-left: 15px;
  1098. }
  1099. .repository #commits-table thead .sha {
  1100. width: 200px;
  1101. }
  1102. .repository #commits-table thead .shatd {
  1103. text-align: center;
  1104. }
  1105. .repository #commits-table td.sha .sha.label {
  1106. margin: 0;
  1107. }
  1108. .repository #commits-table td.message {
  1109. text-overflow: unset;
  1110. }
  1111. .repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n) {
  1112. background-color: rgba(0, 0, 0, 0.02) !important;
  1113. }
  1114. .repository #commits-table td.sha .sha.label,
  1115. .repository #repo-files-table .sha.label,
  1116. .repository #rev-list .sha.label,
  1117. .repository .timeline-item.commits-list .singular-commit .sha.label {
  1118. border: 1px solid var(--color-light-border);
  1119. }
  1120. .repository #commits-table td.sha .sha.label .ui.signature.avatar,
  1121. .repository #repo-files-table .sha.label .ui.signature.avatar,
  1122. .repository #rev-list .sha.label .ui.signature.avatar,
  1123. .repository .timeline-item.commits-list .singular-commit .sha.label .ui.signature.avatar {
  1124. height: 16px;
  1125. margin-bottom: 0;
  1126. width: 16px;
  1127. }
  1128. .repository #commits-table td.sha .sha.label .detail.icon,
  1129. .repository #repo-files-table .sha.label .detail.icon,
  1130. .repository #rev-list .sha.label .detail.icon,
  1131. .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon {
  1132. background: var(--color-light);
  1133. margin: -6px -10px -4px 0;
  1134. padding: 5px 4px 5px 6px;
  1135. border-left: 1px solid var(--color-light-border);
  1136. border-top: 0;
  1137. border-right: 0;
  1138. border-bottom: 0;
  1139. border-top-left-radius: 0;
  1140. border-bottom-left-radius: 0;
  1141. }
  1142. .repository #commits-table td.sha .sha.label .detail.icon img,
  1143. .repository #repo-files-table .sha.label .detail.icon img,
  1144. .repository #rev-list .sha.label .detail.icon img,
  1145. .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon img {
  1146. margin-right: 0;
  1147. }
  1148. .repository #commits-table td.sha .sha.label .detail.icon .svg,
  1149. .repository #repo-files-table .sha.label .detail.icon .svg,
  1150. .repository #rev-list .sha.label .detail.icon .svg,
  1151. .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon .svg {
  1152. margin: 0 0.25em 0 0;
  1153. }
  1154. .repository #commits-table td.sha .sha.label .detail.icon > div,
  1155. .repository #repo-files-table .sha.label .detail.icon > div,
  1156. .repository #rev-list .sha.label .detail.icon > div,
  1157. .repository .timeline-item.commits-list .singular-commit .sha.label .detail.icon > div {
  1158. display: flex;
  1159. align-items: center;
  1160. }
  1161. .repository #commits-table td.sha .sha.label.isSigned.isWarning,
  1162. .repository #repo-files-table .sha.label.isSigned.isWarning,
  1163. .repository #rev-list .sha.label.isSigned.isWarning,
  1164. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning {
  1165. border: 1px solid var(--color-red-badge);
  1166. background: var(--color-red-badge-bg);
  1167. }
  1168. .repository #commits-table td.sha .sha.label.isSigned.isWarning .shortsha,
  1169. .repository #repo-files-table .sha.label.isSigned.isWarning .shortsha,
  1170. .repository #rev-list .sha.label.isSigned.isWarning .shortsha,
  1171. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning .shortsha {
  1172. display: inline-block;
  1173. padding-top: 1px;
  1174. }
  1175. .repository #commits-table td.sha .sha.label.isSigned.isWarning .detail.icon,
  1176. .repository #repo-files-table .sha.label.isSigned.isWarning .detail.icon,
  1177. .repository #rev-list .sha.label.isSigned.isWarning .detail.icon,
  1178. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning .detail.icon {
  1179. border-left: 1px solid var(--color-red-badge);
  1180. color: var(--color-red-badge);
  1181. }
  1182. .repository #commits-table td.sha .sha.label.isSigned.isWarning:hover,
  1183. .repository #repo-files-table .sha.label.isSigned.isWarning:hover,
  1184. .repository #rev-list .sha.label.isSigned.isWarning:hover,
  1185. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isWarning:hover {
  1186. background: var(--color-red-badge-hover-bg) !important;
  1187. }
  1188. .repository #commits-table td.sha .sha.label.isSigned.isVerified,
  1189. .repository #repo-files-table .sha.label.isSigned.isVerified,
  1190. .repository #rev-list .sha.label.isSigned.isVerified,
  1191. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified {
  1192. border: 1px solid var(--color-green-badge);
  1193. background: var(--color-green-badge-bg);
  1194. }
  1195. .repository #commits-table td.sha .sha.label.isSigned.isVerified .shortsha,
  1196. .repository #repo-files-table .sha.label.isSigned.isVerified .shortsha,
  1197. .repository #rev-list .sha.label.isSigned.isVerified .shortsha,
  1198. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified .shortsha {
  1199. display: inline-block;
  1200. padding-top: 1px;
  1201. }
  1202. .repository #commits-table td.sha .sha.label.isSigned.isVerified .detail.icon,
  1203. .repository #repo-files-table .sha.label.isSigned.isVerified .detail.icon,
  1204. .repository #rev-list .sha.label.isSigned.isVerified .detail.icon,
  1205. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified .detail.icon {
  1206. border-left: 1px solid var(--color-green-badge);
  1207. color: var(--color-green-badge);
  1208. }
  1209. .repository #commits-table td.sha .sha.label.isSigned.isVerified:hover,
  1210. .repository #repo-files-table .sha.label.isSigned.isVerified:hover,
  1211. .repository #rev-list .sha.label.isSigned.isVerified:hover,
  1212. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerified:hover {
  1213. background: var(--color-green-badge-hover-bg) !important;
  1214. }
  1215. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted,
  1216. .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted,
  1217. .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted,
  1218. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted {
  1219. border: 1px solid var(--color-yellow-badge);
  1220. background: var(--color-yellow-badge-bg);
  1221. }
  1222. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted .shortsha,
  1223. .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted .shortsha,
  1224. .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted .shortsha,
  1225. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted .shortsha {
  1226. display: inline-block;
  1227. padding-top: 1px;
  1228. }
  1229. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted .detail.icon,
  1230. .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted .detail.icon,
  1231. .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted .detail.icon,
  1232. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted .detail.icon {
  1233. border-left: 1px solid var(--color-yellow-badge);
  1234. color: var(--color-yellow-badge);
  1235. }
  1236. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUntrusted:hover,
  1237. .repository #repo-files-table .sha.label.isSigned.isVerifiedUntrusted:hover,
  1238. .repository #rev-list .sha.label.isSigned.isVerifiedUntrusted:hover,
  1239. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUntrusted:hover {
  1240. background: var(--color-yellow-badge-hover-bg) !important;
  1241. }
  1242. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched,
  1243. .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched,
  1244. .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched,
  1245. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched {
  1246. border: 1px solid var(--color-orange-badge);
  1247. background: var(--color-orange-badge-bg);
  1248. }
  1249. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched .shortsha,
  1250. .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched .shortsha,
  1251. .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched .shortsha,
  1252. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched .shortsha {
  1253. display: inline-block;
  1254. padding-top: 1px;
  1255. }
  1256. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched .detail.icon,
  1257. .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched .detail.icon,
  1258. .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched .detail.icon,
  1259. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched .detail.icon {
  1260. border-left: 1px solid var(--color-orange-badge);
  1261. color: var(--color-orange-badge);
  1262. }
  1263. .repository #commits-table td.sha .sha.label.isSigned.isVerifiedUnmatched:hover,
  1264. .repository #repo-files-table .sha.label.isSigned.isVerifiedUnmatched:hover,
  1265. .repository #rev-list .sha.label.isSigned.isVerifiedUnmatched:hover,
  1266. .repository .timeline-item.commits-list .singular-commit .sha.label.isSigned.isVerifiedUnmatched:hover {
  1267. background: var(--color-orange-badge-hover-bg) !important;
  1268. }
  1269. .repository .data-table {
  1270. width: 100%;
  1271. }
  1272. .repository .data-table tr {
  1273. border-top: 0;
  1274. }
  1275. .repository .data-table td,
  1276. .repository .data-table th {
  1277. padding: 5px !important;
  1278. overflow: hidden;
  1279. font-size: 12px;
  1280. text-align: left;
  1281. white-space: nowrap;
  1282. border: 1px solid var(--color-secondary);
  1283. }
  1284. .repository .data-table td {
  1285. white-space: pre-line;
  1286. }
  1287. .repository .data-table th {
  1288. font-weight: 600;
  1289. background: var(--color-box-header);
  1290. border-top: 0;
  1291. }
  1292. .repository .data-table td.added,
  1293. .repository .data-table th.added,
  1294. .repository .data-table tr.added {
  1295. background-color: var(--color-diff-added-row-bg) !important;
  1296. }
  1297. .repository .data-table td.removed,
  1298. .repository .data-table th.removed,
  1299. .repository .data-table tr.removed {
  1300. background-color: var(--color-diff-removed-row-bg) !important;
  1301. }
  1302. .repository .data-table td.moved,
  1303. .repository .data-table th.moved,
  1304. .repository .data-table tr.moved {
  1305. background-color: var(--color-diff-moved-row-bg) !important;
  1306. }
  1307. .repository .data-table tbody.section {
  1308. border-top: 2px solid var(--color-secondary);
  1309. }
  1310. .repository .data-table .line-num {
  1311. width: 1%;
  1312. min-width: 50px;
  1313. font-family: monospace;
  1314. line-height: 20px;
  1315. color: var(--color-secondary-dark-2);
  1316. white-space: nowrap;
  1317. vertical-align: top;
  1318. cursor: pointer;
  1319. text-align: right;
  1320. background: var(--color-body);
  1321. border: 0;
  1322. }
  1323. .repository .diff-detail-box {
  1324. padding: 7px 0;
  1325. background: var(--color-body);
  1326. line-height: 30px;
  1327. }
  1328. @media (max-width: 991px) {
  1329. .repository .diff-detail-box {
  1330. flex-direction: column;
  1331. align-items: flex-start;
  1332. }
  1333. }
  1334. @media (max-width: 480px) {
  1335. .repository .diff-detail-box {
  1336. flex-wrap: wrap;
  1337. }
  1338. }
  1339. .repository .diff-detail-box.sticky {
  1340. position: sticky;
  1341. top: 0;
  1342. z-index: 8;
  1343. border-bottom: 1px solid var(--color-secondary);
  1344. padding-left: 2px;
  1345. padding-right: 2px;
  1346. margin-left: -1px;
  1347. margin-right: -1px;
  1348. }
  1349. .repository .diff-detail-box > div::after {
  1350. clear: both;
  1351. content: "";
  1352. display: block;
  1353. }
  1354. .repository .diff-detail-box .diff-detail-stats strong {
  1355. margin-left: 0.25rem;
  1356. margin-right: 0.25rem;
  1357. }
  1358. /* Because the translations contain the <strong> we need to style with nth-of-type */
  1359. .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(1) {
  1360. color: var(--color-yellow);
  1361. }
  1362. .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(2) {
  1363. color: var(--color-green);
  1364. }
  1365. .repository .diff-detail-box .diff-detail-stats strong:nth-of-type(3) {
  1366. color: var(--color-red);
  1367. }
  1368. @media (max-width: 480px) {
  1369. .repository .diff-detail-box .diff-detail-stats {
  1370. font-size: 0;
  1371. line-height: 1.6rem;
  1372. }
  1373. .repository .diff-detail-box .diff-detail-stats strong {
  1374. font-size: 1rem;
  1375. }
  1376. }
  1377. .repository .diff-detail-box .diff-detail-actions > * {
  1378. margin-right: 0;
  1379. }
  1380. .repository .diff-detail-box .diff-detail-actions > * + * {
  1381. margin-left: 0.25rem;
  1382. }
  1383. @media (max-width: 480px) {
  1384. .repository .diff-detail-box .diff-detail-actions {
  1385. padding-top: 0.25rem;
  1386. }
  1387. .repository .diff-detail-box .diff-detail-actions .ui.button:not(.btn-submit) {
  1388. padding-left: 0.5rem;
  1389. padding-right: 0.5rem;
  1390. display: flex;
  1391. flex-wrap: wrap;
  1392. justify-content: center;
  1393. text-align: center;
  1394. }
  1395. }
  1396. .repository .diff-detail-box span.status {
  1397. display: inline-block;
  1398. width: 12px;
  1399. height: 12px;
  1400. margin-right: 8px;
  1401. vertical-align: middle;
  1402. }
  1403. .repository .diff-detail-box span.status.modify {
  1404. background-color: var(--color-yellow);
  1405. }
  1406. .repository .diff-detail-box span.status.add {
  1407. background-color: var(--color-green);
  1408. }
  1409. .repository .diff-detail-box span.status.del {
  1410. background-color: var(--color-red);
  1411. }
  1412. .repository .diff-detail-box span.status.rename {
  1413. background-color: var(--color-teal);
  1414. }
  1415. .repository .diff-detail-box .button {
  1416. padding: 8px 12px;
  1417. }
  1418. .repository .diff-box .header:not(.resolved-placeholder) {
  1419. display: flex;
  1420. align-items: center;
  1421. }
  1422. .repository .diff-box .header:not(.resolved-placeholder) .file {
  1423. min-width: 0;
  1424. }
  1425. .repository .diff-box .header:not(.resolved-placeholder) .file .file-link {
  1426. max-width: fit-content;
  1427. display: -webkit-box;
  1428. -webkit-box-orient: vertical;
  1429. -webkit-line-clamp: 2;
  1430. overflow: hidden;
  1431. }
  1432. .repository .diff-box .header:not(.resolved-placeholder) .button {
  1433. padding: 8px 12px;
  1434. flex: 0 0 auto;
  1435. margin-top: -8px;
  1436. margin-bottom: -8px;
  1437. margin-right: 0;
  1438. }
  1439. .repository .diff-box .resolved-placeholder {
  1440. display: flex;
  1441. align-items: center;
  1442. }
  1443. .repository .diff-box .resolved-placeholder .button {
  1444. padding: 8px 12px;
  1445. }
  1446. .repository .diff-file-box .header {
  1447. background-color: var(--color-box-header);
  1448. }
  1449. .repository .diff-file-box .file-body.file-code {
  1450. background: var(--color-code-bg);
  1451. }
  1452. .repository .diff-file-box .file-body.file-code .lines-num {
  1453. text-align: right;
  1454. color: var(--color-text-light);
  1455. width: 1%;
  1456. min-width: 50px;
  1457. }
  1458. .repository .diff-file-box .file-body.file-code .lines-num span.fold {
  1459. display: block;
  1460. text-align: center;
  1461. }
  1462. .repository .diff-file-box .code-diff {
  1463. font-size: 12px;
  1464. }
  1465. .repository .diff-file-box .code-diff td {
  1466. padding: 0 0 0 10px !important;
  1467. border-top: 0;
  1468. }
  1469. .repository .diff-file-box .code-diff .lines-num {
  1470. padding: 0 5px !important;
  1471. }
  1472. .repository .diff-file-box .code-diff .tag-code .lines-num,
  1473. .repository .diff-file-box .code-diff .tag-code td {
  1474. padding: 0 !important;
  1475. }
  1476. .repository .diff-file-box .code-diff tbody tr td.halfwidth {
  1477. width: 49%; /* halfwidth is used in split view - and in that case, 1% of each */
  1478. }
  1479. .repository .diff-file-box .code-diff tbody tr td.center {
  1480. text-align: center;
  1481. }
  1482. .repository .diff-file-box .code-diff tbody tr [data-line-num]::before {
  1483. content: attr(data-line-num);
  1484. text-align: right;
  1485. }
  1486. .repository .diff-file-box .code-diff tbody tr .lines-type-marker {
  1487. width: 10px;
  1488. min-width: 10px;
  1489. }
  1490. .repository .diff-file-box .code-diff tbody tr [data-type-marker]::before {
  1491. content: attr(data-type-marker);
  1492. text-align: right;
  1493. display: inline-block;
  1494. }
  1495. .repository .diff-file-box .code-diff-split .tag-code .lines-code code.code-inner {
  1496. padding-left: 10px !important;
  1497. }
  1498. .repository .diff-file-box .code-diff-split table,
  1499. .repository .diff-file-box .code-diff-split tbody {
  1500. width: 100%;
  1501. }
  1502. .repository .diff-file-box.file-content {
  1503. clear: right;
  1504. }
  1505. .repository .diff-file-box.file-content img {
  1506. max-width: 100%;
  1507. padding: 0;
  1508. border-radius: 0;
  1509. }
  1510. .repository .diff-file-box.file-content img.emoji {
  1511. padding: 0;
  1512. }
  1513. .repository .diff-file-box .ui.bottom.attached.table.segment {
  1514. padding-top: 5px;
  1515. padding-bottom: 5px;
  1516. }
  1517. .repository .diff-stats {
  1518. clear: both;
  1519. margin-bottom: 5px;
  1520. max-height: 400px;
  1521. overflow: auto;
  1522. padding-left: 0;
  1523. }
  1524. .repository .diff-stats li {
  1525. list-style: none;
  1526. padding-bottom: 4px;
  1527. margin-bottom: 4px;
  1528. padding-left: 6px;
  1529. }
  1530. .repository .diff-stats li + li {
  1531. border-top: 1px solid var(--color-secondary);
  1532. }
  1533. .repository .repo-search-result {
  1534. padding-top: 10px;
  1535. padding-bottom: 10px;
  1536. }
  1537. .repository .repo-search-result .lines-num a {
  1538. color: inherit;
  1539. }
  1540. .repository.quickstart .guide .item {
  1541. padding: 1em;
  1542. }
  1543. .repository.quickstart .guide .item small {
  1544. font-weight: normal;
  1545. }
  1546. .repository.quickstart .guide .clone.button:first-child {
  1547. border-radius: var(--border-radius) 0 0 var(--border-radius);
  1548. }
  1549. .repository.quickstart .guide .ui.action.small.input {
  1550. width: 100%;
  1551. }
  1552. .repository.quickstart .guide #repo-clone-url {
  1553. border-radius: 0;
  1554. padding: 5px 10px;
  1555. font-size: 1.2em;
  1556. line-height: 1.4;
  1557. }
  1558. .repository.release #release-list {
  1559. border-top: 1px solid var(--color-secondary);
  1560. margin-top: 20px;
  1561. padding-top: 15px;
  1562. padding-left: 0;
  1563. }
  1564. .repository.release #release-list .release-list-title {
  1565. font-size: 2rem;
  1566. font-weight: normal;
  1567. margin-top: -4px;
  1568. margin-bottom: 0;
  1569. }
  1570. .repository.release #release-list > li {
  1571. list-style: none;
  1572. }
  1573. .repository.release #release-list > li .meta,
  1574. .repository.release #release-list > li .detail {
  1575. padding-top: 30px;
  1576. padding-bottom: 40px;
  1577. }
  1578. .repository.release #release-list > li .meta {
  1579. text-align: right;
  1580. position: relative;
  1581. }
  1582. .repository.release #release-list > li .meta .label {
  1583. margin-right: 0;
  1584. }
  1585. .repository.release #release-list > li .meta .commit {
  1586. display: block;
  1587. margin-top: 10px;
  1588. }
  1589. .repository.release #release-list > li .meta .choose {
  1590. margin-top: 15px;
  1591. }
  1592. .repository.release #release-list > li .meta .choose .button {
  1593. margin-right: 0;
  1594. }
  1595. .repository.release #release-list > li .detail {
  1596. border-left: 2px solid var(--color-secondary);
  1597. }
  1598. .repository.release #release-list > li .detail .author img {
  1599. margin-bottom: 3px;
  1600. }
  1601. .repository.release #release-list > li .detail .download > a .svg {
  1602. margin-left: 5px;
  1603. margin-right: 5px;
  1604. }
  1605. .repository.release #release-list > li .detail .download .list {
  1606. padding-left: 0;
  1607. }
  1608. .repository.release #release-list > li .detail .download .list li {
  1609. list-style: none;
  1610. display: block;
  1611. padding: 8px;
  1612. border: 1px solid var(--color-secondary);
  1613. background: var(--color-light);
  1614. }
  1615. .repository.release #release-list > li .detail .download .list li a > .text.right {
  1616. margin-right: 5px;
  1617. }
  1618. .repository.release #release-list > li .detail .download .list li + li {
  1619. border-top: 0;
  1620. }
  1621. .repository.release #release-list > li .detail .download .list li:first-of-type {
  1622. border-radius: var(--border-radius) 0 0 var(--border-radius);
  1623. }
  1624. .repository.release #release-list > li .detail .download .list li:last-of-type {
  1625. border-radius: 0 var(--border-radius) var(--border-radius) 0;
  1626. }
  1627. .repository.release #release-list > li .detail .dot {
  1628. width: 10px;
  1629. height: 10px;
  1630. background-color: var(--color-secondary-dark-3);
  1631. z-index: 9;
  1632. position: absolute;
  1633. display: block;
  1634. left: -6px;
  1635. top: 40px;
  1636. border-radius: 100%;
  1637. border: 2.5px solid var(--color-body);
  1638. }
  1639. .repository.release #tags-table .tag {
  1640. padding: 8px 12px;
  1641. }
  1642. .repository.release #tags-table .release-tag-name {
  1643. font-size: 18px;
  1644. font-weight: normal;
  1645. }
  1646. .repository.new.release .target {
  1647. min-width: 500px;
  1648. }
  1649. .repository.new.release .target #tag-name {
  1650. margin-top: -4px;
  1651. }
  1652. .repository.new.release .target .at {
  1653. margin-left: -5px;
  1654. margin-right: 5px;
  1655. }
  1656. .repository.new.release .target .selection.dropdown {
  1657. padding-top: 10px;
  1658. padding-bottom: 10px;
  1659. }
  1660. .repository.new.release .prerelease.field {
  1661. margin-bottom: 0;
  1662. }
  1663. @media (max-width: 438px) {
  1664. .repository.new.release .field button,
  1665. .repository.new.release .field input {
  1666. width: 100%;
  1667. }
  1668. }
  1669. @media (max-width: 767px) {
  1670. .repository.new.release .field button {
  1671. margin-bottom: 1em;
  1672. }
  1673. }
  1674. .repository.new.release .field .wrap_remove {
  1675. height: 38px;
  1676. }
  1677. .repository.new.release .field .attachment_edit {
  1678. width: 450px !important;
  1679. }
  1680. .repository.forks .list {
  1681. margin-top: 0;
  1682. }
  1683. .repository.forks .list .item {
  1684. padding-top: 10px;
  1685. padding-bottom: 10px;
  1686. border-bottom: 1px solid var(--color-secondary);
  1687. }
  1688. .repository.forks .list .item .ui.avatar {
  1689. float: left;
  1690. margin-right: 5px;
  1691. }
  1692. .repository.forks .list .item .link {
  1693. padding-top: 5px;
  1694. }
  1695. .repository.packages .empty {
  1696. padding-top: 70px;
  1697. padding-bottom: 100px;
  1698. }
  1699. .repository.packages .empty .svg {
  1700. height: 48px;
  1701. }
  1702. .repository.packages .file-size {
  1703. white-space: nowrap;
  1704. }
  1705. .repository.wiki.start .ui.segment {
  1706. padding-top: 70px;
  1707. padding-bottom: 100px;
  1708. }
  1709. .repository.wiki.start .ui.segment .svg {
  1710. height: 48px;
  1711. }
  1712. .repository.wiki.new .ui.attached.tabular.menu.previewtabs {
  1713. margin-bottom: 15px;
  1714. }
  1715. .repository.wiki.view > .markup {
  1716. padding: 15px 30px;
  1717. }
  1718. .repository.wiki.view > .markup h1:first-of-type,
  1719. .repository.wiki.view > .markup h2:first-of-type,
  1720. .repository.wiki.view > .markup h3:first-of-type,
  1721. .repository.wiki.view > .markup h4:first-of-type,
  1722. .repository.wiki.view > .markup h5:first-of-type,
  1723. .repository.wiki.view > .markup h6:first-of-type {
  1724. margin-top: 0;
  1725. }
  1726. .repository.wiki .form .CodeMirror-scroll {
  1727. max-height: 85vh;
  1728. }
  1729. @media (max-width: 767px) {
  1730. .repository.wiki .dividing.header .stackable.grid .button {
  1731. margin-top: 2px;
  1732. margin-bottom: 2px;
  1733. }
  1734. }
  1735. @media (max-width: 767px) {
  1736. .repository.wiki #clone-panel #repo-clone-url {
  1737. width: 160px;
  1738. }
  1739. }
  1740. .repository.settings.collaboration .collaborator.list {
  1741. padding: 0;
  1742. }
  1743. .repository.settings.collaboration .collaborator.list > .item {
  1744. margin: 0;
  1745. line-height: 2em;
  1746. }
  1747. .repository.settings.collaboration .collaborator.list > .item:not(:last-child) {
  1748. border-bottom: 1px solid var(--color-secondary);
  1749. }
  1750. .repository.settings.collaboration #repo-collab-form #search-user-box .results {
  1751. left: 7px;
  1752. }
  1753. .repository.settings.collaboration #repo-collab-form .ui.button {
  1754. margin-left: 5px;
  1755. margin-top: -3px;
  1756. }
  1757. .repository.settings.collaboration #repo-collab-team-form #search-team-box .results {
  1758. left: 7px;
  1759. }
  1760. .repository.settings.collaboration #repo-collab-team-form .ui.button {
  1761. margin-left: 5px;
  1762. margin-top: -3px;
  1763. }
  1764. .repository.settings.branches .protected-branches .selection.dropdown {
  1765. width: 300px;
  1766. }
  1767. .repository.settings.branches .protected-branches .item {
  1768. border: 1px solid var(--color-secondary);
  1769. padding: 10px 15px;
  1770. }
  1771. .repository.settings.branches .protected-branches .item:not(:last-child) {
  1772. border-bottom: 0;
  1773. }
  1774. .repository.settings.branches .branch-protection .help {
  1775. margin-left: 26px;
  1776. padding-top: 0;
  1777. }
  1778. .repository.settings.branches .branch-protection .fields {
  1779. margin-left: 20px;
  1780. display: block;
  1781. }
  1782. .repository.settings.branches .branch-protection .whitelist {
  1783. margin-left: 26px;
  1784. }
  1785. .repository.settings.branches .branch-protection .whitelist .dropdown img {
  1786. display: inline-block;
  1787. }
  1788. .repository.settings.webhook .events .column {
  1789. padding-bottom: 0;
  1790. }
  1791. .repository.settings.webhook .events .help {
  1792. font-size: 13px;
  1793. margin-left: 26px;
  1794. padding-top: 0;
  1795. }
  1796. .repository .ui.attached.isSigned.isWarning {
  1797. border-left: 1px solid var(--color-error-border);
  1798. border-right: 1px solid var(--color-error-border);
  1799. }
  1800. .repository .ui.attached.isSigned.isWarning.top,
  1801. .repository .ui.attached.isSigned.isWarning.message {
  1802. border-top: 1px solid var(--color-error-border);
  1803. }
  1804. .repository .ui.attached.isSigned.isWarning.message {
  1805. box-shadow: none;
  1806. background-color: var(--color-error-bg);
  1807. color: var(--color-error-text);
  1808. }
  1809. .repository .ui.attached.isSigned.isWarning.message .ui.text {
  1810. color: var(--color-error-text);
  1811. }
  1812. .repository .ui.attached.isSigned.isWarning:last-child,
  1813. .repository .ui.attached.isSigned.isWarning.bottom {
  1814. border-bottom: 1px solid var(--color-error-border);
  1815. }
  1816. .repository .ui.attached.isSigned.isVerified {
  1817. border-left: 1px solid var(--color-success-border);
  1818. border-right: 1px solid var(--color-success-border);
  1819. }
  1820. .repository .ui.attached.isSigned.isVerified.top,
  1821. .repository .ui.attached.isSigned.isVerified.message {
  1822. border-top: 1px solid var(--color-success-border);
  1823. }
  1824. .repository .ui.attached.isSigned.isVerified.message {
  1825. box-shadow: none;
  1826. background-color: var(--color-success-bg);
  1827. color: var(--color-success-text);
  1828. }
  1829. .repository .ui.attached.isSigned.isVerified.message .pull-right {
  1830. color: var(--color-text);
  1831. }
  1832. .repository .ui.attached.isSigned.isVerified.message .ui.text {
  1833. color: var(--color-success-text);
  1834. }
  1835. .repository .ui.attached.isSigned.isVerified:last-child,
  1836. .repository .ui.attached.isSigned.isVerified.bottom {
  1837. border-bottom: 1px solid var(--color-success-border);
  1838. }
  1839. .repository .ui.attached.isSigned.isVerifiedUntrusted,
  1840. .repository .ui.attached.isSigned.isVerifiedUnmatched {
  1841. border-left: 1px solid var(--color-warning-border);
  1842. border-right: 1px solid var(--color-warning-border);
  1843. }
  1844. .repository .ui.attached.isSigned.isVerifiedUntrusted.top,
  1845. .repository .ui.attached.isSigned.isVerifiedUnmatched.top,
  1846. .repository .ui.attached.isSigned.isVerifiedUntrusted.message,
  1847. .repository .ui.attached.isSigned.isVerifiedUnmatched.message {
  1848. border-top: 1px solid var(--color-warning-border);
  1849. }
  1850. .repository .ui.attached.isSigned.isVerifiedUntrusted.message,
  1851. .repository .ui.attached.isSigned.isVerifiedUnmatched.message {
  1852. box-shadow: none;
  1853. background-color: var(--color-warning-bg);
  1854. color: var(--color-warning-text);
  1855. }
  1856. .repository .ui.attached.isSigned.isVerifiedUntrusted.message .ui.text,
  1857. .repository .ui.attached.isSigned.isVerifiedUnmatched.message .ui.text {
  1858. color: var(--color-warning-text);
  1859. }
  1860. .repository .ui.attached.isSigned.isVerifiedUntrusted:last-child,
  1861. .repository .ui.attached.isSigned.isVerifiedUnmatched:last-child,
  1862. .repository .ui.attached.isSigned.isVerifiedUntrusted.bottom,
  1863. .repository .ui.attached.isSigned.isVerifiedUnmatched.bottom {
  1864. border-bottom: 1px solid var(--color-warning-border);
  1865. }
  1866. .repository .ui.segment.sub-menu {
  1867. padding: 7px;
  1868. line-height: 0;
  1869. }
  1870. .repository .ui.segment.sub-menu .list {
  1871. width: 100%;
  1872. display: flex;
  1873. align-items: center;
  1874. }
  1875. .repository .ui.segment.sub-menu .list .item {
  1876. width: 100%;
  1877. color: var(--color-text);
  1878. }
  1879. .repository .ui.segment.sub-menu .list .item:first-of-type {
  1880. border-radius: var(--border-radius) 0 0 var(--border-radius);
  1881. padding-left: 0.25rem;
  1882. }
  1883. .repository .ui.segment.sub-menu .list .item:last-of-type {
  1884. border-radius: 0 var(--border-radius) var(--border-radius) 0;
  1885. padding-right: 0.25rem;
  1886. }
  1887. .repository .ui.segment.sub-menu .list .item a {
  1888. color: var(--color-text);
  1889. }
  1890. .repository .ui.segment.sub-menu .list .item a:hover {
  1891. color: var(--color-primary-light-2);
  1892. }
  1893. .repository .ui.segment.sub-menu .list .item.active {
  1894. background: var(--color-secondary);
  1895. }
  1896. .repository .segment.reactions.dropdown .menu,
  1897. .repository .select-reaction.dropdown .menu {
  1898. right: 0 !important;
  1899. left: auto !important;
  1900. min-width: 15em;
  1901. }
  1902. .repository .segment.reactions.dropdown .menu > .header,
  1903. .repository .select-reaction.dropdown .menu > .header {
  1904. margin: 0.75rem 0 0.5rem;
  1905. }
  1906. .repository .segment.reactions.dropdown .menu > .item,
  1907. .repository .select-reaction.dropdown .menu > .item {
  1908. float: left;
  1909. padding: 0.25rem !important;
  1910. margin: 0.25rem;
  1911. font-size: 1.5em;
  1912. width: 39px;
  1913. left: 13px;
  1914. border-radius: 6px;
  1915. display: flex;
  1916. justify-content: center;
  1917. align-items: center;
  1918. }
  1919. .repository .segment.reactions.dropdown .menu > .item img.emoji,
  1920. .repository .select-reaction.dropdown .menu > .item img.emoji {
  1921. margin-right: 0;
  1922. }
  1923. .repository .segment.reactions.dropdown .menu > .item:hover,
  1924. .repository .select-reaction.dropdown .menu > .item:hover {
  1925. background: var(--color-primary);
  1926. }
  1927. .repository .segment.reactions {
  1928. padding: 0;
  1929. display: flex;
  1930. border: none !important;
  1931. border-top: 1px solid var(--color-secondary) !important;
  1932. width: 100% !important;
  1933. max-width: 100% !important;
  1934. margin: 0 !important;
  1935. }
  1936. .repository .segment.reactions .ui.label {
  1937. max-height: 40px;
  1938. padding: 10px 18px !important;
  1939. display: flex !important;
  1940. align-items: center;
  1941. border: 0;
  1942. border-right: 1px solid;
  1943. border-radius: 0;
  1944. margin: 0;
  1945. font-size: 14px;
  1946. font-weight: normal;
  1947. border-color: var(--color-secondary) !important;
  1948. background: var(--color-reaction-bg);
  1949. }
  1950. .repository .segment.reactions .ui.label.disabled {
  1951. cursor: default;
  1952. opacity: 1;
  1953. }
  1954. .repository .segment.reactions .ui.label.basic {
  1955. color: var(--color-primary) !important;
  1956. }
  1957. .repository .segment.reactions .ui.label.basic.primary {
  1958. background-color: var(--color-reaction-active-bg) !important;
  1959. border-color: var(--color-secondary) !important;
  1960. }
  1961. .repository .segment.reactions .reaction-count {
  1962. margin-left: 0.5rem;
  1963. }
  1964. .repository .segment.reactions .select-reaction {
  1965. display: flex;
  1966. align-items: center;
  1967. padding: 0 14px;
  1968. }
  1969. .repository .segment.reactions .select-reaction:not(.active) a {
  1970. display: none;
  1971. }
  1972. .repository .segment.reactions:hover .select-reaction a {
  1973. display: block;
  1974. }
  1975. .repository .ui.fluid.action.input .ui.search.action.input {
  1976. flex: auto;
  1977. }
  1978. .repository .repository-summary {
  1979. box-shadow: none !important;
  1980. }
  1981. .repository .repository-summary .segment.language-stats-details,
  1982. .repository .repository-summary .segment.repository-summary {
  1983. border-top: none;
  1984. background: none;
  1985. }
  1986. .repository .repository-summary .segment.language-stats-details .item {
  1987. white-space: nowrap;
  1988. }
  1989. .repository .repository-summary .segment.language-stats {
  1990. padding: 0;
  1991. height: 11px;
  1992. display: flex;
  1993. white-space: nowrap;
  1994. width: 100%;
  1995. border-radius: 0;
  1996. }
  1997. @media (max-width: 767px) {
  1998. .repository .repository-summary .segment.language-stats {
  1999. display: none;
  2000. }
  2001. }
  2002. .repository .repository-summary .segment.language-stats .bar {
  2003. white-space: nowrap;
  2004. border: 0;
  2005. padding: 0;
  2006. margin: 0;
  2007. height: 100%;
  2008. }
  2009. .repository .repository-menu {
  2010. padding: 0 !important;
  2011. }
  2012. .repository .repository-menu .item {
  2013. padding-top: 9px !important;
  2014. padding-bottom: 9px !important;
  2015. }
  2016. #cite-repo-modal #citation-panel {
  2017. width: 500px;
  2018. }
  2019. @media (max-width: 767px) {
  2020. #cite-repo-modal #citation-panel {
  2021. width: 100%;
  2022. }
  2023. }
  2024. #cite-repo-modal #citation-panel input {
  2025. border-radius: 0;
  2026. padding: 5px 10px;
  2027. width: 50%;
  2028. line-height: 1.4;
  2029. }
  2030. #cite-repo-modal #citation-panel .citation.button {
  2031. font-size: 13px;
  2032. padding: 7.5px 5px;
  2033. }
  2034. #cite-repo-modal #citation-panel #citation-copy-content {
  2035. border-radius: 0;
  2036. padding: 5px 10px;
  2037. font-size: 1.2em;
  2038. line-height: 1.4;
  2039. }
  2040. #cite-repo-modal #citation-panel #citation-copy-apa,
  2041. #cite-repo-modal #citation-panel #citation-copy-bibtex {
  2042. border-right: none;
  2043. }
  2044. #cite-repo-modal #citation-panel #goto-citation-btn {
  2045. border-left: none;
  2046. }
  2047. #cite-repo-modal #citation-panel > :first-child {
  2048. border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
  2049. }
  2050. #cite-repo-modal #citation-panel > :last-child {
  2051. border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
  2052. }
  2053. #cite-repo-modal #citation-panel .icon.button {
  2054. padding: 0 10px;
  2055. }
  2056. .user-cards .list {
  2057. padding: 0;
  2058. display: flex;
  2059. flex-wrap: wrap;
  2060. }
  2061. .user-cards .list .item {
  2062. list-style: none;
  2063. width: 32%;
  2064. margin: 10px 10px 10px 0;
  2065. padding-bottom: 14px;
  2066. float: left;
  2067. }
  2068. .user-cards .list .item .avatar {
  2069. width: 48px;
  2070. height: 48px;
  2071. float: left;
  2072. display: block;
  2073. margin-right: 10px;
  2074. }
  2075. .user-cards .list .item .name {
  2076. margin-top: 0;
  2077. margin-bottom: 0;
  2078. font-weight: normal;
  2079. }
  2080. .user-cards .list .item .meta {
  2081. margin-top: 5px;
  2082. }
  2083. #search-repo-box .results .result img,
  2084. #search-user-box .results .result img {
  2085. float: left;
  2086. margin-right: 8px;
  2087. width: 2em;
  2088. height: 2em;
  2089. }
  2090. #search-repo-box .results .result .content,
  2091. #search-user-box .results .result .content {
  2092. margin: 6px 0;
  2093. }
  2094. #search-team-box .results .result .content {
  2095. margin: 6px 0;
  2096. }
  2097. #issue-actions {
  2098. margin-top: -1rem !important; /* counteract padding from Semantic */
  2099. }
  2100. .ui.menu .item > img:not(.ui) {
  2101. width: auto;
  2102. }
  2103. .page.buttons {
  2104. padding-top: 15px;
  2105. }
  2106. .commit-header-row {
  2107. min-height: 50px !important;
  2108. padding-top: 0 !important;
  2109. padding-bottom: 0 !important;
  2110. }
  2111. .settings .content > .header,
  2112. .settings .content .segment {
  2113. box-shadow: 0 1px 2px 0 var(--color-box-header);
  2114. }
  2115. .settings.webhooks .list > .item:not(:first-child),
  2116. .settings.githooks .list > .item:not(:first-child),
  2117. .settings.runners .list > .item:not(:first-child) {
  2118. padding: 0.25rem 1rem;
  2119. margin: 12px -1rem -1rem;
  2120. }
  2121. .settings .list > .item:not(:first-child) {
  2122. border-top: 1px solid var(--color-secondary);
  2123. padding: 1rem;
  2124. margin: 16px -1rem -1rem;
  2125. }
  2126. .settings .list > .item > .svg {
  2127. display: table-cell;
  2128. }
  2129. .settings .list > .item > .svg + .content {
  2130. display: table-cell;
  2131. padding: 0 0 0 0.5em;
  2132. vertical-align: top;
  2133. }
  2134. .settings .list > .item .info {
  2135. margin-top: 10px;
  2136. }
  2137. .settings .list > .item .info .tab.segment {
  2138. border: 0;
  2139. padding: 10px 0 0;
  2140. }
  2141. .settings .list.key .meta {
  2142. padding-top: 5px;
  2143. color: var(--color-text-light-2);
  2144. }
  2145. .settings .list.email > .item:not(:first-child) {
  2146. min-height: 60px;
  2147. }
  2148. .settings .list.collaborator > .item {
  2149. padding: 0;
  2150. }
  2151. .ui.vertical.menu .header.item {
  2152. font-size: 1.1em;
  2153. background: var(--color-box-header);
  2154. }
  2155. .comment:target .comment-container {
  2156. border-color: var(--color-primary) !important;
  2157. box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
  2158. }
  2159. .comment:target .header::before {
  2160. border-right-color: var(--color-primary) !important;
  2161. filter: drop-shadow(-3px 0 0 var(--color-primary-alpha-30)) !important;
  2162. }
  2163. .code-comment:target {
  2164. border-color: var(--color-primary) !important;
  2165. border-radius: var(--border-radius) !important;
  2166. box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
  2167. }
  2168. .code-comment:target .content {
  2169. box-shadow: none !important;
  2170. }
  2171. .comment-header {
  2172. border: none !important;
  2173. background: var(--color-box-header);
  2174. border-bottom: 1px solid var(--color-secondary) !important;
  2175. font-weight: normal !important;
  2176. padding: 0.5rem 1rem;
  2177. margin: 0 !important;
  2178. position: relative;
  2179. color: var(--color-text-light-2);
  2180. min-height: 41px;
  2181. background-color: var(--color-box-header);
  2182. display: flex;
  2183. justify-content: space-between;
  2184. align-items: center;
  2185. }
  2186. .comment-header::before,
  2187. .comment-header::after {
  2188. right: 100%;
  2189. top: 20px;
  2190. border: solid transparent;
  2191. content: " ";
  2192. height: 0;
  2193. width: 0;
  2194. position: absolute;
  2195. pointer-events: none;
  2196. }
  2197. .comment-header::before {
  2198. border-right-color: var(--color-secondary);
  2199. border-width: 9px;
  2200. margin-top: -9px;
  2201. }
  2202. .comment-header::after {
  2203. border-right-color: var(--color-box-header);
  2204. border-width: 8px;
  2205. margin-top: -8px;
  2206. }
  2207. .comment-header.arrow-top::before,
  2208. .comment-header.arrow-top::after {
  2209. transform: rotate(90deg);
  2210. }
  2211. .comment-header.arrow-top::before {
  2212. top: -9px;
  2213. left: 6px;
  2214. }
  2215. .comment-header.arrow-top::after {
  2216. top: -8px;
  2217. left: 7px;
  2218. }
  2219. .comment-header a {
  2220. color: var(--color-text);
  2221. }
  2222. .comment-header a:hover {
  2223. color: var(--color-primary);
  2224. }
  2225. .comment-header .actions a {
  2226. margin-right: 0 !important;
  2227. padding: 0.5rem !important;
  2228. }
  2229. .comment-header-left > * + *,
  2230. .comment-header-right > * + * {
  2231. margin-left: 0.25rem;
  2232. }
  2233. .comment-body {
  2234. background: var(--color-box-body);
  2235. border: none !important;
  2236. width: 100% !important;
  2237. max-width: 100% !important;
  2238. margin: 0 !important;
  2239. }
  2240. .edit-label.modal .form .column,
  2241. .new-label.modal .form .column {
  2242. padding-right: 0;
  2243. }
  2244. .edit-label.modal .form .buttons,
  2245. .new-label.modal .form .buttons {
  2246. margin-left: auto;
  2247. padding-top: 15px;
  2248. }
  2249. .edit-label.modal .form .color.picker.column,
  2250. .new-label.modal .form .color.picker.column {
  2251. display: flex;
  2252. }
  2253. .edit-label.modal .form .color.picker.column .minicolors,
  2254. .new-label.modal .form .color.picker.column .minicolors {
  2255. flex: 1;
  2256. }
  2257. .edit-label.modal .form .minicolors-swatch.minicolors-sprite,
  2258. .new-label.modal .form .minicolors-swatch.minicolors-sprite {
  2259. top: 10px;
  2260. left: 10px;
  2261. width: 15px;
  2262. height: 15px;
  2263. }
  2264. #avatar-arrow::before,
  2265. #avatar-arrow::after {
  2266. right: 100%;
  2267. top: 20px;
  2268. border: solid transparent;
  2269. content: " ";
  2270. height: 0;
  2271. width: 0;
  2272. position: absolute;
  2273. pointer-events: none;
  2274. }
  2275. #avatar-arrow::before {
  2276. border-right-color: var(--color-secondary);
  2277. border-width: 9px;
  2278. margin-top: -9px;
  2279. }
  2280. #avatar-arrow::after {
  2281. border-right-color: var(--color-box-header);
  2282. border-width: 8px;
  2283. margin-top: -8px;
  2284. }
  2285. #transfer-repo-modal .ui.message,
  2286. #delete-repo-modal .ui.message,
  2287. #delete-wiki-modal .ui.message,
  2288. #convert-fork-repo-modal .ui.message,
  2289. #convert-mirror-repo-modal .ui.message,
  2290. #fork-repo-modal .ui.message {
  2291. width: 100% !important;
  2292. }
  2293. .tab-size-1 {
  2294. tab-size: 1 !important;
  2295. -moz-tab-size: 1 !important;
  2296. }
  2297. .tab-size-2 {
  2298. tab-size: 2 !important;
  2299. -moz-tab-size: 2 !important;
  2300. }
  2301. .tab-size-3 {
  2302. tab-size: 3 !important;
  2303. -moz-tab-size: 3 !important;
  2304. }
  2305. .tab-size-4 {
  2306. tab-size: 4 !important;
  2307. -moz-tab-size: 4 !important;
  2308. }
  2309. .tab-size-5 {
  2310. tab-size: 5 !important;
  2311. -moz-tab-size: 5 !important;
  2312. }
  2313. .tab-size-6 {
  2314. tab-size: 6 !important;
  2315. -moz-tab-size: 6 !important;
  2316. }
  2317. .tab-size-7 {
  2318. tab-size: 7 !important;
  2319. -moz-tab-size: 7 !important;
  2320. }
  2321. .tab-size-8 {
  2322. tab-size: 8 !important;
  2323. -moz-tab-size: 8 !important;
  2324. }
  2325. .tab-size-9 {
  2326. tab-size: 9 !important;
  2327. -moz-tab-size: 9 !important;
  2328. }
  2329. .tab-size-10 {
  2330. tab-size: 10 !important;
  2331. -moz-tab-size: 10 !important;
  2332. }
  2333. .tab-size-11 {
  2334. tab-size: 11 !important;
  2335. -moz-tab-size: 11 !important;
  2336. }
  2337. .tab-size-12 {
  2338. tab-size: 12 !important;
  2339. -moz-tab-size: 12 !important;
  2340. }
  2341. .tab-size-13 {
  2342. tab-size: 13 !important;
  2343. -moz-tab-size: 13 !important;
  2344. }
  2345. .tab-size-14 {
  2346. tab-size: 14 !important;
  2347. -moz-tab-size: 14 !important;
  2348. }
  2349. .tab-size-15 {
  2350. tab-size: 15 !important;
  2351. -moz-tab-size: 15 !important;
  2352. }
  2353. .tab-size-16 {
  2354. tab-size: 16 !important;
  2355. -moz-tab-size: 16 !important;
  2356. }
  2357. .stats-table {
  2358. display: table;
  2359. width: 100%;
  2360. }
  2361. .stats-table .table-cell {
  2362. display: table-cell;
  2363. }
  2364. .stats-table .table-cell.tiny {
  2365. height: 0.5em;
  2366. }
  2367. .labels-list .label {
  2368. margin: 2px 0;
  2369. display: inline-flex !important;
  2370. line-height: 1.3em; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */
  2371. }
  2372. /* Scoped labels with different colors on left and right */
  2373. .scope-parent {
  2374. background: none !important;
  2375. padding: 0 !important;
  2376. }
  2377. .ui.label.scope-left {
  2378. border-bottom-right-radius: 0;
  2379. border-top-right-radius: 0;
  2380. margin-right: 0;
  2381. }
  2382. .ui.label.scope-right {
  2383. border-bottom-left-radius: 0;
  2384. border-top-left-radius: 0;
  2385. margin-left: 0;
  2386. }
  2387. .repo-button-row {
  2388. margin-bottom: 10px;
  2389. }
  2390. .repo-button-row > * {
  2391. margin-top: 8px;
  2392. }
  2393. .wiki .repo-button-row {
  2394. margin-bottom: 0;
  2395. }
  2396. .wiki .repo-button-row > * {
  2397. margin-top: 0;
  2398. }
  2399. .repo-button-row .button {
  2400. padding: 6px 10px !important;
  2401. height: 30px;
  2402. }
  2403. .repo-button-row input {
  2404. height: 30px;
  2405. }
  2406. tbody.commit-list {
  2407. vertical-align: baseline;
  2408. }
  2409. .message-wrapper,
  2410. .author-wrapper {
  2411. overflow: hidden;
  2412. text-overflow: ellipsis;
  2413. max-width: calc(100% - 50px);
  2414. display: inline-block;
  2415. vertical-align: middle;
  2416. }
  2417. .author-wrapper {
  2418. max-width: 180px;
  2419. }
  2420. /* in the commit list, messages can wrap so we can use inline */
  2421. .commit-list .message-wrapper {
  2422. display: inline;
  2423. }
  2424. /* but in the repo-files-table we cannot */
  2425. #repo-files-table .commit-list .message-wrapper {
  2426. display: inline-block;
  2427. }
  2428. @media (max-width: 767px) {
  2429. tr.commit-list {
  2430. width: 100%;
  2431. }
  2432. th .message-wrapper {
  2433. display: block;
  2434. max-width: calc(100vw - 70px);
  2435. }
  2436. .author-wrapper {
  2437. max-width: 80px;
  2438. }
  2439. }
  2440. @media (min-width: 768px) and (max-width: 991px) {
  2441. tr.commit-list {
  2442. width: 723px;
  2443. }
  2444. th .message-wrapper {
  2445. max-width: 120px;
  2446. }
  2447. }
  2448. @media (min-width: 992px) and (max-width: 1200px) {
  2449. tr.commit-list {
  2450. width: 933px;
  2451. }
  2452. th .message-wrapper {
  2453. max-width: 350px;
  2454. }
  2455. }
  2456. @media (min-width: 1201px) {
  2457. tr.commit-list {
  2458. width: 1127px;
  2459. }
  2460. th .message-wrapper {
  2461. max-width: 525px;
  2462. }
  2463. }
  2464. .commit-list .commit-status-link {
  2465. display: inline-block;
  2466. vertical-align: middle;
  2467. }
  2468. .commit-body {
  2469. white-space: pre-wrap;
  2470. line-height: initial;
  2471. }
  2472. /* commit history list */
  2473. .repository:not(.diff) .commit-body {
  2474. margin: 0;
  2475. }
  2476. /* PR-comment */
  2477. .repository:not(.diff) .timeline-item .commit-body {
  2478. margin-left: 40px;
  2479. }
  2480. .git-notes.top {
  2481. text-align: left;
  2482. }
  2483. .comment-diff-data {
  2484. background: var(--color-code-bg);
  2485. max-height: calc(100vh - 10.5rem);
  2486. overflow-y: auto;
  2487. }
  2488. .comment-diff-data pre {
  2489. line-height: 18px;
  2490. white-space: pre-wrap;
  2491. word-break: break-all;
  2492. overflow-wrap: break-word;
  2493. }
  2494. .content-history-detail-dialog .header .avatar {
  2495. position: relative;
  2496. top: -2px;
  2497. }
  2498. #topic_edit {
  2499. margin-top: 5px;
  2500. }
  2501. #repo-topics {
  2502. margin-top: 5px;
  2503. display: flex;
  2504. align-items: center;
  2505. flex-wrap: wrap;
  2506. }
  2507. .repo-topic {
  2508. font-weight: normal !important;
  2509. cursor: pointer;
  2510. margin: 2px !important;
  2511. }
  2512. #new-dependency-drop-list.ui.selection.dropdown {
  2513. min-width: 0;
  2514. width: 100%;
  2515. border-radius: 4px 0 0 4px;
  2516. border-right: 0;
  2517. white-space: nowrap;
  2518. }
  2519. #new-dependency-drop-list .text {
  2520. width: 100%;
  2521. overflow: hidden;
  2522. }
  2523. #manage_topic {
  2524. font-size: 12px;
  2525. }
  2526. .label + #manage_topic {
  2527. margin-left: 5px;
  2528. }
  2529. .ui.small.label.topic {
  2530. margin-bottom: 4px;
  2531. }
  2532. .repo-header {
  2533. display: flex;
  2534. align-items: center;
  2535. justify-content: space-between;
  2536. flex-wrap: wrap;
  2537. word-break: break-word;
  2538. }
  2539. @media (max-width: 767px) {
  2540. .repo-header + .container {
  2541. margin-top: 7px;
  2542. }
  2543. }
  2544. .repo-buttons {
  2545. align-items: center;
  2546. display: flex;
  2547. flex-direction: row;
  2548. flex-wrap: wrap;
  2549. word-break: keep-all;
  2550. }
  2551. @media (max-width: 767px) {
  2552. .repo-buttons {
  2553. margin-top: 1em;
  2554. }
  2555. }
  2556. .repo-buttons .ui.labeled.button > .label:hover {
  2557. color: var(--color-primary-light-2);
  2558. background: var(--color-light);
  2559. }
  2560. .repo-buttons button[disabled] ~ .label {
  2561. opacity: var(--opacity-disabled);
  2562. color: var(--color-text-dark);
  2563. background: var(--color-light-mimic-enabled) !important;
  2564. }
  2565. .repo-buttons button[disabled] ~ .label:hover {
  2566. color: var(--color-primary-dark-1);
  2567. }
  2568. .repo-buttons .ui.labeled.button {
  2569. cursor: initial;
  2570. }
  2571. .repo-buttons .ui.labeled.button > .label {
  2572. border-left: 0 !important;
  2573. margin: 0 !important;
  2574. }
  2575. .repo-buttons .ui.labeled.button.disabled {
  2576. pointer-events: inherit !important;
  2577. }
  2578. .repo-buttons .ui.labeled.button.disabled > .label {
  2579. color: var(--color-text-dark);
  2580. background: var(--color-light-mimic-enabled) !important;
  2581. }
  2582. .repo-buttons .ui.labeled.button.disabled > .label:hover {
  2583. color: var(--color-primary-dark-1);
  2584. }
  2585. .repo-buttons .ui.labeled.button.disabled > .button {
  2586. pointer-events: none !important;
  2587. }
  2588. @media (max-width: 767px) {
  2589. .repo-buttons .ui.labeled.button .svg {
  2590. display: none;
  2591. }
  2592. }
  2593. .tag-code {
  2594. height: 28px;
  2595. }
  2596. .tag-code,
  2597. .tag-code td,
  2598. .tag-code .blob-excerpt {
  2599. background-color: var(--color-box-body-highlight);
  2600. vertical-align: middle;
  2601. }
  2602. .resolved-placeholder {
  2603. font-weight: normal !important;
  2604. border: 1px solid var(--color-secondary) !important;
  2605. border-radius: var(--border-radius) !important;
  2606. margin: 4px !important;
  2607. }
  2608. .resolved-placeholder + .comment-code-cloud {
  2609. padding-top: 0 !important;
  2610. }
  2611. td.blob-excerpt {
  2612. background-color: var(--color-secondary-alpha-30);
  2613. }
  2614. .issue-keyword {
  2615. border-bottom: 1px dotted var(--color-text-light-3) !important;
  2616. }
  2617. .issue-keyword:hover {
  2618. border-bottom: none !important;
  2619. }
  2620. .file-header {
  2621. align-items: center;
  2622. display: flex;
  2623. justify-content: space-between;
  2624. overflow-x: auto;
  2625. padding: 6px 12px !important;
  2626. font-size: 13px !important;
  2627. }
  2628. .file-info {
  2629. display: flex;
  2630. align-items: center;
  2631. }
  2632. .file-info-entry {
  2633. display: flex;
  2634. align-items: center;
  2635. width: max-content;
  2636. }
  2637. .file-info-entry + .file-info-entry {
  2638. border-left: 1px solid currentcolor;
  2639. margin-left: 8px;
  2640. padding-left: 8px;
  2641. }
  2642. #diff-container {
  2643. display: flex;
  2644. }
  2645. #diff-file-boxes {
  2646. flex: 1;
  2647. max-width: 100%;
  2648. }
  2649. #diff-file-tree {
  2650. width: 20%;
  2651. max-width: 380px;
  2652. line-height: inherit;
  2653. position: sticky;
  2654. padding-top: 0;
  2655. top: 47px;
  2656. max-height: calc(100vh - 50px);
  2657. height: 100%;
  2658. overflow-y: auto;
  2659. }
  2660. @media (max-width: 991px) {
  2661. #diff-file-tree {
  2662. display: none !important;
  2663. }
  2664. .diff-toggle-file-tree-button {
  2665. display: none !important;
  2666. }
  2667. }
  2668. .ui.message.unicode-escape-prompt {
  2669. margin-bottom: 0;
  2670. border-radius: 0;
  2671. display: flex;
  2672. flex-direction: column;
  2673. }
  2674. .wiki-content-sidebar .ui.message.unicode-escape-prompt p,
  2675. .wiki-content-footer .ui.message.unicode-escape-prompt p {
  2676. display: none;
  2677. }
  2678. .wiki-content-toc > ul > li {
  2679. margin-bottom: 4px;
  2680. }
  2681. .wiki-content-toc ul {
  2682. margin: 0;
  2683. list-style: none;
  2684. padding-left: 1em;
  2685. }
  2686. /* fomantic's last-child selector does not work with hidden last child */
  2687. .ui.buttons .unescape-button {
  2688. border-top-right-radius: 0.28571429rem;
  2689. border-bottom-right-radius: 0.28571429rem;
  2690. }
  2691. .webhook-info {
  2692. padding: 7px 12px;
  2693. margin: 10px 0;
  2694. background-color: var(--color-markup-code-block);
  2695. border: 1px solid var(--color-secondary);
  2696. border-radius: 3px;
  2697. font-size: 13px;
  2698. line-height: 1.5;
  2699. overflow: auto;
  2700. }
  2701. .title_wip_desc {
  2702. margin-top: 1em;
  2703. }
  2704. .sidebar-item-link {
  2705. align-items: center;
  2706. word-break: break-all;
  2707. }
  2708. .diff-file-box[data-folded="true"] .diff-file-body {
  2709. display: none;
  2710. }
  2711. .diff-file-box[data-folded="true"] .diff-file-header {
  2712. border-radius: var(--border-radius) !important;
  2713. }
  2714. .diff-file-header-actions > * + * {
  2715. margin-left: 0.5rem !important;
  2716. }
  2717. .ui.attached.header.diff-file-header.sticky-2nd-row {
  2718. position: sticky;
  2719. top: 77px;
  2720. z-index: 7;
  2721. }
  2722. @media (max-width: 480px) {
  2723. .ui.attached.header.diff-file-header.sticky-2nd-row {
  2724. position: static;
  2725. }
  2726. }
  2727. .ui.attached.header.diff-file-header .diff-file-header-actions {
  2728. flex-shrink: 0;
  2729. }
  2730. .ui.attached.header.diff-file-header .diff-file-name {
  2731. flex: auto;
  2732. min-width: 100px;
  2733. }
  2734. .diff-stats-bar {
  2735. display: inline-block;
  2736. background-color: var(--color-red);
  2737. height: 12px;
  2738. width: 40px;
  2739. }
  2740. .diff-stats-bar .diff-stats-add-bar {
  2741. background-color: var(--color-green);
  2742. height: 100%;
  2743. }
  2744. /* prevent page shaking on language bar click */
  2745. .repository-summary-language-stats {
  2746. height: 48px;
  2747. overflow: hidden;
  2748. }
  2749. @media (max-width: 767px) {
  2750. .repository-summary-language-stats {
  2751. height: auto;
  2752. }
  2753. }
  2754. .ui.form .right .ui.button {
  2755. margin-left: 0.25em;
  2756. margin-right: 0;
  2757. }
  2758. .removed-code {
  2759. background: var(--color-diff-removed-word-bg);
  2760. }
  2761. .added-code {
  2762. background: var(--color-diff-added-word-bg);
  2763. }
  2764. .code-diff-unified .del-code,
  2765. .code-diff-unified .del-code td,
  2766. .code-diff-split .del-code .lines-num-old,
  2767. .code-diff-split .del-code .lines-escape-old,
  2768. .code-diff-split .del-code .lines-type-marker-old,
  2769. .code-diff-split .del-code .lines-code-old {
  2770. background: var(--color-diff-removed-row-bg);
  2771. border-color: var(--color-diff-removed-row-border);
  2772. }
  2773. .code-diff-unified .add-code,
  2774. .code-diff-unified .add-code td,
  2775. .code-diff-split .add-code .lines-num-new,
  2776. .code-diff-split .add-code .lines-type-marker-new,
  2777. .code-diff-split .add-code .lines-escape-new,
  2778. .code-diff-split .add-code .lines-code-new,
  2779. .code-diff-split .del-code .add-code.lines-num-new,
  2780. .code-diff-split .del-code .add-code.lines-type-marker-new,
  2781. .code-diff-split .del-code .add-code.lines-escape-new,
  2782. .code-diff-split .del-code .add-code.lines-code-new {
  2783. background: var(--color-diff-added-row-bg);
  2784. border-color: var(--color-diff-added-row-border);
  2785. }
  2786. .code-diff-split .del-code .lines-num-new,
  2787. .code-diff-split .del-code .lines-type-marker-new,
  2788. .code-diff-split .del-code .lines-code-new,
  2789. .code-diff-split .del-code .lines-escape-new,
  2790. .code-diff-split .add-code .lines-num-old,
  2791. .code-diff-split .add-code .lines-escape-old,
  2792. .code-diff-split .add-code .lines-type-marker-old,
  2793. .code-diff-split .add-code .lines-code-old {
  2794. background: var(--color-diff-inactive);
  2795. }
  2796. .code-diff-split tbody tr td:nth-child(5),
  2797. .code-diff-split tbody tr td.add-comment-right {
  2798. border-left: 1px solid var(--color-secondary);
  2799. }
  2800. .repository .ui.menu.new-menu {
  2801. background: none !important;
  2802. }
  2803. @media (max-width: 1200px) {
  2804. .repository .ui.menu.new-menu::after {
  2805. background: none !important;
  2806. }
  2807. }
  2808. .repository.migrate .card {
  2809. transition: all 0.1s ease-in-out;
  2810. box-shadow: none !important;
  2811. border: 1px solid var(--color-secondary);
  2812. color: var(--color-text);
  2813. }
  2814. .repository.migrate .card:hover {
  2815. transform: scale(105%);
  2816. box-shadow: 0 0.5rem 1rem var(--color-shadow) !important;
  2817. }
  2818. @media (max-width: 767px) {
  2819. .repository.file.list #repo-files-table .entry,
  2820. .repository.file.list #repo-files-table .commit-list {
  2821. align-items: center;
  2822. display: flex !important;
  2823. padding-top: 4px;
  2824. padding-bottom: 4px;
  2825. }
  2826. .repository.file.list #repo-files-table .entry td.age,
  2827. .repository.file.list #repo-files-table .commit-list td.age,
  2828. .repository.file.list #repo-files-table .entry th.age,
  2829. .repository.file.list #repo-files-table .commit-list th.age {
  2830. margin-left: auto;
  2831. }
  2832. .repository.file.list #repo-files-table .entry td.message,
  2833. .repository.file.list #repo-files-table .commit-list td.message,
  2834. .repository.file.list #repo-files-table .entry span.commit-summary,
  2835. .repository.file.list #repo-files-table .commit-list span.commit-summary {
  2836. display: none !important;
  2837. }
  2838. .issue-list-headers.ui[class].grid > div:nth-child(1) {
  2839. order: 1;
  2840. width: 50%;
  2841. }
  2842. .issue-list-headers.ui[class].grid > div:nth-child(2) {
  2843. order: 3;
  2844. width: 100%;
  2845. }
  2846. .issue-list-headers.ui[class].grid > div.column:not(.row):nth-child(3) {
  2847. order: 2;
  2848. width: 50%;
  2849. }
  2850. .repository.view.issue .comment-list .timeline,
  2851. .repository.view.issue .comment-list .timeline-item {
  2852. margin-left: 0;
  2853. }
  2854. .repository.view.issue .comment-list .timeline::before {
  2855. left: 14px;
  2856. }
  2857. .repository.view.issue .comment-list .timeline .inline-timeline-avatar {
  2858. display: flex;
  2859. margin-bottom: auto;
  2860. }
  2861. .repository.view.issue .comment-list .timeline .inline-timeline-avatar img.avatar {
  2862. height: 24px;
  2863. width: 24px;
  2864. }
  2865. .repository.view.issue .comment-list .timeline .comment-header {
  2866. padding-left: 4px;
  2867. }
  2868. .repository.view.issue .comment-list .timeline .comment-header::before,
  2869. .repository.view.issue .comment-list .timeline .comment-header::after {
  2870. content: unset;
  2871. }
  2872. /* Don't show the general avatar, we show the inline avatar on mobile.
  2873. * And don't show the role labels, there's no place for that. */
  2874. .repository.view.issue .comment-list .timeline .timeline-avatar,
  2875. .repository.view.issue .comment-list .timeline .comment-header-right .role-label {
  2876. display: none;
  2877. }
  2878. .commit-header-row .ui.horizontal.list {
  2879. width: 100%;
  2880. overflow-x: auto;
  2881. margin-top: 2px;
  2882. }
  2883. .commit-header-row .ui.horizontal.list .item {
  2884. align-items: center;
  2885. display: flex;
  2886. }
  2887. .commit-header-row .author {
  2888. padding: 3px 0;
  2889. }
  2890. .commit-header h3 {
  2891. flex-basis: auto !important;
  2892. margin-bottom: 0.5rem !important;
  2893. }
  2894. .commits-table {
  2895. flex-direction: column;
  2896. }
  2897. .commits-table .commits-table-left {
  2898. align-items: initial !important;
  2899. margin-bottom: 6px;
  2900. }
  2901. .commits-table .commits-table-right form {
  2902. display: flex;
  2903. flex-wrap: wrap;
  2904. }
  2905. .commits-table .commits-table-right form > div:nth-child(1) {
  2906. order: 1;
  2907. }
  2908. .commits-table .commits-table-right form > div:nth-child(2) {
  2909. order: 3;
  2910. margin-left: 0.5rem;
  2911. margin-top: 0.5rem;
  2912. }
  2913. .commits-table .commits-table-right form > button:nth-child(3) {
  2914. order: 2;
  2915. margin-left: 0.25rem;
  2916. }
  2917. .commit-table {
  2918. overflow-x: auto;
  2919. }
  2920. .commit-table td.sha,
  2921. .commit-table th.sha {
  2922. display: none !important;
  2923. }
  2924. .commit-table .commit-list span.message-wrapper {
  2925. max-width: none;
  2926. }
  2927. .commit-table .commit-list tr td:last-child {
  2928. display: block;
  2929. width: max-content;
  2930. }
  2931. .commit-table .commit-list td.author {
  2932. display: block;
  2933. width: calc(100% + 0.5rem);
  2934. }
  2935. .commit-table .commit-list .copy-commit-sha {
  2936. display: none !important;
  2937. }
  2938. .comment-header {
  2939. flex-wrap: wrap;
  2940. }
  2941. .comment-header .comment-header-left {
  2942. flex-wrap: wrap;
  2943. }
  2944. .comment-header .comment-header-right {
  2945. margin-left: auto;
  2946. }
  2947. }
  2948. .branch-dropdown-button {
  2949. max-width: 340px;
  2950. vertical-align: bottom !important;
  2951. }
  2952. @media (min-width: 768px) and (max-width: 991px) {
  2953. .branch-dropdown-button {
  2954. max-width: 185px;
  2955. }
  2956. }
  2957. @media (max-width: 767px) {
  2958. .branch-dropdown-button {
  2959. max-width: 165px;
  2960. }
  2961. }
  2962. .pr-status {
  2963. padding: 0 !important; /* To clear fomantic's padding on .ui.segment elements */
  2964. display: flex;
  2965. align-items: center;
  2966. }
  2967. .pr-status .commit-status {
  2968. margin: 1em;
  2969. flex-shrink: 0;
  2970. }
  2971. .pr-status .status-context {
  2972. display: flex;
  2973. justify-content: space-between;
  2974. width: 100%;
  2975. }
  2976. .pr-status .status-context > span {
  2977. padding: 1em 0;
  2978. }
  2979. .pr-status .status-details {
  2980. display: flex;
  2981. padding-right: 0.5em;
  2982. align-items: center;
  2983. justify-content: flex-end;
  2984. }
  2985. @media (max-width: 767px) {
  2986. .pr-status .status-details {
  2987. flex-direction: column;
  2988. align-items: flex-end;
  2989. justify-content: center;
  2990. }
  2991. }
  2992. .pr-status .status-details > span {
  2993. padding-right: 0.5em; /* To match the alignment with the "required" label */
  2994. }
  2995. .search-fullname {
  2996. color: var(--color-text-light-2);
  2997. }