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

repo.css 77KB

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