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.

repo.css 73KB

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