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

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