Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
  1. /* roboto-regular - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
  2. @font-face {
  3. font-family: 'Roboto';
  4. font-style: normal;
  5. font-weight: 400;
  6. src:
  7. local('Roboto'),
  8. local('Roboto-Regular'),
  9. /* Chrome 26+, Opera 23+, Firefox 39+ */
  10. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff2') format('woff2'),
  11. /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  12. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-regular.woff') format('woff');
  13. }
  14. /* roboto-italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
  15. @font-face {
  16. font-family: 'Roboto';
  17. font-style: italic;
  18. font-weight: 400;
  19. src:
  20. local('Roboto Italic'),
  21. local('Roboto-Italic'),
  22. /* Chrome 26+, Opera 23+, Firefox 39+ */
  23. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff2') format('woff2'),
  24. /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  25. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-italic.woff') format('woff');
  26. }
  27. /* roboto-700 - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
  28. @font-face {
  29. font-family: 'Roboto';
  30. font-style: normal;
  31. font-weight: 700;
  32. src:
  33. local('Roboto Bold'),
  34. local('Roboto-Bold'),
  35. /* Chrome 26+, Opera 23+, Firefox 39+ */
  36. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff2') format('woff2'),
  37. /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  38. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700.woff') format('woff');
  39. }
  40. /* roboto-700italic - latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext */
  41. @font-face {
  42. font-family: 'Roboto';
  43. font-style: italic;
  44. font-weight: 700;
  45. src:
  46. local('Roboto Bold Italic'),
  47. local('Roboto-BoldItalic'),
  48. /* Chrome 26+, Opera 23+, Firefox 39+ */
  49. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff2') format('woff2'),
  50. /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  51. url('../vendor/assets/roboto-fonts/roboto-v20-latin-ext_cyrillic-ext_latin_greek_vietnamese_cyrillic_greek-ext-700italic.woff') format('woff');
  52. }
  53. @font-face {
  54. font-family: 'Yu Gothic';
  55. src: local('Yu Gothic Medium');
  56. font-weight: 400;
  57. }
  58. @font-face {
  59. font-family: 'Yu Gothic';
  60. src: local('Yu Gothic Bold');
  61. font-weight: 700;
  62. }
  63. @font-face {
  64. font-family: 'Noto Color Emoji';
  65. src:
  66. local('Noto Color Emoji'),
  67. local('Noto-Color-Emoji'),
  68. url('../vendor/assets/noto-color-emoji/NotoColorEmoji.ttf') format('truetype');
  69. }
  70. @default-fonts: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  71. @monospaced-fonts: 'SF Mono', Consolas, Menlo, 'Liberation Mono', Monaco, 'Lucida Console';
  72. .override-fonts(@fonts) {
  73. textarea {
  74. font-family: @fonts, sans-serif;
  75. }
  76. .markdown:not(code) {
  77. font-family: @fonts, sans-serif;
  78. }
  79. /* We're going to just override the semantic fonts here */
  80. h1,
  81. h2,
  82. h3,
  83. h4,
  84. h5 {
  85. font-family: Roboto, @fonts, sans-serif;
  86. }
  87. .home .hero h1,
  88. .home .hero h2 {
  89. font-family: 'PT Sans Narrow', Roboto, @fonts, sans-serif;
  90. }
  91. .ui.accordion .title:not(.ui),
  92. .ui.button,
  93. .ui.card > .content > .header.ui.card > .content > .header,
  94. .ui.category.search > .results .category > .name,
  95. .ui.form input:not([type]),
  96. .ui.form input[type="date"],
  97. .ui.form input[type="datetime-local"],
  98. .ui.form input[type="email"],
  99. .ui.form input[type="file"],
  100. .ui.form input[type="number"],
  101. .ui.form input[type="password"],
  102. .ui.form input[type="search"],
  103. .ui.form input[type="tel"],
  104. .ui.form input[type="text"],
  105. .ui.form input[type="time"],
  106. .ui.form input[type="url"],
  107. .ui.header,
  108. .ui.items > .item > .content > .header,
  109. .ui.list .list > .item .header,
  110. .ui.list > .item .header,
  111. .ui.menu,
  112. .ui.message .header,
  113. .ui.modal > .header,
  114. .ui.popup > .header,
  115. .ui.search > .results .result .title,
  116. .ui.search > .results > .message .header,
  117. body,
  118. .ui.input > input,
  119. .ui.input input,
  120. .ui.statistics .statistic > .value,
  121. .ui.statistic > .value,
  122. .ui.statistics .statistic > .label,
  123. .ui.statistic > .label,
  124. .ui.steps .step .title,
  125. .ui.text.container,
  126. .ui.language > .menu > .item& {
  127. font-family: Roboto, @fonts, sans-serif;
  128. }
  129. }
  130. .override-fonts(@default-fonts);
  131. body {
  132. background-color: #ffffff;
  133. overflow-y: auto;
  134. -webkit-font-smoothing: antialiased;
  135. display: flex;
  136. flex-direction: column;
  137. }
  138. @ja-fonts: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Source Han Sans JP', 'Noto Sans CJK JP', 'Droid Sans Japanese', 'Meiryo', 'MS PGothic';
  139. :lang(ja) {
  140. .override-fonts(@default-fonts, @ja-fonts;);
  141. }
  142. @zh-CN-fonts: 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans CN', 'Source Han Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', 'Heiti SC', SimHei;
  143. :lang(zh-CN) {
  144. .override-fonts(@default-fonts, @zh-CN-fonts;);
  145. }
  146. @zh-TW-fonts: 'PingFang TC', 'Hiragino Sans TC', 'Source Han Sans TW', 'Source Han Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', 'Heiti TC', PMingLiU;
  147. :lang(zh-TW) {
  148. .override-fonts(@default-fonts, @zh-TW-fonts;);
  149. }
  150. @zh-HK-fonts: 'PingFang HK', 'Hiragino Sans TC', 'Source Han Sans HK', 'Source Han Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', 'Heiti TC', PMingLiU_HKSCS, PMingLiU;
  151. :lang(zh-HK) {
  152. .override-fonts(@default-fonts, @zh-HK-fonts;);
  153. }
  154. @ko-fonts: 'Apple SD Gothic Neo', 'NanumBarunGothic', 'Malgun Gothic', 'Gulim', 'Dotum', 'Nanum Gothic', 'Source Han Sans KR', 'Noto Sans CJK KR';
  155. :lang(ko) {
  156. .override-fonts(@default-fonts, @ko-fonts;);
  157. }
  158. img {
  159. border-radius: 3px;
  160. }
  161. table {
  162. border-collapse: collapse;
  163. }
  164. a {
  165. cursor: pointer;
  166. }
  167. .rounded {
  168. border-radius: .28571429rem !important;
  169. }
  170. .wrap {
  171. word-wrap: break-word;
  172. word-break: break-all;
  173. }
  174. pre,
  175. code,
  176. .mono {
  177. font: 12px @monospaced-fonts, monospace;
  178. &.raw {
  179. padding: 7px 12px;
  180. margin: 10px 0;
  181. background-color: #f8f8f8;
  182. border: 1px solid #dddddd;
  183. border-radius: 3px;
  184. font-size: 13px;
  185. line-height: 1.5;
  186. overflow: auto;
  187. }
  188. &.wrap {
  189. white-space: pre-wrap;
  190. word-break: break-all;
  191. overflow-wrap: break-word;
  192. word-wrap: break-word;
  193. }
  194. }
  195. .dont-break-out {
  196. overflow-wrap: break-word;
  197. word-wrap: break-word;
  198. word-break: break-all;
  199. hyphens: auto;
  200. }
  201. .full.height {
  202. flex-grow: 1;
  203. padding-bottom: 80px;
  204. }
  205. .following.bar {
  206. z-index: 900;
  207. left: 0;
  208. margin: 0 !important;
  209. &.light {
  210. background-color: white;
  211. border-bottom: 1px solid #dddddd;
  212. box-shadow: 0 2px 3px rgba(0, 0, 0, .04);
  213. }
  214. .column .menu {
  215. margin-top: 0;
  216. }
  217. .top.menu a.item.brand {
  218. padding-left: 0;
  219. }
  220. .brand .ui.mini.image {
  221. width: 30px;
  222. }
  223. .top.menu a.item:hover,
  224. .top.menu .dropdown.item:hover,
  225. .top.menu .dropdown.item.active {
  226. background-color: transparent;
  227. }
  228. .top.menu a.item:hover {
  229. color: rgba(0, 0, 0, .45);
  230. }
  231. .top.menu .menu {
  232. z-index: 900;
  233. }
  234. .fitted .svg {
  235. margin-right: 0;
  236. }
  237. .svg {
  238. margin-right: .75em;
  239. }
  240. .searchbox {
  241. background-color: #f4f4f4 !important;
  242. &:focus {
  243. background-color: #e9e9e9 !important;
  244. }
  245. }
  246. .text .svg {
  247. width: 16px;
  248. text-align: center;
  249. }
  250. #navbar {
  251. width: 100vw;
  252. min-height: 52px;
  253. padding: 0 .5rem;
  254. }
  255. #navbar .brand {
  256. margin: 0;
  257. }
  258. @media only screen and (max-width: 767px) {
  259. #navbar:not(.shown) > *:not(:first-child) {
  260. display: none;
  261. }
  262. }
  263. }
  264. .right.stackable.menu {
  265. // responsive fix: this makes sure that the right menu when the page
  266. // is on mobile view will have elements stacked on top of each other.
  267. // no, stackable won't work on right menus.
  268. margin-left: auto;
  269. display: flex;
  270. align-items: inherit;
  271. flex-direction: inherit;
  272. }
  273. .ui {
  274. &.left {
  275. float: left;
  276. }
  277. &.right {
  278. float: right;
  279. }
  280. &.button,
  281. &.menu .item {
  282. user-select: auto;
  283. }
  284. &.container {
  285. &.fluid {
  286. &.padded {
  287. padding: 0 10px 0 10px;
  288. }
  289. }
  290. }
  291. &.form {
  292. .ui.button {
  293. font-weight: normal;
  294. }
  295. }
  296. &.floating.label {
  297. z-index: 10;
  298. }
  299. &.transparent.label {
  300. background-color: transparent;
  301. }
  302. &.nopadding {
  303. padding: 0;
  304. }
  305. &.menu,
  306. &.vertical.menu,
  307. &.segment {
  308. box-shadow: none;
  309. }
  310. /* Overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
  311. /* This fixes the commit graph button on the commits page */
  312. .menu:not(.vertical) .item > .button.compact {
  313. padding: .58928571em 1.125em;
  314. }
  315. .menu:not(.vertical) .item > .button.small {
  316. font-size: .92857143rem;
  317. }
  318. &.menu .ui.dropdown.item .menu .item {
  319. width: 100%;
  320. }
  321. &.dropdown .menu > .item > .floating.label {
  322. z-index: 11;
  323. }
  324. &.dropdown .menu .menu > .item > .floating.label {
  325. z-index: 21;
  326. }
  327. &.dropdown .menu > .header {
  328. font-size: .8em;
  329. }
  330. .text {
  331. &.red {
  332. color: #d95c5c !important;
  333. a {
  334. color: #d95c5c !important;
  335. &:hover {
  336. color: #e67777 !important;
  337. }
  338. }
  339. }
  340. &.blue {
  341. color: #428bca !important;
  342. a {
  343. color: #1155cc !important;
  344. &:hover {
  345. color: #428bca !important;
  346. }
  347. }
  348. }
  349. &.black {
  350. color: #444444;
  351. &:hover {
  352. color: #000000;
  353. }
  354. }
  355. &.grey {
  356. color: #767676 !important;
  357. a {
  358. color: #444444 !important;
  359. &:hover {
  360. color: #000000 !important;
  361. }
  362. }
  363. }
  364. &.light.grey {
  365. color: #888888 !important;
  366. }
  367. &.green {
  368. color: #6cc644 !important;
  369. }
  370. &.purple {
  371. color: #6e5494 !important;
  372. }
  373. &.yellow {
  374. color: #fbbd08 !important;
  375. }
  376. &.orange {
  377. color: #f2711c !important;
  378. }
  379. &.gold {
  380. color: #a1882b !important;
  381. }
  382. &.left {
  383. text-align: left !important;
  384. }
  385. &.right {
  386. text-align: right !important;
  387. }
  388. &.small {
  389. font-size: .75em;
  390. }
  391. &.normal {
  392. font-weight: normal;
  393. }
  394. &.bold {
  395. font-weight: bold;
  396. }
  397. &.italic {
  398. font-style: italic;
  399. }
  400. &.truncate {
  401. overflow: hidden;
  402. text-overflow: ellipsis;
  403. white-space: nowrap;
  404. display: inline-block;
  405. }
  406. &.thin {
  407. font-weight: normal;
  408. }
  409. &.middle {
  410. vertical-align: middle;
  411. }
  412. &.nopadding {
  413. padding: 0;
  414. }
  415. &.nomargin {
  416. margin: 0;
  417. }
  418. }
  419. .message {
  420. text-align: center;
  421. }
  422. .message > ul {
  423. margin-left: auto;
  424. margin-right: auto;
  425. display: table;
  426. text-align: left;
  427. }
  428. &.bottom.attached.message {
  429. font-weight: bold;
  430. text-align: left;
  431. color: black;
  432. .pull-right {
  433. color: black;
  434. }
  435. & > span,
  436. .pull-right > span {
  437. color: #21ba45;
  438. }
  439. }
  440. .header > i + .content {
  441. padding-left: .75rem;
  442. vertical-align: middle;
  443. }
  444. .warning {
  445. &.header {
  446. background-color: #f9edbe !important;
  447. border-color: #efc16b;
  448. }
  449. &.segment {
  450. border-color: #efc16b;
  451. }
  452. }
  453. .info {
  454. &.segment {
  455. border: 1px solid #c5d5dd;
  456. &.top {
  457. background-color: #e6f1f6 !important;
  458. h3,
  459. h4 {
  460. margin-top: 0;
  461. }
  462. h3:last-child {
  463. margin-top: 4px;
  464. }
  465. > :last-child {
  466. margin-bottom: 0;
  467. }
  468. }
  469. }
  470. }
  471. .normal.header {
  472. font-weight: normal;
  473. }
  474. .avatar.image {
  475. border-radius: 3px;
  476. }
  477. .form {
  478. .fake {
  479. display: none !important;
  480. }
  481. .sub.field {
  482. margin-left: 25px;
  483. }
  484. }
  485. .sha.label {
  486. font-family: @monospaced-fonts, monospace;
  487. font-size: 13px;
  488. padding: 6px 10px 4px 10px;
  489. font-weight: normal;
  490. margin: 0 6px;
  491. }
  492. .button.truncate {
  493. display: inline-block;
  494. max-width: 100%;
  495. overflow: hidden;
  496. text-overflow: ellipsis;
  497. vertical-align: top;
  498. white-space: nowrap;
  499. margin-right: 6px;
  500. }
  501. &.status.buttons {
  502. .svg {
  503. margin-right: 4px;
  504. }
  505. }
  506. &.inline.delete-button {
  507. padding: 8px 15px;
  508. font-weight: normal;
  509. }
  510. .background {
  511. &.red {
  512. background-color: #d95c5c !important;
  513. }
  514. &.blue {
  515. background-color: #428bca !important;
  516. }
  517. &.black {
  518. background-color: #444444;
  519. }
  520. &.grey {
  521. background-color: #767676 !important;
  522. }
  523. &.light.grey {
  524. background-color: #888888 !important;
  525. }
  526. &.green {
  527. background-color: #6cc644 !important;
  528. }
  529. &.purple {
  530. background-color: #6e5494 !important;
  531. }
  532. &.yellow {
  533. background-color: #fbbf09 !important;
  534. }
  535. &.orange {
  536. background-color: #f2711c !important;
  537. }
  538. &.gold {
  539. background-color: #a1882b !important;
  540. }
  541. }
  542. .migrate {
  543. color: #888888 !important;
  544. opacity: .5;
  545. a {
  546. color: #444444 !important;
  547. &:hover {
  548. color: #000000 !important;
  549. }
  550. }
  551. }
  552. .border {
  553. border: 1px solid;
  554. &.red {
  555. border-color: #d95c5c !important;
  556. }
  557. &.blue {
  558. border-color: #428bca !important;
  559. }
  560. &.black {
  561. border-color: #444444;
  562. }
  563. &.grey {
  564. border-color: #767676 !important;
  565. }
  566. &.light.grey {
  567. border-color: #888888 !important;
  568. }
  569. &.green {
  570. border-color: #6cc644 !important;
  571. }
  572. &.purple {
  573. border-color: #6e5494 !important;
  574. }
  575. &.yellow {
  576. border-color: #fbbd08 !important;
  577. }
  578. &.orange {
  579. border-color: #f2711c !important;
  580. }
  581. &.gold {
  582. border-color: #a1882b !important;
  583. }
  584. }
  585. .branch-tag-choice {
  586. line-height: 20px;
  587. }
  588. &.pagination.menu {
  589. @media only screen and (max-width: 767px) {
  590. .item:not(.active):not(.navigation),
  591. .item.navigation span.navigation_label {
  592. display: none;
  593. }
  594. }
  595. }
  596. }
  597. .file-comment {
  598. font: 12px @monospaced-fonts, monospace;
  599. color: rgba(0, 0, 0, .87);
  600. }
  601. .ui.floating.dropdown {
  602. .overflow.menu {
  603. .scrolling.menu.items {
  604. border-radius: 0 !important;
  605. box-shadow: none !important;
  606. border-bottom: 1px solid rgba(34, 36, 38, .15);
  607. }
  608. }
  609. }
  610. .user-menu > .item {
  611. width: 100%;
  612. border-radius: 0 !important;
  613. }
  614. .scrolling.menu {
  615. .item.selected {
  616. font-weight: 700 !important;
  617. }
  618. }
  619. footer {
  620. background-color: white;
  621. border-top: 1px solid #d6d6d6;
  622. width: 100%;
  623. flex-basis: 40px;
  624. color: #888888;
  625. .container {
  626. width: 100vw !important;
  627. padding: 0 .5rem;
  628. max-width: calc(100vw - 1rem) !important;
  629. .fa {
  630. width: 16px;
  631. text-align: center;
  632. color: #428bca;
  633. }
  634. .links > * {
  635. border-left: 1px solid #d6d6d6;
  636. padding-left: 8px;
  637. margin-left: 5px;
  638. &:first-child {
  639. border-left: 0;
  640. }
  641. }
  642. }
  643. .ui.language .menu {
  644. max-height: 500px;
  645. overflow-y: auto;
  646. margin-bottom: 7px;
  647. }
  648. .ui {
  649. &.left,
  650. &.right {
  651. line-height: 40px;
  652. }
  653. }
  654. }
  655. .hide {
  656. display: none;
  657. &.show-outdated {
  658. display: none !important;
  659. }
  660. &.hide-outdated {
  661. display: none !important;
  662. }
  663. }
  664. .center {
  665. text-align: center;
  666. }
  667. .generate-img(16);
  668. .generate-img(@n, @i: 1) when (@i =< @n) {
  669. .img-@{i} {
  670. width: (2px * @i) !important;
  671. height: (2px * @i) !important;
  672. }
  673. .generate-img(@n, (@i + 1));
  674. }
  675. // Conditional display
  676. @media only screen and (min-width: 768px) {
  677. .mobile-only,
  678. .ui.button.mobile-only {
  679. display: none;
  680. }
  681. // has the same behaviour of sr-only, hiding the content for
  682. // non-screenreaders, but is shown on mobile devices.
  683. .sr-mobile-only {
  684. .sr-only();
  685. }
  686. }
  687. @media only screen and (max-width: 767px) {
  688. .not-mobile {
  689. display: none;
  690. }
  691. }
  692. // Accessibility
  693. .sr-only {
  694. position: absolute;
  695. width: 1px;
  696. height: 1px;
  697. padding: 0;
  698. margin: -1px;
  699. overflow: hidden;
  700. clip: rect(0, 0, 0, 0);
  701. border: 0;
  702. }
  703. .sr-only-focusable:active,
  704. .sr-only-focusable:focus {
  705. position: static;
  706. width: auto;
  707. height: auto;
  708. margin: 0;
  709. overflow: visible;
  710. clip: auto;
  711. }
  712. @media only screen and (max-width: 991px) and (min-width: 768px) {
  713. .ui.container {
  714. width: 95%;
  715. }
  716. }
  717. /* Overrides some styles of the Highlight.js plugin */
  718. .hljs {
  719. background: inherit !important;
  720. padding: 0 !important;
  721. }
  722. .ui.menu.new-menu {
  723. justify-content: center !important;
  724. padding-top: 15px !important;
  725. margin-top: -15px !important;
  726. margin-bottom: 15px !important;
  727. background-color: #fafafa !important;
  728. border-width: 1px !important;
  729. }
  730. @media only screen and (max-width: 1200px) {
  731. .ui.menu.new-menu {
  732. overflow-x: auto !important;
  733. justify-content: left !important;
  734. padding-bottom: 5px;
  735. }
  736. .ui.menu.new-menu::-webkit-scrollbar {
  737. height: 8px;
  738. display: none;
  739. }
  740. .ui.menu.new-menu:hover::-webkit-scrollbar {
  741. display: block;
  742. }
  743. .ui.menu.new-menu::-webkit-scrollbar-track {
  744. background: rgba(0, 0, 0, .01);
  745. }
  746. .ui.menu.new-menu::-webkit-scrollbar-thumb {
  747. background: rgba(0, 0, 0, .2);
  748. }
  749. .ui.menu.new-menu:after {
  750. position: absolute;
  751. margin-top: -15px;
  752. display: block;
  753. background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
  754. content: ' ';
  755. right: 0;
  756. height: 53px;
  757. z-index: 1000;
  758. width: 60px;
  759. clear: none;
  760. visibility: visible;
  761. }
  762. .ui.menu.new-menu a.item:last-child {
  763. padding-right: 30px !important;
  764. }
  765. }
  766. [v-cloak] {
  767. display: none !important;
  768. }
  769. .repos-search {
  770. padding-bottom: 0 !important;
  771. }
  772. .repos-filter {
  773. margin-top: 0 !important;
  774. border-bottom-width: 0 !important;
  775. margin-bottom: 2px !important;
  776. }
  777. #user-heatmap {
  778. width: 107%; // Fixes newest contributions not showing
  779. text-align: center;
  780. svg:not(:root) {
  781. overflow: inherit;
  782. padding: 0 !important;
  783. }
  784. @media only screen and (max-width: 1200px) {
  785. & {
  786. display: none;
  787. }
  788. }
  789. .total-contributions {
  790. text-align: left;
  791. font-weight: 500;
  792. margin-top: 0;
  793. }
  794. }
  795. .heatmap-color-0 {
  796. background-color: #f4f4f4;
  797. }
  798. .heatmap-color-1 {
  799. background-color: #d8efbf;
  800. }
  801. .heatmap-color-2 {
  802. background-color: #9fdb81;
  803. }
  804. .heatmap-color-3 {
  805. background-color: #66c74b;
  806. }
  807. .heatmap-color-4 {
  808. background-color: #609926;
  809. }
  810. .heatmap-color-5 {
  811. background-color: #025900;
  812. }
  813. .activity-bar-graph {
  814. background-color: #6cc644;
  815. color: #000000;
  816. }
  817. .activity-bar-graph-alt {
  818. color: #000000;
  819. }
  820. .archived-icon {
  821. color: lighten(#000000, 70%) !important;
  822. }
  823. .oauth2-authorize-application-box {
  824. margin-top: 3em !important;
  825. }
  826. /* Tab color tweaks */
  827. .ui.tabular.menu .item {
  828. color: rgba(0, 0, 0, .5);
  829. }
  830. .ui.tabular.menu .item:hover {
  831. color: rgba(0, 0, 0, .8);
  832. }
  833. .ui.tabular.menu .item.active {
  834. color: rgba(0, 0, 0, .9);
  835. }
  836. /* multiple radio or checkboxes as inline element */
  837. .inline-grouped-list {
  838. display: inline-block;
  839. vertical-align: top;
  840. > .ui {
  841. display: block;
  842. margin-top: 5px;
  843. margin-bottom: 10px;
  844. &:first-child {
  845. margin-top: 1px;
  846. }
  847. }
  848. }
  849. i.icons .icon:first-child {
  850. margin-right: 0;
  851. }
  852. i.icon.centerlock {
  853. top: 1.45em;
  854. }
  855. .ui.label {
  856. padding: .3em .5em;
  857. }
  858. .ui.label > .detail .icons {
  859. margin-right: .25em;
  860. }
  861. .ui.label > .detail .icons .icon {
  862. margin-right: 0;
  863. }
  864. .lines-num {
  865. vertical-align: top;
  866. text-align: right !important;
  867. color: #999999;
  868. background: #f5f5f5;
  869. width: 1%;
  870. user-select: none;
  871. span {
  872. &:before {
  873. content: attr(data-line-number);
  874. line-height: 20px !important;
  875. padding: 0 10px;
  876. cursor: pointer;
  877. display: block;
  878. }
  879. }
  880. }
  881. .lines-num,
  882. .lines-code {
  883. padding: 0 !important;
  884. pre,
  885. ol,
  886. .hljs {
  887. background-color: white;
  888. margin: 0;
  889. padding: 0 !important;
  890. li {
  891. display: block;
  892. width: calc(100% - 1ch);
  893. margin-left: 1ch;
  894. }
  895. }
  896. }
  897. .lines-commit {
  898. vertical-align: top;
  899. color: #999999;
  900. padding: 0 !important;
  901. background: #f5f5f5;
  902. width: 1%;
  903. -moz-user-select: none;
  904. -ms-user-select: none;
  905. -webkit-user-select: none;
  906. user-select: none;
  907. .blame-info {
  908. width: 350px;
  909. max-width: 350px;
  910. display: block;
  911. user-select: none;
  912. padding: 0 0 0 10px;
  913. .blame-data {
  914. display: flex;
  915. font-family: @default-fonts;
  916. .blame-message {
  917. flex-grow: 2;
  918. overflow: hidden;
  919. white-space: nowrap;
  920. text-overflow: ellipsis;
  921. line-height: 20px;
  922. }
  923. .blame-time,
  924. .blame-avatar {
  925. flex-shrink: 0;
  926. }
  927. }
  928. }
  929. .ui.avatar.image {
  930. height: 18px;
  931. width: 18px;
  932. }
  933. }
  934. .lines-num,
  935. .lines-code,
  936. .lines-commit {
  937. .bottom-line {
  938. border-bottom: 1px solid #eaecef;
  939. }
  940. }
  941. .code-view {
  942. overflow: auto;
  943. overflow-x: auto;
  944. overflow-y: hidden;
  945. &.has-context-menu {
  946. overflow: visible;
  947. overflow-x: visible;
  948. overflow-y: visible;
  949. }
  950. *:not(.fa):not(.svg):not(.icon) {
  951. font-size: 12px;
  952. font-family: @monospaced-fonts, monospace;
  953. line-height: 20px;
  954. }
  955. table {
  956. width: 100%;
  957. }
  958. .active {
  959. background: #fff866;
  960. }
  961. }
  962. .octicon-tiny {
  963. font-size: .85714286rem;
  964. }
  965. .ui.basic.blue.button,
  966. .ui.basic.blue.buttons .button {
  967. box-shadow: inset 0 0 0 1px #1678c2 !important;
  968. color: #1678c2 !important;
  969. }
  970. .ui.label > img {
  971. width: auto !important;
  972. vertical-align: middle;
  973. height: 2.1666em !important;
  974. }
  975. .svg {
  976. span.green & {
  977. color: #21ba45;
  978. }
  979. span.red & {
  980. color: #db2828;
  981. }
  982. span.purple & {
  983. color: #a333c8;
  984. }
  985. }
  986. .ui.popup .ui.label {
  987. margin-bottom: .4em;
  988. }
  989. .color-icon {
  990. margin-right: .5em;
  991. margin-left: .5em;
  992. display: inline-block;
  993. border: 0 solid rgba(0, 0, 0, .2);
  994. border-radius: 100%;
  995. height: 14px;
  996. width: 14px;
  997. position: relative;
  998. top: 2px;
  999. }
  1000. .ui.label > .color-icon {
  1001. margin-left: 0;
  1002. }
  1003. .invisible {
  1004. visibility: hidden;
  1005. }
  1006. /* https://github.com/go-gitea/gitea/issues/10210 */
  1007. .ui.attached.segment + .ui.attached.header {
  1008. margin-top: 1rem;
  1009. }
  1010. /* limit width of all direct dropdown menu children */
  1011. /* https://github.com/go-gitea/gitea/pull/10835 */
  1012. .dropdown:not(.selection) > .menu:not(.review-box) > * {
  1013. max-width: 300px;
  1014. overflow-x: hidden;
  1015. text-overflow: ellipsis;
  1016. }
  1017. .dropdown:not(.selection) > .menu.review-box > * {
  1018. @media only screen and (max-height: 700px) {
  1019. .CodeMirror,
  1020. .CodeMirror-scroll {
  1021. min-height: 100px;
  1022. }
  1023. }
  1024. }
  1025. .text-label {
  1026. display: inline-flex !important;
  1027. align-items: center !important;
  1028. }
  1029. .text-label .color-icon {
  1030. position: static !important;
  1031. }
  1032. .emoji,
  1033. .reaction {
  1034. font-size: 1.5em;
  1035. line-height: 1.2;
  1036. font-weight: 400;
  1037. vertical-align: middle;
  1038. font-style: normal;
  1039. }
  1040. #issue-title > .emoji {
  1041. font-size: 1em;
  1042. }
  1043. .commit-summary > .emoji {
  1044. font-size: 1em;
  1045. }
  1046. .emoji img,
  1047. .reaction img {
  1048. border-width: 0 !important;
  1049. margin: 0 !important;
  1050. width: 1em !important;
  1051. height: 1em !important;
  1052. vertical-align: middle !important;
  1053. }