index.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './headertop.scss';
  6. @import './sidebar.scss';
  7. @import './btn.scss';
  8. body {
  9. height: 100%;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: Microsoft YaHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, 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, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  90. color: #2c3e50;
  91. -webkit-font-smoothing: antialiased;
  92. -moz-osx-font-smoothing: grayscale;
  93. a {
  94. color: #337ab7;
  95. cursor: pointer;
  96. &:hover {
  97. color: rgb(32, 160, 255);
  98. }
  99. }
  100. }
  101. // main-container global css
  102. .app-container {
  103. padding: 20px;
  104. }
  105. .components-container {
  106. margin: 30px 50px;
  107. position: relative;
  108. }
  109. .pagination-container {
  110. margin-top: 30px;
  111. }
  112. .text-center {
  113. text-align: center
  114. }
  115. .sub-navbar {
  116. height: 50px;
  117. line-height: 50px;
  118. position: relative;
  119. width: 100%;
  120. text-align: right;
  121. padding-right: 20px;
  122. transition: 600ms ease position;
  123. background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  124. .subtitle {
  125. font-size: 20px;
  126. color: #fff;
  127. }
  128. &.draft {
  129. background: #d0d0d0;
  130. }
  131. &.deleted {
  132. background: #d0d0d0;
  133. }
  134. }
  135. .link-type,
  136. .link-type:focus {
  137. color: #337ab7;
  138. cursor: pointer;
  139. &:hover {
  140. color: rgb(32, 160, 255);
  141. }
  142. }
  143. .filter-container {
  144. padding-bottom: 10px;
  145. .filter-item {
  146. display: inline-block;
  147. vertical-align: middle;
  148. margin-bottom: 10px;
  149. }
  150. }
  151. //refine vue-multiselect plugin
  152. .multiselect {
  153. line-height: 16px;
  154. }
  155. .multiselect--active {
  156. z-index: 1000 !important;
  157. }