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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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. &.menu,
  272. &.vertical.menu,
  273. &.segment {
  274. box-shadow: none;
  275. }
  276. /* Overide semantic selector '.ui.menu:not(.vertical) .item > .button' */
  277. /* This fixes the commit graph button on the commits page */
  278. .menu:not(.vertical) .item > .button.compact {
  279. padding: 0.58928571em 1.125em;
  280. }
  281. .menu:not(.vertical) .item > .button.small {
  282. font-size: 0.92857143rem;
  283. }
  284. &.menu .ui.dropdown.item .menu .item {
  285. width: 100%;
  286. }
  287. &.dropdown .menu > .item > .floating.label {
  288. z-index: 11;
  289. }
  290. &.dropdown .menu .menu > .item > .floating.label {
  291. z-index: 21;
  292. }
  293. .text {
  294. &.red {
  295. color: #d95c5c !important;
  296. a {
  297. color: #d95c5c !important;
  298. &:hover {
  299. color: #e67777 !important;
  300. }
  301. }
  302. }
  303. &.blue {
  304. color: #428bca !important;
  305. a {
  306. color: #1155cc !important;
  307. &:hover {
  308. color: #428bca !important;
  309. }
  310. }
  311. }
  312. &.black {
  313. color: #444444;
  314. &:hover {
  315. color: #000000;
  316. }
  317. }
  318. &.grey {
  319. color: #767676 !important;
  320. a {
  321. color: #444444 !important;
  322. &:hover {
  323. color: #000000 !important;
  324. }
  325. }
  326. }
  327. &.light.grey {
  328. color: #888888 !important;
  329. }
  330. &.green {
  331. color: #6cc644 !important;
  332. }
  333. &.purple {
  334. color: #6e5494 !important;
  335. }
  336. &.yellow {
  337. color: #fbbd08 !important;
  338. }
  339. &.gold {
  340. color: #a1882b !important;
  341. }
  342. &.left {
  343. text-align: left !important;
  344. }
  345. &.right {
  346. text-align: right !important;
  347. }
  348. &.small {
  349. font-size: 0.75em;
  350. }
  351. &.normal {
  352. font-weight: normal;
  353. }
  354. &.bold {
  355. font-weight: bold;
  356. }
  357. &.italic {
  358. font-style: italic;
  359. }
  360. &.truncate {
  361. overflow: hidden;
  362. text-overflow: ellipsis;
  363. white-space: nowrap;
  364. display: inline-block;
  365. }
  366. &.thin {
  367. font-weight: normal;
  368. }
  369. &.middle {
  370. vertical-align: middle;
  371. }
  372. }
  373. .message {
  374. text-align: center;
  375. }
  376. &.bottom.attached.message {
  377. font-weight: bold;
  378. text-align: left;
  379. color: black;
  380. .pull-right {
  381. color: black;
  382. }
  383. & > span,
  384. .pull-right > span {
  385. color: #21ba45;
  386. }
  387. }
  388. .header > i + .content {
  389. padding-left: 0.75rem;
  390. vertical-align: middle;
  391. }
  392. .warning {
  393. &.header {
  394. background-color: #f9edbe !important;
  395. border-color: #efc16b;
  396. }
  397. &.segment {
  398. border-color: #efc16b;
  399. }
  400. }
  401. .info {
  402. &.segment {
  403. border: 1px solid #c5d5dd;
  404. &.top {
  405. background-color: #e6f1f6 !important;
  406. h3,
  407. h4 {
  408. margin-top: 0;
  409. }
  410. h3:last-child {
  411. margin-top: 4px;
  412. }
  413. > :last-child {
  414. margin-bottom: 0;
  415. }
  416. }
  417. }
  418. }
  419. .normal.header {
  420. font-weight: normal;
  421. }
  422. .avatar.image {
  423. border-radius: 3px;
  424. }
  425. .form {
  426. .fake {
  427. display: none !important;
  428. }
  429. .sub.field {
  430. margin-left: 25px;
  431. }
  432. }
  433. .sha.label {
  434. font-family: @monospaced-fonts, monospace;
  435. font-size: 13px;
  436. padding: 6px 10px 4px 10px;
  437. font-weight: normal;
  438. margin: 0 6px;
  439. }
  440. &.status.buttons {
  441. .octicon {
  442. margin-right: 4px;
  443. }
  444. }
  445. &.inline.delete-button {
  446. padding: 8px 15px;
  447. font-weight: normal;
  448. }
  449. .background {
  450. &.red {
  451. background-color: #d95c5c !important;
  452. }
  453. &.blue {
  454. background-color: #428bca !important;
  455. }
  456. &.black {
  457. background-color: #444444;
  458. }
  459. &.grey {
  460. background-color: #767676 !important;
  461. }
  462. &.light.grey {
  463. background-color: #888888 !important;
  464. }
  465. &.green {
  466. background-color: #6cc644 !important;
  467. }
  468. &.purple {
  469. background-color: #6e5494 !important;
  470. }
  471. &.yellow {
  472. background-color: #fbbf09 !important;
  473. }
  474. &.gold {
  475. background-color: #a1882b !important;
  476. }
  477. }
  478. .migrate {
  479. color: #888888 !important;
  480. opacity: 0.5;
  481. a {
  482. color: #444444 !important;
  483. &:hover {
  484. color: #000000 !important;
  485. }
  486. }
  487. }
  488. .border {
  489. border: 1px solid;
  490. &.red {
  491. border-color: #d95c5c !important;
  492. }
  493. &.blue {
  494. border-color: #428bca !important;
  495. }
  496. &.black {
  497. border-color: #444444;
  498. }
  499. &.grey {
  500. border-color: #767676 !important;
  501. }
  502. &.light.grey {
  503. border-color: #888888 !important;
  504. }
  505. &.green {
  506. border-color: #6cc644 !important;
  507. }
  508. &.purple {
  509. border-color: #6e5494 !important;
  510. }
  511. &.yellow {
  512. border-color: #fbbd08 !important;
  513. }
  514. &.gold {
  515. border-color: #a1882b !important;
  516. }
  517. }
  518. .branch-tag-choice {
  519. line-height: 20px;
  520. }
  521. &.pagination.menu {
  522. @media only screen and (max-width: 767px) {
  523. .item:not(.active):not(.navigation),
  524. .item.navigation span.navigation_label {
  525. display: none;
  526. }
  527. }
  528. }
  529. }
  530. .file-comment {
  531. font: 12px @monospaced-fonts, monospace;
  532. color: rgba(0, 0, 0, 0.87);
  533. }
  534. .ui.floating.dropdown {
  535. .overflow.menu {
  536. .scrolling.menu.items {
  537. border-radius: 0 !important;
  538. box-shadow: none !important;
  539. border-bottom: 1px solid rgba(34, 36, 38, 0.15);
  540. }
  541. }
  542. }
  543. .user-menu > .item {
  544. width: 100%;
  545. border-radius: 0 !important;
  546. }
  547. .scrolling.menu {
  548. .item.selected {
  549. font-weight: 700 !important;
  550. }
  551. }
  552. footer {
  553. background-color: white;
  554. border-top: 1px solid #d6d6d6;
  555. width: 100%;
  556. flex-basis: 40px;
  557. color: #888888;
  558. .container {
  559. width: 100vw !important;
  560. padding: 0 0.5rem;
  561. .fa {
  562. width: 16px;
  563. text-align: center;
  564. color: #428bca;
  565. }
  566. .links > * {
  567. border-left: 1px solid #d6d6d6;
  568. padding-left: 8px;
  569. margin-left: 5px;
  570. &:first-child {
  571. border-left: 0;
  572. }
  573. }
  574. }
  575. .ui.language .menu {
  576. max-height: 500px;
  577. overflow-y: auto;
  578. margin-bottom: 7px;
  579. }
  580. .ui {
  581. &.left,
  582. &.right {
  583. line-height: 40px;
  584. }
  585. }
  586. }
  587. .hide {
  588. display: none;
  589. &.show-outdated {
  590. display: none !important;
  591. }
  592. &.hide-outdated {
  593. display: none !important;
  594. }
  595. }
  596. .center {
  597. text-align: center;
  598. }
  599. .generate-img(16);
  600. .generate-img(@n, @i: 1) when (@i =< @n) {
  601. .img-@{i} {
  602. width: (2px * @i) !important;
  603. height: (2px * @i) !important;
  604. }
  605. .generate-img(@n, (@i + 1));
  606. }
  607. // Conditional display
  608. @media only screen and (min-width: 768px) {
  609. .mobile-only,
  610. .ui.button.mobile-only {
  611. display: none;
  612. }
  613. // has the same behaviour of sr-only, hiding the content for
  614. // non-screenreaders, but is shown on mobile devices.
  615. .sr-mobile-only {
  616. .sr-only();
  617. }
  618. }
  619. @media only screen and (max-width: 767px) {
  620. .not-mobile {
  621. display: none;
  622. }
  623. }
  624. // Accessibility
  625. .sr-only {
  626. position: absolute;
  627. width: 1px;
  628. height: 1px;
  629. padding: 0;
  630. margin: -1px;
  631. overflow: hidden;
  632. clip: rect(0, 0, 0, 0);
  633. border: 0;
  634. }
  635. .sr-only-focusable:active,
  636. .sr-only-focusable:focus {
  637. position: static;
  638. width: auto;
  639. height: auto;
  640. margin: 0;
  641. overflow: visible;
  642. clip: auto;
  643. }
  644. @media only screen and (max-width: 991px) and (min-width: 768px) {
  645. .ui.container {
  646. width: 95%;
  647. }
  648. }
  649. /* Overrides some styles of the Highlight.js plugin */
  650. .hljs {
  651. background: inherit !important;
  652. padding: 0 !important;
  653. }
  654. .ui.menu.new-menu {
  655. justify-content: center !important;
  656. padding-top: 15px !important;
  657. margin-top: -15px !important;
  658. margin-bottom: 15px !important;
  659. background-color: #fafafa !important;
  660. border-width: 1px !important;
  661. }
  662. @media only screen and (max-width: 1200px) {
  663. .ui.menu.new-menu {
  664. overflow-x: auto !important;
  665. justify-content: left !important;
  666. padding-bottom: 5px;
  667. }
  668. .ui.menu.new-menu::-webkit-scrollbar {
  669. height: 8px;
  670. display: none;
  671. }
  672. .ui.menu.new-menu:hover::-webkit-scrollbar {
  673. display: block;
  674. }
  675. .ui.menu.new-menu::-webkit-scrollbar-track {
  676. background: rgba(0, 0, 0, 0.01);
  677. }
  678. .ui.menu.new-menu::-webkit-scrollbar-thumb {
  679. background: rgba(0, 0, 0, 0.2);
  680. }
  681. .ui.menu.new-menu:after {
  682. position: absolute;
  683. margin-top: -15px;
  684. display: block;
  685. background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
  686. content: ' ';
  687. right: 0;
  688. height: 53px;
  689. z-index: 1000;
  690. width: 60px;
  691. clear: none;
  692. visibility: visible;
  693. }
  694. .ui.menu.new-menu a.item:last-child {
  695. padding-right: 30px !important;
  696. }
  697. }
  698. [v-cloak] {
  699. display: none !important;
  700. }
  701. .repos-search {
  702. padding-bottom: 0 !important;
  703. }
  704. .repos-filter {
  705. margin-top: 0 !important;
  706. border-bottom-width: 0 !important;
  707. margin-bottom: 2px !important;
  708. }
  709. #user-heatmap {
  710. width: 107%; // Fixes newest contributions not showing
  711. text-align: center;
  712. svg:not(:root) {
  713. overflow: inherit;
  714. padding: 0 !important;
  715. }
  716. @media only screen and (max-width: 1200px) {
  717. & {
  718. display: none;
  719. }
  720. }
  721. .total-contributions {
  722. text-align: left;
  723. font-weight: 500;
  724. margin-top: 0;
  725. }
  726. }
  727. .heatmap-color-0 {
  728. background-color: #f4f4f4;
  729. }
  730. .heatmap-color-1 {
  731. background-color: #d7e5db;
  732. }
  733. .heatmap-color-2 {
  734. background-color: #adc7ab;
  735. }
  736. .heatmap-color-3 {
  737. background-color: #83a87b;
  738. }
  739. .heatmap-color-4 {
  740. background-color: #598a4b;
  741. }
  742. .heatmap-color-5 {
  743. background-color: #2f6b1b;
  744. }
  745. .archived-icon {
  746. color: lighten(#000000, 70%) !important;
  747. }
  748. .oauth2-authorize-application-box {
  749. margin-top: 3em !important;
  750. }
  751. /* Tab color tweaks */
  752. .ui.tabular.menu .item {
  753. color: rgba(0, 0, 0, 0.5);
  754. }
  755. .ui.tabular.menu .item:hover {
  756. color: rgba(0, 0, 0, 0.8);
  757. }
  758. .ui.tabular.menu .item.active {
  759. color: rgba(0, 0, 0, 0.9);
  760. }
  761. /* multiple radio or checkboxes as inline element */
  762. .inline-grouped-list {
  763. display: inline-block;
  764. vertical-align: top;
  765. > .ui {
  766. display: block;
  767. margin-top: 5px;
  768. margin-bottom: 10px;
  769. &:first-child {
  770. margin-top: 1px;
  771. }
  772. }
  773. }
  774. i.icons .icon:first-child {
  775. margin-right: 0;
  776. }
  777. i.icon.centerlock {
  778. top: 1.5em;
  779. }
  780. .ui.label > .detail .icons {
  781. margin-right: 0.25em;
  782. }
  783. .ui.label > .detail .icons .icon {
  784. margin-right: 0;
  785. }
  786. .lines-num {
  787. vertical-align: top;
  788. text-align: right !important;
  789. color: #999999;
  790. background: #f5f5f5;
  791. width: 1%;
  792. user-select: none;
  793. span {
  794. &:before {
  795. content: attr(data-line-number);
  796. line-height: 20px !important;
  797. padding: 0 10px;
  798. cursor: pointer;
  799. display: block;
  800. }
  801. }
  802. }
  803. .lines-num,
  804. .lines-code {
  805. padding: 0 !important;
  806. pre,
  807. ol,
  808. .hljs {
  809. background-color: white;
  810. margin: 0;
  811. padding: 0 !important;
  812. li {
  813. display: block;
  814. width: 100%;
  815. &:before {
  816. content: ' ';
  817. }
  818. }
  819. }
  820. }
  821. .lines-commit {
  822. vertical-align: top;
  823. color: #999999;
  824. padding: 0 !important;
  825. background: #f5f5f5;
  826. width: 1%;
  827. -moz-user-select: none;
  828. -ms-user-select: none;
  829. -webkit-user-select: none;
  830. user-select: none;
  831. .blame-info {
  832. width: 350px;
  833. max-width: 350px;
  834. display: block;
  835. user-select: none;
  836. padding: 0 0 0 10px;
  837. .blame-data {
  838. display: flex;
  839. font-family: @default-fonts;
  840. .blame-message {
  841. flex-grow: 2;
  842. overflow: hidden;
  843. white-space: nowrap;
  844. text-overflow: ellipsis;
  845. line-height: 20px;
  846. }
  847. .blame-time,
  848. .blame-avatar {
  849. flex-shrink: 0;
  850. }
  851. }
  852. }
  853. .ui.avatar.image {
  854. height: 18px;
  855. width: 18px;
  856. }
  857. }
  858. .lines-num,
  859. .lines-code,
  860. .lines-commit {
  861. .bottom-line {
  862. border-bottom: 1px solid #eaecef;
  863. }
  864. }
  865. .code-view {
  866. overflow: auto;
  867. overflow-x: auto;
  868. overflow-y: hidden;
  869. * {
  870. font-size: 12px;
  871. font-family: @monospaced-fonts, monospace;
  872. line-height: 20px;
  873. }
  874. table {
  875. width: 100%;
  876. }
  877. .active {
  878. background: #fff866;
  879. }
  880. }