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

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