選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

repo.css 68KB

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