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

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