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.

104 lines
1.6 KiB

9 years ago
9 years ago
9 years ago
9 years ago
  1. @footer-margin: 40px;
  2. body {
  3. font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
  4. background-color: #FFFFFF;
  5. }
  6. .full.height {
  7. padding: 0;
  8. margin: 0 0 -87px 0;
  9. min-height: 100%;
  10. }
  11. .following.bar {
  12. z-index: 900;
  13. left: 0;
  14. width: 100%;
  15. padding: 0.7em 0;
  16. &.light {
  17. background-color: #FFFFFF;
  18. border-bottom: 1px solid #DDDDDD;
  19. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.04);
  20. }
  21. .column .menu {
  22. margin-top: 0;
  23. }
  24. .brand {
  25. float: left;
  26. margin-right: 5px;
  27. }
  28. .searchbox {
  29. background-color: rgb(244, 244, 244)!important;
  30. &:focus {
  31. background-color: rgb(233, 233, 233)!important;
  32. }
  33. }
  34. }
  35. footer {
  36. margin-top: @footer-margin!important;
  37. background-color: white;
  38. border-top: 1px solid #d6d6d6;
  39. clear: both;
  40. width: 100%;
  41. color: #888888;
  42. .ui {
  43. &.left {
  44. float: left;
  45. }
  46. &.right {
  47. float: right;
  48. }
  49. }
  50. .fa {
  51. width: 16px;
  52. text-align: center;
  53. color: #428bca;
  54. }
  55. .links >* {
  56. border-left: 1px solid #d6d6d6;
  57. padding-left: 8px;
  58. margin-left: 5px;
  59. &:first-child {
  60. border-left: none;
  61. }
  62. }
  63. }
  64. .hide {
  65. display: none;
  66. }
  67. .center {
  68. text-align: center;
  69. }
  70. .text-error {
  71. color: #d95c5c !important;
  72. }
  73. .generate-img(16);
  74. .generate-img(@n, @i: 1) when (@i =< @n) {
  75. .img-@{i} {
  76. width: (2px * @i);
  77. height: (2px * @i);
  78. }
  79. .generate-img(@n, (@i + 1));
  80. }
  81. // Accessibility
  82. .sr-only {
  83. position: absolute;
  84. width: 1px;
  85. height: 1px;
  86. padding: 0;
  87. margin: -1px;
  88. overflow: hidden;
  89. clip: rect(0, 0, 0, 0);
  90. border: 0;
  91. }
  92. .sr-only-focusable:active,
  93. .sr-only-focusable:focus {
  94. position: static;
  95. width: auto;
  96. height: auto;
  97. margin: 0;
  98. overflow: visible;
  99. clip: auto;
  100. }