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 71KB

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