You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_base.less 2.4 kB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @footer-margin: 40px;
  2. body {
  3. font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
  4. background-color: #FAFAFA;
  5. }
  6. img {
  7. border-radius: 3px;
  8. }
  9. .full.height {
  10. padding: 0;
  11. margin: 0 0 -@footer-margin*2 0;
  12. min-height: 100%;
  13. }
  14. .following.bar {
  15. z-index: 900;
  16. left: 0;
  17. width: 100%;
  18. padding: 5px 0;
  19. &.light {
  20. background-color: white;
  21. border-bottom: 1px solid #DDDDDD;
  22. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
  23. }
  24. .column .menu {
  25. margin-top: 0;
  26. }
  27. .top.menu a.item.brand {
  28. padding-left: 0;
  29. }
  30. .brand .ui.mini.image {
  31. width: 30px;
  32. }
  33. .top.menu a.item:hover,
  34. .top.menu .dropdown.item:hover,
  35. .top.menu .dropdown.item.active {
  36. background-color: transparent;
  37. }
  38. .top.menu a.item:hover {
  39. color: rgba(0,0,0,.45);
  40. }
  41. .head.link.item {
  42. padding-right: 0!important;
  43. .dropdown.icon,
  44. .menu .octicon {
  45. margin-right: 5px;
  46. }
  47. }
  48. .avatar > .ui.image {
  49. margin-right: 0;
  50. }
  51. .searchbox {
  52. background-color: rgb(244, 244, 244)!important;
  53. &:focus {
  54. background-color: rgb(233, 233, 233)!important;
  55. }
  56. }
  57. .octicon {
  58. width: 16px;
  59. text-align: center;
  60. }
  61. }
  62. .ui {
  63. &.left {
  64. float: left;
  65. }
  66. &.right {
  67. float: right;
  68. }
  69. .text {
  70. &.red {
  71. color: #d95c5c!important;
  72. }
  73. }
  74. .message {
  75. text-align: center;
  76. }
  77. }
  78. footer {
  79. margin-top: @footer-margin!important;
  80. height: @footer-margin;
  81. background-color: white;
  82. border-top: 1px solid #d6d6d6;
  83. clear: both;
  84. width: 100%;
  85. color: #888888;
  86. .container {
  87. padding-top: 10px;
  88. .fa {
  89. width: 16px;
  90. text-align: center;
  91. color: #428bca;
  92. }
  93. .ui.language.dropdown {
  94. z-index: 10000;
  95. }
  96. .links >* {
  97. border-left: 1px solid #d6d6d6;
  98. padding-left: 8px;
  99. margin-left: 5px;
  100. &:first-child {
  101. border-left: none;
  102. }
  103. }
  104. }
  105. }
  106. .hide {
  107. display: none;
  108. }
  109. .center {
  110. text-align: center;
  111. }
  112. .generate-img(16);
  113. .generate-img(@n, @i: 1) when (@i =< @n) {
  114. .img-@{i} {
  115. width: (2px * @i)!important;
  116. height: (2px * @i)!important;
  117. }
  118. .generate-img(@n, (@i + 1));
  119. }
  120. .octicon.icon {
  121. font-family: octicons;
  122. }
  123. // Accessibility
  124. .sr-only {
  125. position: absolute;
  126. width: 1px;
  127. height: 1px;
  128. padding: 0;
  129. margin: -1px;
  130. overflow: hidden;
  131. clip: rect(0, 0, 0, 0);
  132. border: 0;
  133. }
  134. .sr-only-focusable:active,
  135. .sr-only-focusable:focus {
  136. position: static;
  137. width: auto;
  138. height: auto;
  139. margin: 0;
  140. overflow: visible;
  141. clip: auto;
  142. }