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.

196 lines
2.7 KiB

5 years ago
5 years ago
4 years ago
  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. @import './mdp.scss';
  8. body {
  9. height: 100%;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, 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. code {
  82. background: #eef1f6;
  83. padding: 15px 16px;
  84. margin-bottom: 20px;
  85. display: block;
  86. line-height: 36px;
  87. font-size: 15px;
  88. font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  89. a {
  90. color: #337ab7;
  91. cursor: pointer;
  92. &:hover {
  93. color: rgb(32, 160, 255);
  94. }
  95. }
  96. }
  97. .warn-content{
  98. background: rgba(66,185,131,.1);
  99. border-radius: 2px;
  100. padding: 16px;
  101. padding: 1rem;
  102. line-height: 1.6rem;
  103. word-spacing: .05rem;
  104. a{
  105. color: #42b983;
  106. font-weight: 600;
  107. }
  108. }
  109. //main-container全局样式
  110. .app-container {
  111. padding: 10px;
  112. }
  113. .components-container {
  114. margin: 30px 50px;
  115. position: relative;
  116. }
  117. .pagination-container {
  118. margin-top: 30px;
  119. }
  120. .text-center {
  121. text-align: center
  122. }
  123. .sub-navbar {
  124. height: 50px;
  125. line-height: 50px;
  126. position: relative;
  127. width: 100%;
  128. text-align: right;
  129. padding-right: 20px;
  130. transition: 600ms ease position;
  131. 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%);
  132. .subtitle {
  133. font-size: 20px;
  134. color: #fff;
  135. }
  136. &.draft {
  137. background: #d0d0d0;
  138. }
  139. &.deleted {
  140. background: #d0d0d0;
  141. }
  142. }
  143. .link-type,
  144. .link-type:focus {
  145. color: #337ab7;
  146. cursor: pointer;
  147. &:hover {
  148. color: rgb(32, 160, 255);
  149. }
  150. }
  151. .filter-container {
  152. padding-bottom: 10px;
  153. .filter-item {
  154. display: inline-block;
  155. vertical-align: middle;
  156. margin-bottom: 10px;
  157. }
  158. }
  159. //refine vue-multiselect plugin
  160. .multiselect {
  161. line-height: 16px;
  162. }
  163. .el-message-box {
  164. width:360px;
  165. }
  166. .multiselect--active {
  167. z-index: 1000 !important;
  168. }