index.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. @import "./variables.scss";
  2. @import "./mixin.scss";
  3. @import "./transition.scss";
  4. @import "./element-ui.scss";
  5. @import "./sidebar.scss";
  6. @import "./btn.scss";
  7. body {
  8. height: 100%;
  9. -moz-osx-font-smoothing: grayscale;
  10. -webkit-font-smoothing: antialiased;
  11. text-rendering: optimizeLegibility;
  12. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  13. Microsoft YaHei, Arial, sans-serif;
  14. }
  15. label {
  16. font-weight: 700;
  17. }
  18. html {
  19. height: 100%;
  20. box-sizing: border-box;
  21. }
  22. #app {
  23. height: 100%;
  24. }
  25. *,
  26. *:before,
  27. *:after {
  28. box-sizing: inherit;
  29. }
  30. .no-padding {
  31. padding: 0px !important;
  32. }
  33. .padding-content {
  34. padding: 4px 0;
  35. }
  36. a:focus,
  37. a:active {
  38. outline: none;
  39. }
  40. a,
  41. a:focus,
  42. a:hover {
  43. cursor: pointer;
  44. color: inherit;
  45. text-decoration: none;
  46. }
  47. div:focus {
  48. outline: none;
  49. }
  50. .fr {
  51. float: right;
  52. }
  53. .fl {
  54. float: left;
  55. }
  56. .pr-5 {
  57. padding-right: 5px;
  58. }
  59. .pl-5 {
  60. padding-left: 5px;
  61. }
  62. .block {
  63. display: block;
  64. }
  65. .pointer {
  66. cursor: pointer;
  67. }
  68. .inlineBlock {
  69. display: block;
  70. }
  71. .clearfix {
  72. &:after {
  73. visibility: hidden;
  74. display: block;
  75. font-size: 0;
  76. content: " ";
  77. clear: both;
  78. height: 0;
  79. }
  80. }
  81. aside {
  82. background: #eef1f6;
  83. padding: 8px 24px;
  84. margin-bottom: 20px;
  85. border-radius: 2px;
  86. display: block;
  87. line-height: 32px;
  88. font-size: 16px;
  89. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
  90. Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  91. color: #2c3e50;
  92. -webkit-font-smoothing: antialiased;
  93. -moz-osx-font-smoothing: grayscale;
  94. a {
  95. color: #337ab7;
  96. cursor: pointer;
  97. &:hover {
  98. color: rgb(32, 160, 255);
  99. }
  100. }
  101. }
  102. //main-container全局样式
  103. .app-container {
  104. padding: 20px;
  105. }
  106. .components-container {
  107. margin: 30px 50px;
  108. position: relative;
  109. }
  110. .pagination-container {
  111. margin-top: 30px;
  112. }
  113. .text-center {
  114. text-align: center;
  115. }
  116. .sub-navbar {
  117. height: 5px;
  118. line-height: 50px;
  119. position: relative;
  120. width: 100%;
  121. text-align: right;
  122. padding-right: 20px;
  123. transition: 600ms ease position;
  124. background: linear-gradient(
  125. 90deg,
  126. rgba(32, 182, 249, 1) 0%,
  127. rgba(32, 182, 249, 1) 0%,
  128. rgba(33, 120, 241, 1) 100%,
  129. rgba(33, 120, 241, 1) 100%
  130. );
  131. .subtitle {
  132. font-size: 20px;
  133. color: #fff;
  134. }
  135. &.draft {
  136. background: #d0d0d0;
  137. }
  138. &.deleted {
  139. background: #d0d0d0;
  140. }
  141. }
  142. .link-type,
  143. .link-type:focus {
  144. color: #337ab7;
  145. cursor: pointer;
  146. &:hover {
  147. color: rgb(32, 160, 255);
  148. }
  149. }
  150. .filter-container {
  151. padding-bottom: 10px;
  152. .filter-item {
  153. display: inline-block;
  154. vertical-align: middle;
  155. margin-bottom: 10px;
  156. }
  157. }