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.

_base.less 57KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723
  1. :root {
  2. /* fonts */
  3. --fonts-proportional: -apple-system, "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial";
  4. --fonts-monospace: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace, var(--fonts-emoji);
  5. --fonts-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla";
  6. /* backgrounds */
  7. --checkbox-mask-checked: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 18 18" width="16" height="16"><path fill-rule="evenodd" d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"></path></svg>');
  8. --checkbox-mask-indeterminate: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2 7.75A.75.75 0 012.75 7h10a.75.75 0 010 1.5h-10A.75.75 0 012 7.75z"></path></svg>');
  9. /* non-color variables */
  10. --border-radius: .28571429rem;
  11. --opacity-disabled: .55;
  12. --height-loading: 12rem;
  13. /* base colors */
  14. --color-primary: #4183c4;
  15. --color-primary-contrast: #ffffff;
  16. --color-primary-dark-1: #3876b3;
  17. --color-primary-dark-2: #31699f;
  18. --color-primary-dark-3: #2b5c8b;
  19. --color-primary-dark-4: #254f77;
  20. --color-primary-dark-5: #193450;
  21. --color-primary-dark-6: #0c1a28;
  22. --color-primary-dark-7: #04080c;
  23. --color-primary-light-1: #548fca;
  24. --color-primary-light-2: #679cd0;
  25. --color-primary-light-3: #7aa8d6;
  26. --color-primary-light-4: #8db5dc;
  27. --color-primary-light-5: #b3cde7;
  28. --color-primary-light-6: #d9e6f3;
  29. --color-primary-light-7: #f4f8fb;
  30. --color-primary-alpha-10: #4183c419;
  31. --color-primary-alpha-20: #4183c433;
  32. --color-primary-alpha-30: #4183c44b;
  33. --color-primary-alpha-40: #4183c466;
  34. --color-primary-alpha-50: #4183c480;
  35. --color-primary-alpha-60: #4183c499;
  36. --color-primary-alpha-70: #4183c4b3;
  37. --color-primary-alpha-80: #4183c4cc;
  38. --color-primary-alpha-90: #4183c4e1;
  39. --color-secondary: #dedede;
  40. --color-secondary-dark-1: #cecece;
  41. --color-secondary-dark-2: #bfbfbf;
  42. --color-secondary-dark-3: #a0a0a0;
  43. --color-secondary-dark-4: #909090;
  44. --color-secondary-dark-5: #818181;
  45. --color-secondary-dark-6: #717171;
  46. --color-secondary-dark-7: #626262;
  47. --color-secondary-dark-8: #525252;
  48. --color-secondary-dark-9: #434343;
  49. --color-secondary-dark-10: #333333;
  50. --color-secondary-dark-11: #242424;
  51. --color-secondary-dark-12: #141414;
  52. --color-secondary-dark-13: #040404;
  53. --color-secondary-light-1: #e5e5e5;
  54. --color-secondary-light-2: #ebebeb;
  55. --color-secondary-light-3: #f2f2f2;
  56. --color-secondary-light-4: #f8f8f8;
  57. --color-secondary-alpha-10: #dedede19;
  58. --color-secondary-alpha-20: #dedede33;
  59. --color-secondary-alpha-30: #dedede4b;
  60. --color-secondary-alpha-40: #dedede66;
  61. --color-secondary-alpha-50: #dedede80;
  62. --color-secondary-alpha-60: #dedede99;
  63. --color-secondary-alpha-70: #dededeb3;
  64. --color-secondary-alpha-80: #dededecc;
  65. --color-secondary-alpha-90: #dededee1;
  66. /* console colors */
  67. --color-console-fg: #ffffff;
  68. --color-console-bg: #171717;
  69. /* named colors */
  70. --color-red: #db2828;
  71. --color-orange: #f2711c;
  72. --color-yellow: #fbbd08;
  73. --color-olive: #b5cc18;
  74. --color-green: #21ba45;
  75. --color-teal: #00b5ad;
  76. --color-blue: #2185d0;
  77. --color-violet: #6435c9;
  78. --color-purple: #a333c8;
  79. --color-pink: #e03997;
  80. --color-brown: #a5673f;
  81. --color-grey: #888888;
  82. --color-black: #1b1c1d;
  83. /* light variants - produced via Sass scale-color(color, $lightness: +25%) */
  84. --color-red-light: #e45e5e;
  85. --color-orange-light: #f59555;
  86. --color-yellow-light: #fcce46;
  87. --color-olive-light: #d3e942;
  88. --color-green-light: #46de6a;
  89. --color-teal-light: #08fff4;
  90. --color-blue-light: #51a5e3;
  91. --color-violet-light: #8b67d7;
  92. --color-purple-light: #bb64d8;
  93. --color-pink-light: #e86bb1;
  94. --color-brown-light: #c58b66;
  95. --color-grey-light: #a6a6a6;
  96. --color-black-light: #525558;
  97. /* other colors */
  98. --color-gold: #a1882b;
  99. --color-white: #ffffff;
  100. --color-diff-removed-word-bg: #fdb8c0;
  101. --color-diff-added-word-bg: #acf2bd;
  102. --color-diff-removed-row-bg: #ffeef0;
  103. --color-diff-moved-row-bg: #f1f8d1;
  104. --color-diff-added-row-bg: #e6ffed;
  105. --color-diff-removed-row-border: #f1c0c0;
  106. --color-diff-moved-row-border: #d0e27f;
  107. --color-diff-added-row-border: #e6ffed;
  108. --color-diff-inactive: #f2f2f2;
  109. --color-error-border: #e0b4b4;
  110. --color-error-bg: #fff6f6;
  111. --color-error-bg-active: #fbb;
  112. --color-error-bg-hover: #fdd;
  113. --color-error-text: #9f3a38;
  114. --color-success-border: #a3c293;
  115. --color-success-bg: #fcfff5;
  116. --color-success-text: #2c662d;
  117. --color-warning-border: #c9ba9b;
  118. --color-warning-bg: #fffaf3;
  119. --color-warning-text: #573a08;
  120. --color-info-border: #a9d5de;
  121. --color-info-bg: #f8ffff;
  122. --color-info-text: #276f86;
  123. --color-red-badge: #db2828;
  124. --color-red-badge-bg: #db28281a;
  125. --color-red-badge-hover-bg: #db28284d;
  126. --color-green-badge: #21ba45;
  127. --color-green-badge-bg: #21ba451a;
  128. --color-green-badge-hover-bg: #21ba454d;
  129. --color-yellow-badge: #fbbd08;
  130. --color-yellow-badge-bg: #fbbd081a;
  131. --color-yellow-badge-hover-bg: #fbbd084d;
  132. --color-orange-badge: #f2711c;
  133. --color-orange-badge-bg: #f2711c1a;
  134. --color-orange-badge-hover-bg: #f2711c4d;
  135. --color-git: #f05133;
  136. /* target-based colors */
  137. --color-body: #ffffff;
  138. --color-text-dark: #080808;
  139. --color-text: #212121;
  140. --color-text-light: #555555;
  141. --color-text-light-1: #6a6a6a;
  142. --color-text-light-2: #808080;
  143. --color-text-light-3: #a0a0a0;
  144. --color-box-header: #f7f7f7;
  145. --color-box-body: #ffffff;
  146. --color-box-body-highlight: #f8f8f8;
  147. --color-footer: #ffffff;
  148. --color-timeline: #ececec;
  149. --color-input-text: #212121;
  150. --color-input-background: #ffffff;
  151. --color-input-toggle-background: #dedede;
  152. --color-input-border: #dedede;
  153. --color-input-border-hover: #cecece;
  154. --color-navbar: #f8f8f8;
  155. --color-navbar-transparent: #f8f8f800;
  156. --color-light: #00000006;
  157. --color-light-mimic-enabled: rgba(0, 0, 0, calc(6 / 255 * 222 / 255 / var(--opacity-disabled)));
  158. --color-light-border: #0000001d;
  159. --color-hover: #0000000c;
  160. --color-active: #00000014;
  161. --color-menu: #ffffff;
  162. --color-card: #ffffff;
  163. --color-markup-table-row: #00000008;
  164. --color-markup-code-block: #00000010;
  165. --color-button: #ffffff;
  166. --color-code-bg: #ffffff;
  167. --color-code-sidebar-bg: #f5f5f5;
  168. --color-shadow: #00000030;
  169. --color-secondary-bg: #f4f4f4;
  170. --color-expand-button: #d8efff;
  171. --color-placeholder-text: #aaa;
  172. --color-editor-line-highlight: var(--color-primary-light-6);
  173. --color-project-board-bg: var(--color-secondary-light-4);
  174. --color-project-board-dark-label: #555555;
  175. --color-project-board-light-label: #a6aab5;
  176. --color-caret: var(--color-text-dark);
  177. --color-reaction-bg: #0000000a;
  178. --color-reaction-active-bg: var(--color-primary-alpha-20);
  179. --color-tooltip-bg: #000000f0;
  180. --color-tooltip-text: #ffffff;
  181. --color-header-bar: #ffffff;
  182. --color-label-active-bg: #d0d0d0;
  183. --color-accent: var(--color-primary-light-1);
  184. --color-small-accent: var(--color-primary-light-6);
  185. --color-active-line: #fffbdd;
  186. accent-color: var(--color-accent);
  187. color-scheme: light;
  188. }
  189. :root * {
  190. --fonts-regular: var(--fonts-override, var(--fonts-proportional)), "Noto Sans", "Liberation Sans", sans-serif, var(--fonts-emoji);
  191. }
  192. textarea {
  193. font-family: var(--fonts-regular);
  194. }
  195. pre,
  196. code,
  197. kbd,
  198. samp {
  199. font-size: .9em; /* compensate for monospace fonts being usually slightly larger */
  200. font-family: var(--fonts-monospace);
  201. }
  202. b,
  203. strong,
  204. h1,
  205. h2,
  206. h3,
  207. h4,
  208. h5,
  209. h6 {
  210. font-weight: 600;
  211. }
  212. body {
  213. color: var(--color-text);
  214. background-color: var(--color-body);
  215. overflow-y: auto;
  216. display: flex;
  217. flex-direction: column;
  218. overflow-wrap: break-word;
  219. }
  220. @supports (overflow: overlay) {
  221. body {
  222. overflow: overlay;
  223. scrollbar-gutter: stable;
  224. }
  225. }
  226. img {
  227. border-radius: 3px;
  228. }
  229. table {
  230. border-collapse: collapse;
  231. }
  232. details summary {
  233. cursor: pointer;
  234. }
  235. details summary > * {
  236. display: inline;
  237. }
  238. progress {
  239. background: var(--color-secondary-dark-1);
  240. border-radius: 6px;
  241. border: none;
  242. overflow: hidden;
  243. }
  244. progress::-webkit-progress-bar {
  245. background: var(--color-secondary-dark-1);
  246. }
  247. progress::-webkit-progress-value {
  248. background-color: var(--color-accent);
  249. }
  250. progress::-moz-progress-bar {
  251. background-color: var(--color-accent);
  252. }
  253. * {
  254. scrollbar-color: var(--color-primary) transparent;
  255. caret-color: var(--color-caret);
  256. }
  257. ::-webkit-scrollbar {
  258. width: 10px;
  259. height: 10px;
  260. }
  261. ::-webkit-scrollbar-thumb {
  262. box-shadow: inset 0 0 0 6px var(--color-primary);
  263. border: 2px solid transparent;
  264. border-radius: 5px !important;
  265. }
  266. ::-webkit-scrollbar-thumb:window-inactive {
  267. box-shadow: inset 0 0 0 6px var(--color-primary);
  268. }
  269. ::-webkit-scrollbar-thumb:hover {
  270. box-shadow: inset 0 0 0 6px var(--color-primary-dark-2);
  271. }
  272. ::-webkit-scrollbar-corner {
  273. background: transparent;
  274. }
  275. ::file-selector-button {
  276. border: 1px solid var(--color-light-border);
  277. color: var(--color-text-light);
  278. background: var(--color-light);
  279. border-radius: var(--border-radius);
  280. }
  281. ::file-selector-button:hover {
  282. color: var(--color-text);
  283. background: var(--color-hover);
  284. }
  285. ::selection {
  286. background: var(--color-primary-light-1) !important;
  287. color: var(--color-white) !important;
  288. }
  289. ::placeholder,
  290. .ui.dropdown:not(.button) > .default.text,
  291. .ui.default.dropdown:not(.button) > .text {
  292. color: var(--color-placeholder-text) !important;
  293. opacity: 1 !important;
  294. }
  295. a,
  296. .ui.breadcrumb a {
  297. color: var(--color-primary);
  298. cursor: pointer;
  299. text-decoration-skip-ink: all;
  300. }
  301. a.muted,
  302. .muted-links a {
  303. color: inherit;
  304. }
  305. a:hover,
  306. a.muted:hover,
  307. a.muted:hover [class*="color-text"],
  308. .muted-links a:hover,
  309. .ui.breadcrumb a:hover {
  310. color: var(--color-primary);
  311. }
  312. .delete-button,
  313. .delete-button:hover {
  314. color: var(--color-red);
  315. }
  316. a.label,
  317. .repository-menu a,
  318. .ui.search .results a,
  319. .ui .menu a,
  320. .ui.cards a.card,
  321. .issue-keyword a,
  322. a.commit-statuses-trigger {
  323. text-decoration: none !important;
  324. }
  325. .ui.red.labels .label,
  326. .ui.ui.ui.red.label,
  327. .ui.red.button,
  328. .ui.red.buttons .button {
  329. background: var(--color-red);
  330. }
  331. .ui.red.button:hover,
  332. .ui.red.buttons .button:hover {
  333. background: var(--color-red-light);
  334. }
  335. .ui.basic.red.buttons .button,
  336. .ui.basic.red.button {
  337. color: var(--color-red);
  338. border-color: var(--color-red);
  339. }
  340. .ui.basic.red.buttons .button:hover,
  341. .ui.basic.red.button:hover {
  342. color: var(--color-red-light);
  343. border-color: var(--color-red-light);
  344. }
  345. .ui.orange.labels .label,
  346. .ui.ui.ui.orange.label,
  347. .ui.orange.button,
  348. .ui.orange.buttons .button {
  349. background: var(--color-orange);
  350. }
  351. .ui.orange.button:hover,
  352. .ui.orange.buttons .button:hover {
  353. background: var(--color-orange-light);
  354. }
  355. .ui.basic.orange.buttons .button,
  356. .ui.basic.orange.button {
  357. color: var(--color-orange);
  358. border-color: var(--color-orange);
  359. }
  360. .ui.basic.orange.buttons .button:hover,
  361. .ui.basic.orange.button:hover {
  362. color: var(--color-orange-light);
  363. border-color: var(--color-orange-light);
  364. }
  365. .ui.yellow.labels .label,
  366. .ui.ui.ui.yellow.label,
  367. .ui.yellow.button,
  368. .ui.yellow.buttons .button {
  369. background: var(--color-yellow);
  370. }
  371. .ui.yellow.button:hover,
  372. .ui.yellow.buttons .button:hover {
  373. background: var(--color-yellow-light);
  374. }
  375. .ui.basic.yellow.buttons .button,
  376. .ui.basic.yellow.button {
  377. color: var(--color-yellow);
  378. border-color: var(--color-yellow);
  379. }
  380. .ui.basic.yellow.buttons .button:hover,
  381. .ui.basic.yellow.button:hover {
  382. color: var(--color-yellow-light);
  383. border-color: var(--color-yellow-light);
  384. }
  385. .ui.olive.labels .label,
  386. .ui.ui.ui.olive.label,
  387. .ui.olive.button,
  388. .ui.olive.buttons .button {
  389. background: var(--color-olive);
  390. }
  391. .ui.olive.button:hover,
  392. .ui.olive.buttons .button:hover {
  393. background: var(--color-olive-light);
  394. }
  395. .ui.basic.olive.buttons .button,
  396. .ui.basic.olive.button {
  397. color: var(--color-olive);
  398. border-color: var(--color-olive);
  399. }
  400. .ui.basic.olive.buttons .button:hover,
  401. .ui.basic.olive.button:hover {
  402. color: var(--color-olive-light);
  403. border-color: var(--color-olive-light);
  404. }
  405. .ui.green.labels .label,
  406. .ui.ui.ui.green.label,
  407. .ui.green.button,
  408. .ui.green.buttons .button {
  409. background: var(--color-green);
  410. }
  411. .ui.green.button:hover,
  412. .ui.green.buttons .button:hover {
  413. background: var(--color-green-light);
  414. }
  415. .ui.basic.green.buttons .button,
  416. .ui.basic.green.button {
  417. color: var(--color-green);
  418. border-color: var(--color-green);
  419. }
  420. .ui.basic.green.buttons .button:hover,
  421. .ui.basic.green.button:hover {
  422. color: var(--color-green-light);
  423. border-color: var(--color-green-light);
  424. }
  425. .ui.teal.labels .label,
  426. .ui.ui.ui.teal.label,
  427. .ui.teal.button,
  428. .ui.teal.buttons .button {
  429. background: var(--color-teal);
  430. }
  431. .ui.teal.button:hover,
  432. .ui.teal.buttons .button:hover {
  433. background: var(--color-teal-light);
  434. }
  435. .ui.basic.teal.buttons .button,
  436. .ui.basic.teal.button {
  437. color: var(--color-teal);
  438. border-color: var(--color-teal);
  439. }
  440. .ui.basic.teal.buttons .button:hover,
  441. .ui.basic.teal.button:hover {
  442. color: var(--color-teal-light);
  443. border-color: var(--color-teal-light);
  444. }
  445. .ui.blue.labels .label,
  446. .ui.ui.ui.blue.label,
  447. .ui.blue.button,
  448. .ui.blue.buttons .button {
  449. background: var(--color-blue);
  450. }
  451. .ui.blue.button:hover,
  452. .ui.blue.buttons .button:hover {
  453. background: var(--color-blue-light);
  454. }
  455. .ui.basic.blue.buttons .button,
  456. .ui.basic.blue.button {
  457. color: var(--color-blue);
  458. border-color: var(--color-blue);
  459. }
  460. .ui.basic.blue.buttons .button:hover,
  461. .ui.basic.blue.button:hover {
  462. color: var(--color-blue-light);
  463. border-color: var(--color-blue-light);
  464. }
  465. .ui.violet.labels .label,
  466. .ui.ui.ui.violet.label,
  467. .ui.violet.button,
  468. .ui.violet.buttons .button {
  469. background: var(--color-violet);
  470. }
  471. .ui.violet.button:hover,
  472. .ui.violet.buttons .button:hover {
  473. background: var(--color-violet-light);
  474. }
  475. .ui.basic.violet.buttons .button,
  476. .ui.basic.violet.button {
  477. color: var(--color-violet);
  478. border-color: var(--color-violet);
  479. }
  480. .ui.basic.violet.buttons .button:hover,
  481. .ui.basic.violet.button:hover {
  482. color: var(--color-violet-light);
  483. border-color: var(--color-violet-light);
  484. }
  485. .ui.purple.labels .label,
  486. .ui.ui.ui.purple.label,
  487. .ui.purple.button,
  488. .ui.purple.buttons .button {
  489. background: var(--color-purple);
  490. }
  491. .ui.purple.button:hover,
  492. .ui.purple.buttons .button:hover {
  493. background: var(--color-purple-light);
  494. }
  495. .ui.basic.purple.buttons .button,
  496. .ui.basic.purple.button {
  497. color: var(--color-purple);
  498. border-color: var(--color-purple);
  499. }
  500. .ui.basic.purple.buttons .button:hover,
  501. .ui.basic.purple.button:hover {
  502. color: var(--color-purple-light);
  503. border-color: var(--color-purple-light);
  504. }
  505. .ui.pink.labels .label,
  506. .ui.ui.ui.pink.label,
  507. .ui.pink.button,
  508. .ui.pink.buttons .button {
  509. background: var(--color-pink);
  510. }
  511. .ui.pink.button:hover,
  512. .ui.pink.buttons .button:hover {
  513. background: var(--color-pink-light);
  514. }
  515. .ui.basic.pink.buttons .button,
  516. .ui.basic.pink.button {
  517. color: var(--color-pink);
  518. border-color: var(--color-pink);
  519. }
  520. .ui.basic.pink.buttons .button:hover,
  521. .ui.basic.pink.button:hover {
  522. color: var(--color-pink-light);
  523. border-color: var(--color-pink-light);
  524. }
  525. .ui.brown.labels .label,
  526. .ui.ui.ui.brown.label,
  527. .ui.brown.button,
  528. .ui.brown.buttons .button {
  529. background: var(--color-brown);
  530. }
  531. .ui.brown.button:hover,
  532. .ui.brown.buttons .button:hover {
  533. background: var(--color-brown-light);
  534. }
  535. .ui.basic.brown.buttons .button,
  536. .ui.basic.brown.button {
  537. color: var(--color-brown);
  538. border-color: var(--color-brown);
  539. }
  540. .ui.basic.brown.buttons .button:hover,
  541. .ui.basic.brown.button:hover {
  542. color: var(--color-brown-light);
  543. border-color: var(--color-brown-light);
  544. }
  545. .ui.grey.labels .label,
  546. .ui.ui.ui.grey.label,
  547. .ui.grey.button,
  548. .ui.grey.buttons .button {
  549. background: var(--color-grey);
  550. }
  551. .ui.grey.button:hover,
  552. .ui.grey.buttons .button:hover {
  553. background: var(--color-grey-light);
  554. }
  555. .ui.basic.grey.buttons .button,
  556. .ui.basic.grey.button {
  557. color: var(--color-grey);
  558. border-color: var(--color-grey);
  559. }
  560. .ui.basic.grey.buttons .button:hover,
  561. .ui.basic.grey.button:hover {
  562. color: var(--color-grey-light);
  563. border-color: var(--color-grey-light);
  564. }
  565. .ui.black.labels .label,
  566. .ui.ui.ui.black.label,
  567. .ui.black.button,
  568. .ui.black.buttons .button {
  569. background: var(--color-black);
  570. }
  571. .ui.black.button:hover,
  572. .ui.black.buttons .button:hover {
  573. background: var(--color-black-light);
  574. }
  575. .ui.basic.black.buttons .button,
  576. .ui.basic.black.button {
  577. color: var(--color-black);
  578. border-color: var(--color-black);
  579. }
  580. .ui.basic.black.buttons .button:hover,
  581. .ui.basic.black.button:hover {
  582. color: var(--color-black-light);
  583. border-color: var(--color-black-light);
  584. }
  585. .ui.negative.buttons .button,
  586. .ui.negative.button {
  587. background: var(--color-red);
  588. }
  589. .ui.negative.buttons .button:hover,
  590. .ui.negative.button:hover {
  591. background: var(--color-red-light);
  592. }
  593. .ui.positive.buttons .button,
  594. .ui.positive.button {
  595. background: var(--color-green);
  596. }
  597. .ui.positive.buttons .button:hover,
  598. .ui.positive.button:hover {
  599. background: var(--color-green-light);
  600. }
  601. .ui.search > .results {
  602. background: var(--color-body);
  603. border-color: var(--color-secondary);
  604. }
  605. .ui.search > .results .result {
  606. background: var(--color-body);
  607. }
  608. .ui.search > .results .result .title {
  609. color: var(--color-text-dark);
  610. }
  611. .ui.search > .results .result .description {
  612. color: var(--color-text-light-2);
  613. }
  614. .ui.search > .results .result .image {
  615. width: auto;
  616. height: auto;
  617. }
  618. .ui.search > .results .result:hover,
  619. .ui.category.search > .results .category .result:hover {
  620. background: var(--color-hover);
  621. }
  622. .unselectable {
  623. -webkit-touch-callout: none;
  624. -webkit-user-select: none;
  625. user-select: none;
  626. }
  627. .button {
  628. &:extend(.unselectable);
  629. }
  630. .issue-title code {
  631. padding: 2px 4px;
  632. border-radius: 6px;
  633. background-color: var(--color-markup-code-block);
  634. }
  635. /* try to match button with no icons in height */
  636. .icon-button {
  637. padding-top: 7.42px !important;
  638. padding-bottom: 7.42px !important;
  639. }
  640. .ui.breadcrumb a:hover {
  641. text-decoration: underline !important;
  642. }
  643. .ui.breadcrumb .divider {
  644. color: var(--color-text-light-2);
  645. }
  646. .ui.divider:not(.vertical,.horizontal) {
  647. border-top-color: var(--color-secondary) !important;
  648. border-bottom: none !important;
  649. }
  650. .ui.dividing.header {
  651. border-bottom-color: var(--color-secondary);
  652. }
  653. .page-content {
  654. margin-top: 15px;
  655. }
  656. .page-content .header-wrapper,
  657. .page-content .new-menu {
  658. margin-top: -15px !important;
  659. padding-top: 15px !important;
  660. }
  661. .ui.input.focus > input,
  662. .ui.input > input:focus {
  663. border-color: var(--color-primary);
  664. }
  665. /* currently used for search bar dropdowns in repo search and explore code */
  666. .ui.action.input:not([class*="left action"]) > .ui.dropdown.selection {
  667. min-width: 10em;
  668. &:not(:focus,:hover) {
  669. border-right-color: transparent;
  670. }
  671. }
  672. .ui.action.input:not([class*="left action"]) > input:focus {
  673. border-right-color: var(--color-primary);
  674. }
  675. .ui.menu,
  676. .ui.vertical.menu {
  677. background: var(--color-menu);
  678. border-color: var(--color-secondary);
  679. }
  680. .ui.menu .item {
  681. color: var(--color-text);
  682. > .svg {
  683. margin-right: .35em;
  684. }
  685. }
  686. .ui.menu .item > .label {
  687. background: var(--color-grey);
  688. }
  689. .ui.active.label {
  690. background: var(--color-label-active-bg);
  691. border-color: var(--color-label-active-bg);
  692. color: var(--color-text-dark);
  693. }
  694. .ui.link.menu .item:hover,
  695. .ui.menu .dropdown.item:hover,
  696. .ui.menu .link.item:hover,
  697. .ui.menu a.item:hover {
  698. color: var(--color-text);
  699. background: var(--color-hover);
  700. }
  701. .ui.menu .active.item,
  702. .ui.menu .active.item:hover,
  703. .ui.vertical.menu .active.item,
  704. .ui.vertical.menu .active.item:hover {
  705. color: var(--color-text);
  706. background: var(--color-active);
  707. }
  708. .ui.link.menu .item:active,
  709. .ui.menu .link.item:active,
  710. .ui.menu a.item:active {
  711. color: var(--color-text);
  712. background: none;
  713. }
  714. .ui.ui.menu .item.disabled {
  715. color: var(--color-text-light-3);
  716. }
  717. /* slightly more contrast for filters on issue list */
  718. .ui.ui.menu .dropdown.item.disabled {
  719. color: var(--color-text-light-2);
  720. }
  721. .ui.dropdown .menu {
  722. background: var(--color-menu);
  723. border-color: var(--color-secondary);
  724. }
  725. .ui.dropdown .menu > .header:not(.ui) {
  726. color: var(--color-text);
  727. }
  728. .ui.dropdown .menu > .item {
  729. color: var(--color-text);
  730. }
  731. .ui.dropdown .menu > .item:hover {
  732. color: var(--color-text);
  733. background: var(--color-hover);
  734. }
  735. .ui.dropdown .menu .active.item {
  736. color: var(--color-text);
  737. background: var(--color-active);
  738. font-weight: normal;
  739. }
  740. /* fix misaligned images in webhook dropdown */
  741. .ui.dropdown .menu > .item > img {
  742. margin-top: -.25rem;
  743. margin-bottom: -.25rem;
  744. }
  745. .ui.dropdown .menu > .item > svg.img {
  746. margin-right: .78571429rem;
  747. }
  748. .ui.selection.dropdown .menu > .item {
  749. border-color: var(--color-secondary);
  750. }
  751. .ui.selection.visible.dropdown > .text:not(.default) {
  752. color: var(--color-text);
  753. }
  754. .ui.dropdown.selected,
  755. .ui.dropdown .menu .selected.item {
  756. color: var(--color-text);
  757. background: var(--color-hover);
  758. }
  759. .ui.menu .ui.dropdown .menu > .selected.item {
  760. color: var(--color-text) !important;
  761. background: var(--color-hover) !important;
  762. }
  763. .ui.dropdown .menu > .message:not(.ui) {
  764. color: var(--color-text-light-2);
  765. }
  766. .ui.list .list > .item .header,
  767. .ui.list > .item .header {
  768. color: var(--color-text-dark);
  769. }
  770. .ui.list .list > .item > .content,
  771. .ui.list > .item > .content {
  772. color: var(--color-text);
  773. }
  774. .ui.list .list > .item .description,
  775. .ui.list > .item .description {
  776. color: var(--color-text);
  777. }
  778. .ui.secondary.menu .dropdown.item:hover,
  779. .ui.secondary.menu .link.item:hover,
  780. .ui.secondary.menu a.item:hover {
  781. color: var(--color-text);
  782. background: var(--color-hover);
  783. }
  784. .ui.secondary.menu .active.item,
  785. .ui.secondary.menu .active.item:hover {
  786. color: var(--color-text);
  787. background: var(--color-active);
  788. }
  789. .ui.secondary.menu.tight .item {
  790. padding-left: .85714286em;
  791. padding-right: .85714286em;
  792. }
  793. .ui.menu .dropdown.item .menu {
  794. background: var(--color-menu);
  795. }
  796. .ui.menu .ui.dropdown .menu > .item {
  797. color: var(--color-text) !important;
  798. }
  799. .ui.menu .ui.dropdown .menu > .item:hover {
  800. color: var(--color-text) !important;
  801. background: var(--color-hover) !important;
  802. }
  803. .ui.menu .ui.dropdown .menu > .active.item {
  804. color: var(--color-text) !important;
  805. background: var(--color-active) !important;
  806. }
  807. .ui.message {
  808. background: var(--color-box-body);
  809. color: var(--color-text);
  810. box-shadow: none !important;
  811. border: 1px solid var(--color-secondary);
  812. }
  813. .ui.info.message,
  814. .ui.attached.info.message,
  815. .ui.blue.message,
  816. .ui.attached.blue.message {
  817. background: var(--color-info-bg);
  818. color: var(--color-info-text);
  819. border-color: var(--color-info-border);
  820. }
  821. .ui.success.message,
  822. .ui.attached.success.message,
  823. .ui.positive.message,
  824. .ui.attached.positive.message {
  825. background: var(--color-success-bg);
  826. color: var(--color-success-text);
  827. border-color: var(--color-success-border);
  828. }
  829. .ui.error.message,
  830. .ui.attached.error.message,
  831. .ui.red.message,
  832. .ui.attached.red.message,
  833. .ui.negative.message,
  834. .ui.attached.negative.message {
  835. background: var(--color-error-bg);
  836. color: var(--color-error-text);
  837. border-color: var(--color-error-border);
  838. }
  839. .ui.warning.message,
  840. .ui.attached.warning.message,
  841. .ui.yellow.message,
  842. .ui.attached.yellow.message {
  843. background: var(--color-warning-bg);
  844. color: var(--color-warning-text);
  845. border-color: var(--color-warning-border);
  846. }
  847. .ui.error.header {
  848. background: var(--color-error-bg) !important;
  849. color: var(--color-error-text) !important;
  850. border-color: var(--color-error-border) !important;
  851. }
  852. .ui.error.segment {
  853. border-color: var(--color-error-border) !important;
  854. }
  855. .ui.warning.header {
  856. background: var(--color-warning-bg) !important;
  857. color: var(--color-warning-text) !important;
  858. border-color: var(--color-warning-border) !important;
  859. }
  860. .ui.warning.segment {
  861. border-color: var(--color-warning-border) !important;
  862. }
  863. .ui.selection.active.dropdown,
  864. .ui.selection.active.dropdown:hover,
  865. .ui.selection.active.dropdown .menu,
  866. .ui.selection.active.dropdown:hover .menu {
  867. border-color: var(--color-primary-light-2);
  868. }
  869. .ui.selection.dropdown .menu {
  870. margin: 0 -1.25px;
  871. }
  872. .ui.pointing.dropdown > .menu:not(.hidden)::after {
  873. background: var(--color-box-body);
  874. box-shadow: -1px -1px 0 0 var(--color-secondary);
  875. }
  876. .ui.cards > .card,
  877. .ui.card {
  878. background: var(--color-card);
  879. border: 1px solid var(--color-secondary);
  880. box-shadow: none;
  881. }
  882. .ui.cards > .card > .content,
  883. .ui.card > .content {
  884. border-color: var(--color-secondary);
  885. }
  886. .ui.cards > .card > .extra,
  887. .ui.card > .extra,
  888. .ui.cards > .card > .extra a:not(.ui),
  889. .ui.card > .extra a:not(.ui) {
  890. color: var(--color-text);
  891. }
  892. .ui.cards > .card > .extra a:not(.ui):hover,
  893. .ui.card > .extra a:not(.ui):hover {
  894. color: var(--color-primary);
  895. }
  896. .ui.cards > .card > .content > .header,
  897. .ui.card > .content > .header {
  898. color: var(--color-text);
  899. }
  900. .ui.cards > .card > .content > .description,
  901. .ui.card > .content > .description {
  902. color: var(--color-text);
  903. }
  904. .ui.cards > .card .meta > a:not(.ui),
  905. .ui.card .meta > a:not(.ui) {
  906. color: var(--color-text-light-2);
  907. }
  908. .ui.cards > .card .meta > a:not(.ui):hover,
  909. .ui.card .meta > a:not(.ui):hover {
  910. color: var(--color-text);
  911. }
  912. .ui.cards a.card:hover,
  913. .ui.link.cards .card:not(.icon):hover,
  914. a.ui.card:hover,
  915. .ui.link.card:hover {
  916. border: 1px solid var(--color-secondary);
  917. background: var(--color-card);
  918. }
  919. .ui.cards > .card > .extra,
  920. .ui.card > .extra {
  921. color: var(--color-text);
  922. border-top-color: var(--color-secondary-light-1) !important;
  923. }
  924. .ui.comments .comment .text {
  925. margin: 0;
  926. }
  927. .ui.comments .comment .text,
  928. .ui.comments .comment .author {
  929. color: var(--color-text);
  930. }
  931. .ui.comments .comment a.author:hover {
  932. color: var(--color-primary);
  933. }
  934. .ui.comments .comment .metadata {
  935. color: var(--color-text-light-2);
  936. }
  937. .ui.comments .comment .actions a {
  938. color: var(--color-text-light);
  939. }
  940. .ui.comments .comment .actions a.active,
  941. .ui.comments .comment .actions a:hover {
  942. color: var(--color-primary);
  943. }
  944. .ui.attached.table {
  945. border-color: var(--color-secondary);
  946. }
  947. .ui.table {
  948. color: var(--color-text);
  949. background: var(--color-box-body);
  950. border-color: var(--color-secondary);
  951. }
  952. .ui.table th,
  953. .ui.table td {
  954. transition: none;
  955. }
  956. .ui.table > tr > td,
  957. .ui.table > tbody > tr > td {
  958. border-top-color: var(--color-secondary-alpha-50);
  959. }
  960. .ui.ui.ui.ui.table tr.active,
  961. .ui.ui.table td.active {
  962. color: var(--color-text);
  963. background: var(--color-active);
  964. }
  965. .ui.ui.selectable.table > tbody > tr:hover,
  966. .ui.table tbody tr td.selectable:hover {
  967. color: var(--color-text);
  968. background-color: var(--color-secondary-alpha-40);
  969. }
  970. .ui.ui.ui.ui.table tr.grey:not(.marked),
  971. .ui.ui.table td.grey:not(.marked) {
  972. background: var(--color-body);
  973. color: var(--color-text);
  974. }
  975. .ui.table > thead > tr > th {
  976. background: var(--color-box-header);
  977. color: var(--color-text);
  978. }
  979. .ui.modal {
  980. background: var(--color-body);
  981. }
  982. .ui.modal > .header {
  983. color: var(--color-text-dark);
  984. background: var(--color-secondary-bg);
  985. border-color: var(--color-secondary);
  986. border-top-left-radius: var(--border-radius);
  987. border-top-right-radius: var(--border-radius);
  988. }
  989. .ui.modal > .content {
  990. background: var(--color-body);
  991. text-align: left !important;
  992. }
  993. .ui.modal > .actions {
  994. background: var(--color-secondary-bg);
  995. border-color: var(--color-secondary);
  996. }
  997. .ui.modal > .close.inside,
  998. .ui.fullscreen.modal > .close {
  999. top: 11px; /* align modal close icon, for example admin notices */
  1000. color: var(--body-color);
  1001. }
  1002. .ui.basic.table > tbody > tr {
  1003. border-color: var(--color-secondary);
  1004. }
  1005. .ui.avatar img,
  1006. .ui.avatar svg,
  1007. .ui.avatar.img,
  1008. .ui.cards > .card img.avatar,
  1009. .ui.cards > .card .avatar img,
  1010. .ui.card img.avatar,
  1011. .ui.card .avatar img {
  1012. border-radius: var(--border-radius);
  1013. }
  1014. .ui.divided.list > .item {
  1015. border-color: var(--color-secondary);
  1016. }
  1017. .ui.link.list .item,
  1018. .ui.link.list a.item,
  1019. .ui.link.list .item a:not(.ui) {
  1020. color: var(--color-text);
  1021. }
  1022. .ui.link.list.list a.item:hover,
  1023. .ui.link.list.list .item a:not(.ui):hover,
  1024. .ui.link.list.list a.item:active,
  1025. .ui.link.list.list .item a:not(.ui):active {
  1026. color: var(--color-text-dark);
  1027. }
  1028. .ui.error.message .header,
  1029. .ui.warning.message .header {
  1030. color: inherit;
  1031. filter: saturate(2);
  1032. }
  1033. .dont-break-out {
  1034. overflow-wrap: break-word;
  1035. word-wrap: break-word;
  1036. word-break: break-all;
  1037. hyphens: auto;
  1038. }
  1039. .full.height {
  1040. flex-grow: 1;
  1041. padding-bottom: 80px;
  1042. }
  1043. /* enable fluid page widths for medium size viewports */
  1044. @media @mediaMdAndUp and @mediaLgAndDown {
  1045. .ui.ui.ui.container:not(.fluid) {
  1046. width: calc(100vw - 3em);
  1047. }
  1048. }
  1049. .following.bar {
  1050. z-index: 900;
  1051. left: 0;
  1052. margin: 0 !important;
  1053. &.light {
  1054. background: var(--color-header-bar);
  1055. border-bottom: 1px solid var(--color-secondary);
  1056. }
  1057. .column .menu {
  1058. margin-top: 0;
  1059. }
  1060. .top.menu a.item.brand {
  1061. padding-left: 0;
  1062. }
  1063. .top.menu a.item:hover,
  1064. .top.menu .dropdown.item:hover,
  1065. .top.menu .dropdown.item.active {
  1066. background-color: transparent;
  1067. }
  1068. .top.menu a.item:hover {
  1069. color: rgba(0, 0, 0, .45);
  1070. }
  1071. .top.menu .menu {
  1072. z-index: 900;
  1073. }
  1074. .fitted .svg {
  1075. margin-right: 0;
  1076. vertical-align: middle;
  1077. }
  1078. .searchbox {
  1079. background-color: var(--color-input-background) !important;
  1080. }
  1081. .text .svg {
  1082. width: 16px;
  1083. text-align: center;
  1084. }
  1085. #navbar {
  1086. width: 100vw;
  1087. min-height: 52px;
  1088. padding: 0 .5rem;
  1089. }
  1090. #navbar .brand {
  1091. margin: 0;
  1092. }
  1093. #navbar .dropdown .avatar {
  1094. margin-right: 0 !important;
  1095. }
  1096. @media @mediaSm {
  1097. #navbar:not(.shown) > *:not(:first-child) {
  1098. display: none;
  1099. }
  1100. }
  1101. }
  1102. .right.stackable.menu {
  1103. // responsive fix: this makes sure that the right menu when the page
  1104. // is on mobile view will have elements stacked on top of each other.
  1105. // no, stackable won't work on right menus.
  1106. margin-left: auto;
  1107. display: flex;
  1108. align-items: inherit;
  1109. flex-direction: inherit;
  1110. }
  1111. .ui.dropdown .menu {
  1112. border-color: var(--color-secondary);
  1113. }
  1114. .ui.pagination.menu .active.item {
  1115. color: var(--color-text);
  1116. background: var(--color-active);
  1117. }
  1118. .ui.form .field > .selection.dropdown > .dropdown.icon {
  1119. height: auto;
  1120. }
  1121. .ui.loading.segment::before,
  1122. .ui.loading.form::before {
  1123. background: none;
  1124. }
  1125. .ui.loading.form > *,
  1126. .ui.loading.segment > * {
  1127. opacity: .35;
  1128. }
  1129. .ui.form .fields.error .field textarea,
  1130. .ui.form .fields.error .field select,
  1131. .ui.form .fields.error .field input:not([type]),
  1132. .ui.form .fields.error .field input[type="date"],
  1133. .ui.form .fields.error .field input[type="datetime-local"],
  1134. .ui.form .fields.error .field input[type="email"],
  1135. .ui.form .fields.error .field input[type="number"],
  1136. .ui.form .fields.error .field input[type="password"],
  1137. .ui.form .fields.error .field input[type="search"],
  1138. .ui.form .fields.error .field input[type="tel"],
  1139. .ui.form .fields.error .field input[type="time"],
  1140. .ui.form .fields.error .field input[type="text"],
  1141. .ui.form .fields.error .field input[type="file"],
  1142. .ui.form .fields.error .field input[type="url"],
  1143. .ui.form .fields.error .field .ui.dropdown,
  1144. .ui.form .fields.error .field .ui.dropdown .item,
  1145. .ui.form .field.error .ui.dropdown,
  1146. .ui.form .field.error .ui.dropdown .text,
  1147. .ui.form .field.error .ui.dropdown .item,
  1148. .ui.form .field.error textarea,
  1149. .ui.form .field.error select,
  1150. .ui.form .field.error input:not([type]),
  1151. .ui.form .field.error input[type="date"],
  1152. .ui.form .field.error input[type="datetime-local"],
  1153. .ui.form .field.error input[type="email"],
  1154. .ui.form .field.error input[type="number"],
  1155. .ui.form .field.error input[type="password"],
  1156. .ui.form .field.error input[type="search"],
  1157. .ui.form .field.error input[type="tel"],
  1158. .ui.form .field.error input[type="time"],
  1159. .ui.form .field.error input[type="text"],
  1160. .ui.form .field.error input[type="file"],
  1161. .ui.form .field.error input[type="url"],
  1162. .ui.form .field.error select:focus,
  1163. .ui.form .field.error input:not([type]):focus,
  1164. .ui.form .field.error input[type="date"]:focus,
  1165. .ui.form .field.error input[type="datetime-local"]:focus,
  1166. .ui.form .field.error input[type="email"]:focus,
  1167. .ui.form .field.error input[type="number"]:focus,
  1168. .ui.form .field.error input[type="password"]:focus,
  1169. .ui.form .field.error input[type="search"]:focus,
  1170. .ui.form .field.error input[type="tel"]:focus,
  1171. .ui.form .field.error input[type="time"]:focus,
  1172. .ui.form .field.error input[type="text"]:focus,
  1173. .ui.form .field.error input[type="file"]:focus,
  1174. .ui.form .field.error input[type="url"]:focus {
  1175. background-color: var(--color-error-bg);
  1176. border-color: var(--color-error-border);
  1177. color: var(--color-error-text);
  1178. }
  1179. .ui.form .fields.error .field .ui.dropdown,
  1180. .ui.form .field.error .ui.dropdown,
  1181. .ui.form .fields.error .field .ui.dropdown:hover,
  1182. .ui.form .field.error .ui.dropdown:hover {
  1183. border-color: var(--color-error-border) !important;
  1184. }
  1185. .ui.form .fields.error .field .ui.dropdown .menu .item:hover,
  1186. .ui.form .field.error .ui.dropdown .menu .item:hover {
  1187. background-color: var(--color-error-bg-hover);
  1188. }
  1189. .ui.form .fields.error .field .ui.dropdown .menu .active.item,
  1190. .ui.form .field.error .ui.dropdown .menu .active.item {
  1191. background-color: var(--color-error-bg-active) !important;
  1192. }
  1193. .ui.form .fields.error .dropdown .menu,
  1194. .ui.form .field.error .dropdown .menu {
  1195. border-color: var(--color-error-border) !important;
  1196. }
  1197. // A fix for text visibility issue in Chrome autofill in dark mode.
  1198. // It's a problem from Formatic UI, and this rule overrides it.
  1199. .ui.form .field.field input:-webkit-autofill {
  1200. -webkit-text-fill-color: var(--color-black) !important;
  1201. }
  1202. .ui.form .field.muted {
  1203. opacity: var(--opacity-disabled);
  1204. }
  1205. .ui.loading.loading.input > i.icon svg {
  1206. visibility: hidden;
  1207. }
  1208. .text.primary { color: var(--color-primary) !important; }
  1209. .text.red { color: var(--color-red) !important; }
  1210. .text.orange { color: var(--color-orange) !important; }
  1211. .text.yellow { color: var(--color-yellow) !important; }
  1212. .text.olive { color: var(--color-olive) !important; }
  1213. .text.green { color: var(--color-green) !important; }
  1214. .text.teal { color: var(--color-teal) !important; }
  1215. .text.blue { color: var(--color-blue) !important; }
  1216. .text.violet { color: var(--color-violet) !important; }
  1217. .text.purple { color: var(--color-purple) !important; }
  1218. .text.pink { color: var(--color-pink) !important; }
  1219. .text.brown { color: var(--color-brown) !important; }
  1220. .text.black { color: var(--color-text) !important; }
  1221. .text.grey { color: var(--color-text-light) !important; }
  1222. .text.light.grey { color: var(--color-grey-light) !important; }
  1223. .text.gold { color: var(--color-gold) !important; }
  1224. .ui {
  1225. &.left:not(.action) {
  1226. float: left;
  1227. }
  1228. &.right:not(.action) {
  1229. float: right;
  1230. }
  1231. &.menu .item {
  1232. user-select: auto;
  1233. }
  1234. &.container {
  1235. &.fluid {
  1236. &.padded {
  1237. padding: 0 10px;
  1238. }
  1239. }
  1240. }
  1241. &.form {
  1242. .ui.button {
  1243. font-weight: normal;
  1244. }
  1245. }
  1246. &.floating.label {
  1247. z-index: 10;
  1248. }
  1249. &.transparent.label {
  1250. background-color: transparent;
  1251. }
  1252. &.menu,
  1253. &.vertical.menu,
  1254. &.segment {
  1255. box-shadow: none;
  1256. }
  1257. /* Override semantic selector '.ui.menu:not(.vertical) .item > .button' */
  1258. /* This fixes the commit graph button on the commits page */
  1259. .menu:not(.vertical) .item > .button.compact {
  1260. padding: .58928571em 1.125em;
  1261. }
  1262. .menu:not(.vertical) .item > .button.small {
  1263. font-size: .92857143rem;
  1264. }
  1265. &.menu .ui.dropdown.item .menu .item {
  1266. width: 100%;
  1267. }
  1268. &.dropdown .menu > .item > .floating.label {
  1269. z-index: 11;
  1270. }
  1271. &.dropdown .menu .menu > .item > .floating.label {
  1272. z-index: 21;
  1273. }
  1274. &.dropdown .menu > .header {
  1275. font-size: .8em;
  1276. }
  1277. .text {
  1278. &.left {
  1279. text-align: left !important;
  1280. }
  1281. &.right {
  1282. text-align: right !important;
  1283. }
  1284. &.small {
  1285. font-size: .75em;
  1286. }
  1287. &.normal {
  1288. font-weight: normal;
  1289. }
  1290. &.italic {
  1291. font-style: italic;
  1292. }
  1293. &.truncate {
  1294. overflow: hidden;
  1295. text-overflow: ellipsis;
  1296. white-space: nowrap;
  1297. display: inline-block;
  1298. }
  1299. &.thin {
  1300. font-weight: normal;
  1301. }
  1302. &.middle {
  1303. vertical-align: middle;
  1304. }
  1305. }
  1306. .message {
  1307. text-align: center;
  1308. }
  1309. .message > ul {
  1310. margin-left: auto;
  1311. margin-right: auto;
  1312. display: table;
  1313. text-align: left;
  1314. }
  1315. .header > i + .content {
  1316. padding-left: .75rem;
  1317. vertical-align: middle;
  1318. }
  1319. .info {
  1320. &.segment {
  1321. &.top {
  1322. h3,
  1323. h4 {
  1324. margin-top: 0;
  1325. }
  1326. h3:last-child {
  1327. margin-top: 4px;
  1328. }
  1329. > :last-child {
  1330. margin-bottom: 0;
  1331. }
  1332. }
  1333. }
  1334. }
  1335. .normal.header {
  1336. font-weight: normal;
  1337. }
  1338. .form {
  1339. .autofill-dummy {
  1340. position: absolute;
  1341. width: 1px;
  1342. height: 1px;
  1343. overflow: hidden;
  1344. z-index: -10000;
  1345. }
  1346. .sub.field {
  1347. margin-left: 25px;
  1348. }
  1349. }
  1350. .sha.label {
  1351. font-family: var(--fonts-monospace);
  1352. font-size: 13px;
  1353. padding: 6px 10px 4px;
  1354. font-weight: normal;
  1355. margin: 0 6px;
  1356. }
  1357. .button.copy-commit-sha {
  1358. border: 1px solid var(--color-light-border);
  1359. margin-right: 3px;
  1360. padding: 6px 6px 4px;
  1361. background: var(--color-light);
  1362. }
  1363. .button.truncate {
  1364. display: inline-block;
  1365. max-width: 100%;
  1366. overflow: hidden;
  1367. text-overflow: ellipsis;
  1368. vertical-align: top;
  1369. white-space: nowrap;
  1370. margin-right: 6px;
  1371. }
  1372. &.status.buttons {
  1373. .svg {
  1374. margin-right: 4px;
  1375. }
  1376. }
  1377. &.inline.delete-button {
  1378. padding: 8px 15px;
  1379. font-weight: normal;
  1380. }
  1381. .background {
  1382. &.red {
  1383. background-color: var(--color-red) !important;
  1384. }
  1385. &.blue {
  1386. background-color: var(--color-blue) !important;
  1387. }
  1388. &.black {
  1389. background-color: var(--color-black) !important;
  1390. }
  1391. &.grey {
  1392. background-color: var(--color-grey) !important;
  1393. }
  1394. &.light.grey {
  1395. background-color: var(--color-grey) !important;
  1396. }
  1397. &.green {
  1398. background-color: var(--color-green) !important;
  1399. }
  1400. &.purple {
  1401. background-color: var(--color-purple) !important;
  1402. }
  1403. &.yellow {
  1404. background-color: var(--color-yellow) !important;
  1405. }
  1406. &.orange {
  1407. background-color: var(--color-orange) !important;
  1408. }
  1409. &.gold {
  1410. background-color: var(--color-gold) !important;
  1411. }
  1412. }
  1413. .migrate {
  1414. color: var(--color-text-light-2) !important;
  1415. a {
  1416. color: var(--color-text-light) !important;
  1417. &:hover {
  1418. color: var(--color-text) !important;
  1419. }
  1420. }
  1421. }
  1422. .border {
  1423. border: 1px solid;
  1424. &.red {
  1425. border-color: var(--color-red) !important;
  1426. }
  1427. &.blue {
  1428. border-color: var(--color-blue) !important;
  1429. }
  1430. &.black {
  1431. border-color: var(--color-black) !important;
  1432. }
  1433. &.grey {
  1434. border-color: var(--color-grey) !important;
  1435. }
  1436. &.light.grey {
  1437. border-color: var(--color-grey) !important;
  1438. }
  1439. &.green {
  1440. border-color: var(--color-green) !important;
  1441. }
  1442. &.purple {
  1443. border-color: var(--color-purple) !important;
  1444. }
  1445. &.yellow {
  1446. border-color: var(--color-yellow) !important;
  1447. }
  1448. &.orange {
  1449. border-color: var(--color-orange) !important;
  1450. }
  1451. &.gold {
  1452. border-color: var(--color-gold) !important;
  1453. }
  1454. }
  1455. .branch-tag-choice {
  1456. line-height: 20px;
  1457. }
  1458. &.pagination.menu {
  1459. @media @mediaSm {
  1460. .item:not(.active,.navigation),
  1461. .item.navigation span.navigation_label {
  1462. display: none;
  1463. }
  1464. }
  1465. &.narrow .item {
  1466. padding-left: 8px;
  1467. padding-right: 8px;
  1468. min-width: 1em;
  1469. text-align: center;
  1470. .icon {
  1471. margin-right: 0;
  1472. }
  1473. }
  1474. }
  1475. /* modal svg icons, copied from fomantic except width and height */
  1476. &.icon.header svg {
  1477. width: 3em;
  1478. height: 3em;
  1479. float: none;
  1480. display: block;
  1481. line-height: 1;
  1482. padding: 0;
  1483. margin: 0 auto .5rem;
  1484. opacity: 1;
  1485. }
  1486. /* center text in fomantic modal dialogs */
  1487. &.modal > .content {
  1488. text-align: center;
  1489. }
  1490. }
  1491. .ui.floating.dropdown {
  1492. .overflow.menu {
  1493. .scrolling.menu.items {
  1494. border-radius: 0 !important;
  1495. box-shadow: none !important;
  1496. border-bottom: 1px solid var(--color-secondary);
  1497. }
  1498. }
  1499. }
  1500. .user-menu > .item {
  1501. width: 100%;
  1502. border-radius: 0 !important;
  1503. }
  1504. .scrolling.menu {
  1505. .item.selected {
  1506. font-weight: 600 !important;
  1507. }
  1508. }
  1509. .ui.dropdown .scrolling.menu {
  1510. border-color: var(--color-secondary);
  1511. }
  1512. .color-preview {
  1513. display: inline-block;
  1514. margin-left: .4em;
  1515. height: .67em;
  1516. width: .67em;
  1517. border-radius: .15em;
  1518. }
  1519. .attention-icon {
  1520. vertical-align: text-top;
  1521. }
  1522. .attention-note {
  1523. font-weight: unset;
  1524. color: var(--color-info-text);
  1525. }
  1526. .attention-warning {
  1527. font-weight: unset;
  1528. color: var(--color-warning-text);
  1529. }
  1530. footer {
  1531. background-color: var(--color-footer);
  1532. border-top: 1px solid var(--color-secondary);
  1533. width: 100%;
  1534. flex-basis: 40px;
  1535. color: var(--color-text-light);
  1536. .container {
  1537. width: 100vw !important;
  1538. padding: 0 .5rem;
  1539. max-width: calc(100vw - 1rem) !important;
  1540. .links > * {
  1541. border-left: 1px solid var(--color-secondary-dark-1);
  1542. padding-left: 8px;
  1543. margin-left: 5px;
  1544. &:first-child {
  1545. border-left: 0;
  1546. }
  1547. }
  1548. }
  1549. .ui.language {
  1550. .menu {
  1551. max-height: 500px;
  1552. overflow-y: auto;
  1553. margin-bottom: 7px;
  1554. }
  1555. .svg {
  1556. margin-right: .15em;
  1557. vertical-align: top;
  1558. margin-top: calc(2em - 16px);
  1559. }
  1560. }
  1561. .ui {
  1562. &.left,
  1563. &.right {
  1564. line-height: 39px; // there is a border-top on the footer, so make the line-height 1px less
  1565. }
  1566. }
  1567. }
  1568. .center:not(.popup) {
  1569. text-align: center;
  1570. }
  1571. // Conditional display
  1572. @media @mediaMdAndUp {
  1573. .mobile-only,
  1574. .ui.button.mobile-only {
  1575. display: none !important;
  1576. }
  1577. // has the same behaviour of sr-only, hiding the content for
  1578. // non-screenreaders, but is shown on mobile devices.
  1579. .sr-mobile-only {
  1580. .sr-only();
  1581. }
  1582. }
  1583. @media @mediaSm {
  1584. .not-mobile {
  1585. display: none !important;
  1586. }
  1587. }
  1588. // Accessibility
  1589. .sr-only {
  1590. position: absolute;
  1591. width: 1px;
  1592. height: 1px;
  1593. padding: 0;
  1594. margin: -1px;
  1595. overflow: hidden;
  1596. clip: rect(0, 0, 0, 0);
  1597. border: 0;
  1598. }
  1599. .sr-only-focusable:active,
  1600. .sr-only-focusable:focus {
  1601. position: static;
  1602. width: auto;
  1603. height: auto;
  1604. margin: 0;
  1605. overflow: visible;
  1606. clip: auto;
  1607. }
  1608. @media @mediaMd {
  1609. .ui.container {
  1610. width: 95%;
  1611. }
  1612. }
  1613. .ui.menu.new-menu {
  1614. margin-bottom: 15px;
  1615. background: var(--color-navbar);
  1616. border-bottom: 1px solid var(--color-secondary) !important;
  1617. overflow: auto;
  1618. }
  1619. .ui.menu.new-menu .new-menu-inner {
  1620. display: flex;
  1621. margin-left: auto;
  1622. margin-right: auto;
  1623. overflow-x: auto;
  1624. }
  1625. .ui.menu.new-menu::after {
  1626. position: absolute;
  1627. display: block;
  1628. background: linear-gradient(to right, var(--color-navbar-transparent), var(--color-navbar) 100%);
  1629. content: '';
  1630. right: 0;
  1631. height: 39px;
  1632. width: 60px;
  1633. visibility: visible;
  1634. pointer-events: none;
  1635. }
  1636. .ui.menu.new-menu.shadow-body::after {
  1637. background: linear-gradient(to right, transparent, var(--color-body) 100%);
  1638. }
  1639. .ui.menu.new-menu .item {
  1640. margin: 0 !important;
  1641. }
  1642. @media @mediaSm {
  1643. .ui.menu.new-menu .item {
  1644. width: auto !important;
  1645. }
  1646. }
  1647. .ui.menu.new-menu .item:last-child {
  1648. padding-right: 30px !important;
  1649. }
  1650. .ui.menu.new-menu::-webkit-scrollbar {
  1651. height: 6px;
  1652. display: none;
  1653. }
  1654. .ui.menu.new-menu::-webkit-scrollbar-track {
  1655. background: none !important;
  1656. }
  1657. .ui.menu.new-menu::-webkit-scrollbar-thumb {
  1658. box-shadow: none !important;
  1659. }
  1660. .ui.menu.new-menu:hover::-webkit-scrollbar {
  1661. display: block;
  1662. }
  1663. [v-cloak] {
  1664. display: none !important;
  1665. }
  1666. .repos-search {
  1667. padding-bottom: 0 !important;
  1668. }
  1669. .repos-filter {
  1670. margin-top: 0 !important;
  1671. border-bottom-width: 0 !important;
  1672. margin-bottom: 2px !important;
  1673. justify-content: space-evenly;
  1674. }
  1675. .ui.secondary.pointing.menu.repos-filter .item {
  1676. padding-left: 4.5px;
  1677. padding-right: 4.5px;
  1678. }
  1679. .repo-title {
  1680. font-size: 1.5rem;
  1681. display: flex;
  1682. align-items: center;
  1683. flex: 1;
  1684. word-break: break-all;
  1685. color: var(--color-text-light);
  1686. .avatar {
  1687. width: 32px !important;
  1688. height: 32px !important;
  1689. }
  1690. .labels {
  1691. margin-left: .5rem;
  1692. > * + * {
  1693. margin-left: .5rem;
  1694. }
  1695. }
  1696. }
  1697. .repo-icon {
  1698. display: inline-block;
  1699. }
  1700. .activity-bar-graph {
  1701. background-color: var(--color-primary);
  1702. color: var(--color-primary-contrast);
  1703. }
  1704. .activity-bar-graph-alt {
  1705. color: var(--color-primary-contrast);
  1706. }
  1707. .archived-icon {
  1708. color: var(--color-secondary-dark-2) !important;
  1709. }
  1710. .oauth2-authorize-application-box {
  1711. margin-top: 3em !important;
  1712. }
  1713. /* multiple radio or checkboxes as inline element */
  1714. .inline-grouped-list {
  1715. display: inline-block;
  1716. vertical-align: top;
  1717. > .ui {
  1718. display: block;
  1719. margin-top: 5px;
  1720. margin-bottom: 10px;
  1721. &:first-child {
  1722. margin-top: 1px;
  1723. }
  1724. }
  1725. }
  1726. i.icons .icon:first-child {
  1727. margin-right: 0;
  1728. }
  1729. i.icon.centerlock {
  1730. top: 1em;
  1731. }
  1732. .ui.label {
  1733. padding: .3em .5em;
  1734. background: var(--color-light);
  1735. color: var(--color-text-light);
  1736. }
  1737. .ui.labels a.label:hover,
  1738. a.ui.label:hover {
  1739. background: var(--color-hover);
  1740. border-color: var(--color-hover);
  1741. color: var(--color-text);
  1742. }
  1743. .ui.label > .detail .icons {
  1744. margin-right: .25em;
  1745. }
  1746. .ui.label > .detail .icons .icon {
  1747. margin-right: 0;
  1748. }
  1749. .lines-blame-btn {
  1750. padding-left: 10px;
  1751. padding-right: 10px;
  1752. text-align: right !important;
  1753. background-color: var(--color-code-sidebar-bg);
  1754. width: 2%;
  1755. }
  1756. .lines-num {
  1757. &:extend(.unselectable);
  1758. padding-left: 10px;
  1759. padding-right: 10px;
  1760. text-align: right !important;
  1761. color: var(--color-text-light-1);
  1762. width: 1%;
  1763. font-family: var(--fonts-monospace);
  1764. span {
  1765. &.bottom-line {
  1766. &::after {
  1767. border-bottom: 1px solid var(--color-secondary);
  1768. }
  1769. }
  1770. &::after {
  1771. content: attr(data-line-number);
  1772. line-height: 20px !important;
  1773. padding: 0 10px;
  1774. cursor: pointer;
  1775. display: block;
  1776. }
  1777. }
  1778. }
  1779. .lines-type-marker {
  1780. vertical-align: top;
  1781. }
  1782. .lines-num,
  1783. .lines-code {
  1784. font-size: 12px;
  1785. font-family: var(--fonts-monospace);
  1786. line-height: 20px;
  1787. padding-top: 0;
  1788. padding-bottom: 0;
  1789. vertical-align: top;
  1790. pre,
  1791. ol {
  1792. background-color: inherit;
  1793. margin: 0;
  1794. padding: 0 !important;
  1795. li {
  1796. display: block;
  1797. width: calc(100% - 1ch);
  1798. padding-left: 1ch;
  1799. }
  1800. }
  1801. }
  1802. .lines-escape {
  1803. width: 0;
  1804. }
  1805. .lines-code {
  1806. background-color: var(--color-code-bg);
  1807. padding-left: 5px;
  1808. }
  1809. .lines-code.active,
  1810. .lines-code .active {
  1811. background: var(--color-active-line) !important;
  1812. }
  1813. .blame .lines-num {
  1814. padding: 0 !important;
  1815. background-color: var(--color-code-sidebar-bg);
  1816. }
  1817. .blame .lines-code {
  1818. padding: 0 !important;
  1819. }
  1820. .code-inner {
  1821. font: 12px var(--fonts-monospace);
  1822. white-space: pre-wrap;
  1823. word-break: break-all;
  1824. overflow-wrap: break-word;
  1825. word-wrap: break-word;
  1826. }
  1827. .blame .code-inner {
  1828. white-space: pre;
  1829. word-break: normal;
  1830. word-wrap: normal; /* not using overflow-wrap because safari does not treat is an an alias */
  1831. }
  1832. .lines-commit {
  1833. &:extend(.unselectable);
  1834. vertical-align: top;
  1835. color: var(--color-grey);
  1836. padding: 0 !important;
  1837. background: var(--color-code-sidebar-bg);
  1838. width: 1%;
  1839. .blame-info {
  1840. &:extend(.unselectable);
  1841. width: 350px;
  1842. max-width: 350px;
  1843. display: block;
  1844. padding: 0 0 0 10px;
  1845. line-height: 20px;
  1846. box-sizing: content-box;
  1847. .blame-data {
  1848. display: flex;
  1849. font-family: var(--fonts-regular);
  1850. .blame-message {
  1851. flex-grow: 2;
  1852. overflow: hidden;
  1853. white-space: nowrap;
  1854. text-overflow: ellipsis;
  1855. }
  1856. .blame-time,
  1857. .blame-avatar {
  1858. flex-shrink: 0;
  1859. }
  1860. }
  1861. }
  1862. .ui.avatar {
  1863. height: 18px;
  1864. width: 18px;
  1865. display: block;
  1866. margin-top: 1px;
  1867. }
  1868. }
  1869. .top-line-blame {
  1870. border-top: 1px solid var(--color-secondary);
  1871. }
  1872. .lines-code,
  1873. .lines-commit {
  1874. .bottom-line {
  1875. border-bottom: 1px solid var(--color-secondary);
  1876. }
  1877. }
  1878. .code-view table {
  1879. width: 100%;
  1880. }
  1881. .octicon-tiny {
  1882. font-size: .85714286rem;
  1883. }
  1884. .ui.button {
  1885. background: var(--color-button);
  1886. border: 1px solid var(--color-light-border);
  1887. color: var(--color-text);
  1888. }
  1889. .page-content .ui.button {
  1890. box-shadow: none !important;
  1891. }
  1892. .ui.button:focus,
  1893. .ui.button:hover {
  1894. background: var(--color-hover);
  1895. color: var(--color-text);
  1896. }
  1897. .ui.active.button,
  1898. .ui.button:active,
  1899. .ui.active.button:active,
  1900. .ui.active.button:hover {
  1901. background: var(--color-active);
  1902. color: var(--color-text);
  1903. }
  1904. .ui.button.no-text .icon {
  1905. margin: 0 !important;
  1906. }
  1907. .ui.buttons .button:first-child {
  1908. border-left: 1px solid var(--color-light-border);
  1909. }
  1910. .ui.buttons .button + .button {
  1911. border-left: none;
  1912. }
  1913. .two-toggle-buttons .button:not(.active):first-of-type {
  1914. border-right: none;
  1915. }
  1916. .two-toggle-buttons .button.active:last-of-type {
  1917. border-left: 1px solid var(--color-light-border);
  1918. }
  1919. .ui.labeled.button.disabled > .button,
  1920. .ui.basic.buttons .button,
  1921. .ui.basic.button {
  1922. color: var(--color-text-light);
  1923. background: var(--color-light);
  1924. }
  1925. .ui.basic.buttons .button:hover,
  1926. .ui.basic.button:hover {
  1927. color: var(--color-text);
  1928. background: var(--color-hover);
  1929. }
  1930. .ui.basic.buttons .button:focus,
  1931. .ui.basic.button:focus,
  1932. .ui.basic.buttons .button:active,
  1933. .ui.basic.button:active,
  1934. .ui.basic.buttons .active.button,
  1935. .ui.basic.active.button,
  1936. .ui.basic.buttons .active.button:hover,
  1937. .ui.basic.active.button:hover {
  1938. color: var(--color-text);
  1939. background: var(--color-active);
  1940. }
  1941. .ui.labeled.button > .label {
  1942. border-color: var(--color-light-border);
  1943. }
  1944. .ui.labeled.icon.buttons > .button > .icon,
  1945. .ui.labeled.icon.button > .icon {
  1946. background: var(--color-hover);
  1947. }
  1948. .ui.primary.button,
  1949. .ui.primary.buttons .button {
  1950. background-color: var(--color-primary) !important;
  1951. color: var(--color-primary-contrast) !important;
  1952. }
  1953. .ui.primary.button:hover,
  1954. .ui.primary.buttons .button:hover {
  1955. background-color: var(--color-primary-dark-2) !important;
  1956. }
  1957. .ui.primary.button:focus,
  1958. .ui.primary.buttons .button:focus {
  1959. background-color: var(--color-primary-dark-3) !important;
  1960. }
  1961. .ui.basic.primary.button,
  1962. .ui.basic.primary.buttons .button {
  1963. box-shadow: inset 0 0 0 1px var(--color-primary) !important;
  1964. color: var(--color-primary-contrast) !important;
  1965. }
  1966. .ui.basic.primary.button:hover,
  1967. .ui.basic.primary.buttons .button:hover {
  1968. box-shadow: inset 0 0 0 1px var(--color-primary-dark-2) !important;
  1969. }
  1970. .ui.basic.primary.button:focus,
  1971. .ui.basic.primary.buttons .button:focus {
  1972. box-shadow: inset 0 0 0 1px var(--color-primary-dark-3) !important;
  1973. }
  1974. .ui.basic.secondary.buttons .button,
  1975. .ui.basic.secondary.button {
  1976. color: var(--color-secondary-dark-6) !important;
  1977. }
  1978. .ui.basic.secondary.buttons .button:hover,
  1979. .ui.basic.secondary.button:hover,
  1980. .ui.basic.secondary.buttons .button:active,
  1981. .ui.basic.secondary.button:active {
  1982. color: var(--color-secondary-dark-8) !important;
  1983. border-color: var(--color-secondary-dark-1) !important;
  1984. }
  1985. .ui.basic.secondary.button:focus,
  1986. .ui.basic.secondary.buttons .button:focus {
  1987. color: var(--color-secondary-dark-8) !important;
  1988. border-color: var(--color-secondary-dark-3) !important;
  1989. }
  1990. .ui.tertiary.button {
  1991. color: var(--color-text-light);
  1992. border: none;
  1993. }
  1994. .ui.tertiary.button:hover {
  1995. color: var(--color-text);
  1996. }
  1997. .ui.primary.label,
  1998. .ui.primary.labels .label {
  1999. background-color: var(--color-primary) !important;
  2000. border-color: var(--color-primary-dark-2) !important;
  2001. }
  2002. .ui.basic.labels .primary.label,
  2003. .ui.ui.ui.basic.primary.label {
  2004. background: transparent !important;
  2005. border-color: var(--color-primary) !important;
  2006. color: var(--color-primary) !important;
  2007. }
  2008. .ui.basic.labels .label,
  2009. .ui.basic.label {
  2010. background: var(--color-light);
  2011. border-color: var(--color-light-border);
  2012. color: var(--color-text-light);
  2013. }
  2014. .ui.basic.labels a.label:hover,
  2015. a.ui.basic.label:hover {
  2016. color: var(--color-text);
  2017. border-color: var(--color-light-border);
  2018. background: var(--color-hover);
  2019. }
  2020. .ui.label > img {
  2021. width: auto !important;
  2022. vertical-align: middle;
  2023. height: 2.1666em !important;
  2024. }
  2025. .svg {
  2026. span.green & {
  2027. color: var(--color-green);
  2028. }
  2029. span.red & {
  2030. color: var(--color-red);
  2031. }
  2032. span.purple & {
  2033. color: var(--color-purple);
  2034. }
  2035. }
  2036. .migrate .svg.gitea-git {
  2037. color: var(--color-git);
  2038. }
  2039. .color-icon {
  2040. display: inline-block;
  2041. border-radius: 100%;
  2042. height: 14px;
  2043. width: 14px;
  2044. }
  2045. .ui.label > .color-icon {
  2046. margin-left: 0;
  2047. }
  2048. .invisible {
  2049. visibility: hidden;
  2050. }
  2051. .ui.segment,
  2052. .ui.segments,
  2053. .ui.attached.segment {
  2054. background: var(--color-box-body);
  2055. color: var(--color-text);
  2056. border-color: var(--color-secondary);
  2057. }
  2058. .ui.segments > .segment {
  2059. border-color: var(--color-secondary);
  2060. }
  2061. .ui.secondary.segment {
  2062. background: var(--color-secondary-bg);
  2063. color: var(--color-text-light);
  2064. }
  2065. .ui.attached.header {
  2066. position: relative;
  2067. background: var(--color-box-header);
  2068. border-color: var(--color-secondary);
  2069. .right .button {
  2070. padding: 8px 10px;
  2071. font-weight: normal;
  2072. }
  2073. }
  2074. /* fix misaligned right buttons on box headers */
  2075. .ui.attached.header .right:not(.dropdown) {
  2076. position: absolute;
  2077. right: .78571429rem;
  2078. top: 0;
  2079. bottom: 0;
  2080. height: 30px;
  2081. margin-top: auto;
  2082. margin-bottom: auto;
  2083. }
  2084. /* https://github.com/go-gitea/gitea/issues/10210 */
  2085. .ui.attached.segment ~ .ui.top.attached.header {
  2086. margin-top: 1rem;
  2087. }
  2088. .header-stopwatch-dot {
  2089. position: absolute;
  2090. left: 8px;
  2091. top: -8px;
  2092. width: 13px;
  2093. height: 13px;
  2094. background: var(--color-primary);
  2095. border: 2px solid var(--color-header-bar);
  2096. border-radius: 100%;
  2097. }
  2098. .notification_count {
  2099. position: absolute;
  2100. left: 5px;
  2101. top: -8px;
  2102. min-width: 1.5em;
  2103. text-align: center;
  2104. background: var(--color-primary);
  2105. border: 2px solid var(--color-header-bar);
  2106. color: var(--color-header-bar);
  2107. padding: 2px;
  2108. border-radius: 1em;
  2109. font-size: 10px;
  2110. font-weight: 700;
  2111. line-height: .7;
  2112. }
  2113. table th[data-sortt-asc],
  2114. table th[data-sortt-desc] {
  2115. &:hover {
  2116. background: rgba(0, 0, 0, .1) !important;
  2117. cursor: pointer !important;
  2118. }
  2119. .svg {
  2120. margin-left: .25rem;
  2121. }
  2122. }
  2123. /* fix up SVG dropdown triangles because fomantic thinks they are icon fonts */
  2124. /* see https://github.com/go-gitea/gitea/issues/14014 */
  2125. .ui.dropdown > .dropdown.icon,
  2126. .btn-review > .dropdown.icon {
  2127. height: auto !important;
  2128. margin-left: .5rem !important;
  2129. margin-top: -1px !important;
  2130. margin-bottom: -1px !important;
  2131. margin-right: -.5rem !important;
  2132. }
  2133. .ui.button.dropdown > .dropdown.icon,
  2134. .btn-review > .dropdown.icon {
  2135. float: right !important;
  2136. @media (max-width: 480px) {
  2137. display: none;
  2138. }
  2139. }
  2140. .ui.selection.dropdown > .search.icon,
  2141. .ui.selection.dropdown > .delete.icon,
  2142. .ui.selection.dropdown > .dropdown.icon {
  2143. top: 0 !important;
  2144. }
  2145. .ui.dropdown.no-text > .dropdown.icon {
  2146. margin-left: 0 !important;
  2147. margin-right: 0 !important;
  2148. }
  2149. .ui.dropdown .menu .item {
  2150. border-radius: 0;
  2151. }
  2152. .ui.dropdown .menu .item:first-of-type {
  2153. border-radius: var(--border-radius) var(--border-radius) 0 0;
  2154. }
  2155. .ui.dropdown .menu .item:last-of-type {
  2156. border-radius: 0 0 var(--border-radius) var(--border-radius);
  2157. }
  2158. .text-label {
  2159. display: inline-flex !important;
  2160. align-items: center !important;
  2161. }
  2162. .emoji,
  2163. .reaction {
  2164. font-size: 1.25em;
  2165. line-height: 1;
  2166. font-style: normal !important;
  2167. font-weight: normal !important;
  2168. vertical-align: -.075em;
  2169. @supports (-webkit-hyphens:none) {
  2170. body:not(.safari-above125) & {
  2171. font-size: inherit;
  2172. vertical-align: inherit;
  2173. img {
  2174. font-size: 1.25em;
  2175. vertical-align: -.225em !important;
  2176. }
  2177. }
  2178. }
  2179. }
  2180. .emoji img,
  2181. .reaction img {
  2182. border-width: 0 !important;
  2183. margin: 0 !important;
  2184. width: 1em !important;
  2185. height: 1em !important;
  2186. vertical-align: -.15em;
  2187. }
  2188. .minicolors-panel {
  2189. background: var(--color-secondary-dark-1) !important;
  2190. }
  2191. .labelspage {
  2192. list-style: none;
  2193. padding-top: 0;
  2194. .item {
  2195. margin-top: 0;
  2196. margin-right: -14px;
  2197. margin-left: -14px;
  2198. padding: 10px;
  2199. border-bottom: 1px solid var(--color-secondary);
  2200. border-top: none;
  2201. a {
  2202. font-size: 12px;
  2203. padding-right: 10px;
  2204. color: var(--color-text-light);
  2205. &:hover {
  2206. color: var(--color-primary-light-2);
  2207. }
  2208. &.open-issues {
  2209. margin-right: 30px;
  2210. }
  2211. }
  2212. }
  2213. .item:last-child {
  2214. border-bottom: none;
  2215. padding-bottom: 0;
  2216. }
  2217. .orglabel {
  2218. opacity: .7;
  2219. }
  2220. }
  2221. /* https://github.com/go-gitea/gitea/pull/11486 */
  2222. .ui.sub.header {
  2223. text-transform: none;
  2224. }
  2225. .ui.tabular.menu {
  2226. border-color: var(--color-secondary);
  2227. }
  2228. .ui.tabular.menu .item {
  2229. padding: 11px 12px;
  2230. color: var(--color-text-light-2);
  2231. }
  2232. .ui.tabular.menu .item:hover {
  2233. color: var(--color-text);
  2234. }
  2235. .ui.tabular.menu .active.item,
  2236. .ui.tabular.menu .active.item:hover {
  2237. background: var(--color-body);
  2238. border-color: var(--color-secondary);
  2239. color: var(--color-text);
  2240. margin-top: 1px; /* offset fomantic's margin-bottom: -1px */
  2241. }
  2242. .ui.segment .ui.tabular.menu .active.item,
  2243. .ui.segment .ui.tabular.menu .active.item:hover {
  2244. background: var(--color-box-body);
  2245. }
  2246. .ui.secondary.pointing.menu {
  2247. border-color: var(--color-secondary);
  2248. }
  2249. .ui.secondary.pointing.menu .item {
  2250. color: var(--color-text-light-2);
  2251. }
  2252. .ui.secondary.pointing.menu .active.item,
  2253. .ui.secondary.pointing.menu .active.item:hover,
  2254. .ui.secondary.pointing.menu .dropdown.item:hover,
  2255. .ui.secondary.pointing.menu .link.item:hover,
  2256. .ui.secondary.pointing.menu a.item:hover {
  2257. color: var(--color-text-dark);
  2258. }
  2259. .ui.header {
  2260. color: var(--color-text);
  2261. }
  2262. .ui.header .ui.label {
  2263. margin-left: .25rem;
  2264. }
  2265. .ui.header > .ui.label.compact {
  2266. margin-top: inherit;
  2267. }
  2268. .ui.header .sub.header {
  2269. color: var(--color-text-light-1);
  2270. }
  2271. .flash-error details code,
  2272. .flash-warning details code {
  2273. display: block;
  2274. text-align: left;
  2275. }
  2276. .truncated-item-container {
  2277. display: flex !important;
  2278. align-items: center;
  2279. }
  2280. .ellipsis-button {
  2281. &:extend(.unselectable);
  2282. padding: 0 5px 8px !important;
  2283. display: inline-block !important;
  2284. font-weight: 600 !important;
  2285. line-height: 6px !important;
  2286. vertical-align: middle !important;
  2287. }
  2288. .truncated-item-name {
  2289. line-height: 2em;
  2290. white-space: nowrap;
  2291. overflow: hidden;
  2292. text-overflow: ellipsis;
  2293. margin-top: -.5em;
  2294. margin-bottom: -.5em;
  2295. }
  2296. .precolors {
  2297. padding-left: 0 !important;
  2298. padding-right: 0 !important;
  2299. margin: 3px 10px auto !important;
  2300. width: 120px !important;
  2301. .color {
  2302. float: left;
  2303. width: 15px;
  2304. height: 15px;
  2305. }
  2306. }
  2307. @media @mediaSm {
  2308. .ui.stackable.menu:not(.no-vertical-tabs) {
  2309. overflow-y: hidden;
  2310. overflow-x: auto;
  2311. flex-direction: row;
  2312. flex-wrap: nowrap !important;
  2313. .item {
  2314. width: initial !important;
  2315. }
  2316. > .dropdown.item {
  2317. position: initial;
  2318. }
  2319. .menu {
  2320. flex-direction: row;
  2321. }
  2322. }
  2323. }
  2324. .color-text-light-2 {
  2325. color: var(--color-text-light-2);
  2326. }