index.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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: 500;
  17. color: #333;
  18. }
  19. html {
  20. height: 100%;
  21. box-sizing: border-box;
  22. }
  23. #app {
  24. height: 100%;
  25. }
  26. *,
  27. *:before,
  28. *:after {
  29. box-sizing: inherit;
  30. }
  31. .no-padding {
  32. padding: 0px !important;
  33. }
  34. .padding-content {
  35. padding: 4px 0;
  36. }
  37. a:focus,
  38. a:active {
  39. outline: none;
  40. }
  41. a,
  42. a:focus,
  43. a:hover {
  44. cursor: pointer;
  45. color: inherit;
  46. text-decoration: none;
  47. }
  48. div:focus {
  49. outline: none;
  50. }
  51. .fr {
  52. float: right;
  53. }
  54. .fl {
  55. float: left;
  56. }
  57. .pr-5 {
  58. padding-right: 5px;
  59. }
  60. .pl-5 {
  61. padding-left: 5px;
  62. }
  63. .block {
  64. display: block;
  65. }
  66. .pointer {
  67. cursor: pointer;
  68. }
  69. .inlineBlock {
  70. display: block;
  71. }
  72. .clearfix {
  73. &:after {
  74. visibility: hidden;
  75. display: block;
  76. font-size: 0;
  77. content: " ";
  78. clear: both;
  79. height: 0;
  80. }
  81. }
  82. aside {
  83. background: #eef1f6;
  84. padding: 8px 24px;
  85. margin-bottom: 20px;
  86. border-radius: 2px;
  87. display: block;
  88. line-height: 32px;
  89. font-size: 16px;
  90. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
  91. Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  92. color: #2c3e50;
  93. -webkit-font-smoothing: antialiased;
  94. -moz-osx-font-smoothing: grayscale;
  95. a {
  96. color: #337ab7;
  97. cursor: pointer;
  98. &:hover {
  99. color: rgb(32, 160, 255);
  100. }
  101. }
  102. }
  103. //main-container全局样式
  104. .app-container {
  105. padding: 20px;
  106. height: calc(100vh - 86px);
  107. overflow: auto;
  108. }
  109. .components-container {
  110. margin: 30px 50px;
  111. position: relative;
  112. }
  113. .pagination-container {
  114. margin-top: 30px;
  115. }
  116. .text-center {
  117. text-align: center;
  118. }
  119. .sub-navbar {
  120. height: 50px;
  121. line-height: 50px;
  122. position: relative;
  123. width: 100%;
  124. text-align: right;
  125. padding-right: 20px;
  126. transition: 600ms ease position;
  127. background: linear-gradient(
  128. 90deg,
  129. rgba(32, 182, 249, 1) 0%,
  130. rgba(32, 182, 249, 1) 0%,
  131. rgba(33, 120, 241, 1) 100%,
  132. rgba(33, 120, 241, 1) 100%
  133. );
  134. .subtitle {
  135. font-size: 20px;
  136. color: #fff;
  137. }
  138. &.draft {
  139. background: #d0d0d0;
  140. }
  141. &.deleted {
  142. background: #d0d0d0;
  143. }
  144. }
  145. .link-type,
  146. .link-type:focus {
  147. color: #337ab7;
  148. cursor: pointer;
  149. &:hover {
  150. color: rgb(32, 160, 255);
  151. }
  152. }
  153. .filter-container {
  154. padding-bottom: 10px;
  155. .filter-item {
  156. display: inline-block;
  157. vertical-align: middle;
  158. margin-bottom: 10px;
  159. }
  160. }
  161. .el-button--danger {
  162. background: rgba(215,0,15, 0.7) !important;
  163. border-color: rgba(215,0,15, 0.7) !important;
  164. color:#fff !important;
  165. }
  166. .el-button--danger:focus,
  167. .el-button--danger:hover {
  168. background: rgba(215,0,15, 1) !important;
  169. border-color: rgba(215,0,15, 1) !important;
  170. color:#fff !important;
  171. }
  172. .el-button--primary {
  173. background: rgba(0, 140, 214, 0.1) !important;
  174. border-color: rgba(0, 140, 214,1) !important;
  175. color:rgba(0, 140, 214, 1) !important;
  176. }
  177. .el-button--primary:focus,
  178. .el-button--primary:hover {
  179. background: rgba(0, 140, 214, 1) !important;
  180. border-color: rgba(0, 140, 214,1) !important;
  181. color:#fff !important;
  182. }