main.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. /* 改变主题色变量 */
  2. $--color-primary: #4A90E2 ;
  3. /* 改变 icon 字体路径变量,必需 */
  4. $--font-path: '~element-ui/lib/theme-chalk/fonts';
  5. @import "~element-ui/packages/theme-chalk/src/index";
  6. html{
  7. font: 12px Microsoft YaHei,Georgia,Verdana,Arial,Sans-serif;
  8. -webkit-font-smoothing: antialiased;
  9. // font-family: 'Avenir', Helvetica, Arial, sans-serif;
  10. font-size: 62.5%;
  11. }
  12. body{
  13. font-size: 1.6rem;
  14. font-weight: 400;
  15. line-height: 24px;
  16. color: #212529;
  17. text-align: left;
  18. background-color: #fafafa;
  19. }
  20. html,body{
  21. height:100%;
  22. margin:0;
  23. padding:0;
  24. }
  25. .el-notification .el-icon-info{
  26. color:rgb(112, 179, 255);
  27. }
  28. .el-collapse{
  29. border:none;
  30. }
  31. .el-form--label-top .el-form-item__label{
  32. font-weight: 600;
  33. padding:0;
  34. }
  35. dl, ol, ul {
  36. margin-top: 0;
  37. }
  38. a {
  39. text-decoration: none;
  40. color:#000;
  41. }
  42. .icon{
  43. vertical-align: middle;
  44. max-width: 20px;
  45. }
  46. .container {
  47. width: 100%;
  48. margin-right: auto;
  49. margin-left: auto
  50. }
  51. @media (min-width: 576px) {
  52. .container {
  53. width: 100%;
  54. }
  55. }
  56. @media (min-width: 768px) {
  57. .container {
  58. width: 100%;
  59. }
  60. }
  61. @media (min-width: 992px) {
  62. .container {
  63. width: 100%;
  64. }
  65. }
  66. @media (min-width: 1200px) {
  67. .container {
  68. width: 90%;
  69. }
  70. }
  71. @media (min-width: 1450px) {
  72. .container {
  73. width: 80%;
  74. }
  75. }
  76. .title{
  77. font-size: 1.8rem;
  78. font-weight: bold;
  79. border:none;
  80. border-left:5px solid $--color-primary;
  81. padding-left:10px;
  82. margin-bottom:30px;
  83. }
  84. /*
  85. * Loading Dots
  86. * Can we use pseudo elements here instead :after?
  87. */
  88. .loading{
  89. text-align: center;
  90. }
  91. .loading span {
  92. display: inline-block;
  93. vertical-align: middle;
  94. width: 1rem;
  95. height: 1rem;
  96. margin: .19em;
  97. background: $--color-primary;
  98. border-radius: 50%;
  99. animation: loading 1s infinite alternate;
  100. }
  101. /*
  102. * Dots Colors
  103. * Smarter targeting vs nth-of-type?
  104. */
  105. .loading span:nth-of-type(2) {
  106. background: #8ce1ec;
  107. animation-delay: 0.2s;
  108. }
  109. .loading span:nth-of-type(3) {
  110. background: rgb(20, 168, 194);
  111. animation-delay: 0.4s;
  112. }
  113. .loading span:nth-of-type(4) {
  114. background: rgb(0, 134, 167);
  115. animation-delay: 0.6s;
  116. }
  117. .loading span:nth-of-type(5) {
  118. background: rgb(36, 113, 228);
  119. animation-delay: 0.8s;
  120. }
  121. .loading span:nth-of-type(6) {
  122. background: rgb(39, 71, 176);
  123. animation-delay: 1.0s;
  124. }
  125. .loading span:nth-of-type(7) {
  126. background: rgb(30, 53, 182);
  127. animation-delay: 1.2s;
  128. }
  129. /*
  130. * Animation keyframes
  131. * Use transition opacity instead of keyframes?
  132. */
  133. @keyframes loading {
  134. 0% {
  135. opacity: 0;
  136. }
  137. 100% {
  138. opacity: 1;
  139. }
  140. }
  141. .badge {
  142. font-family: PingFangSC-Medium;
  143. background-color: #ecf5ff;
  144. display: inline-block;
  145. height: 28px;
  146. padding: 0 10px;
  147. line-height: 26px;
  148. font-size: 12px;
  149. color: #409eff;
  150. border: 1px solid #d9ecff;
  151. border-radius: 4px;
  152. box-sizing: border-box;
  153. white-space: nowrap;
  154. margin:2px;
  155. }
  156. .ios-platform{
  157. background-color: #f0f9eb;
  158. border-color: #e1f3d8;
  159. color: #67c23a;
  160. }
  161. .android-platform{
  162. background-color: #fdf6ec;
  163. border-color: #faecd8;
  164. color: #e6a23c;
  165. }
  166. .web-platform{
  167. background-color: #fef0f0;
  168. border-color: #fde2e2;
  169. color: #f56c6c;
  170. }
  171. .text-warning {
  172. color: #ff9800!important
  173. }
  174. .text-primary {
  175. color: #9c27b0!important
  176. }
  177. .text-danger {
  178. color: #f44336!important
  179. }
  180. .text-success {
  181. color: #4caf50!important
  182. }
  183. .text-info {
  184. color: #00bcd4!important
  185. }
  186. .text-rose {
  187. color: #e91e63!important
  188. }
  189. .text-gray {
  190. color: #999!important
  191. }
  192. .btn {
  193. background-color: transparent;
  194. border: 1px solid #d9d9d9;
  195. color:#606266;
  196. font-weight: 600;
  197. letter-spacing: 1.08px;
  198. outline: 0!important;
  199. border-radius: 2px;
  200. display: inline-block;
  201. cursor: pointer;
  202. border-radius: 4px;
  203. }
  204. .btn-small {
  205. padding: 3px 8px;
  206. font-size: 1.2rem;
  207. line-height: 17px
  208. }
  209. .btn-thin {
  210. padding: 8px 15px
  211. }
  212. .btn-medium {
  213. padding: 5px 20px;
  214. line-height: 24px;
  215. }
  216. .btn-primary{
  217. padding:12px 20px;
  218. line-height: 14px;
  219. }
  220. .btn-big {
  221. padding: 8px 20px
  222. }
  223. .btn-large {
  224. padding: 8px 25px
  225. }
  226. .btn-danger{
  227. color: #FFFFFF;
  228. background-color: #F56C6C;
  229. border-color: #F56C6C;
  230. }
  231. .btn-info {
  232. background: $--color-primary;
  233. border: 1px solid $--color-primary !important;
  234. color: #fff;
  235. }
  236. .btn:hover{
  237. color:$--color-primary;
  238. background: #4a90e21c;
  239. border:1px solid #4a90e21c;
  240. }
  241. .btn-info:hover{
  242. color:#fff;
  243. opacity: 0.7;
  244. background: $--color-primary;
  245. border: 1px solid $--color-primary !important;
  246. }
  247. .btn-invalid {
  248. color: #999;
  249. }
  250. .create-container {
  251. padding: 40px 80px;
  252. }
  253. .create-body {
  254. padding: 20px 20px 20px 10px;
  255. background: #fff;
  256. margin: 10px 0;
  257. }
  258. .line {
  259. text-align: center;
  260. }
  261. .fr{
  262. float: right;
  263. }
  264. .fl{
  265. float: left;
  266. }
  267. .h1{
  268. font-size:22px !important;
  269. }
  270. .h2{
  271. font-size:20px !important;
  272. }
  273. .h3{
  274. font-size:18px !important;
  275. }
  276. .user-img{
  277. width:50px;
  278. height:50px;
  279. border-radius:50%;
  280. }
  281. .row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-sm-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-sm-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-sm-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-sm-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-sm-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-sm-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-sm-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-sm-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-sm-first{-ms-flex-order:-1;order:-1}.order-sm-last{-ms-flex-order:13;order:13}.order-sm-0{-ms-flex-order:0;order:0}.order-sm-1{-ms-flex-order:1;order:1}.order-sm-2{-ms-flex-order:2;order:2}.order-sm-3{-ms-flex-order:3;order:3}.order-sm-4{-ms-flex-order:4;order:4}.order-sm-5{-ms-flex-order:5;order:5}.order-sm-6{-ms-flex-order:6;order:6}.order-sm-7{-ms-flex-order:7;order:7}.order-sm-8{-ms-flex-order:8;order:8}.order-sm-9{-ms-flex-order:9;order:9}.order-sm-10{-ms-flex-order:10;order:10}.order-sm-11{-ms-flex-order:11;order:11}.order-sm-12{-ms-flex-order:12;order:12}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.333333%}.offset-sm-2{margin-left:16.666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.333333%}.offset-sm-5{margin-left:41.666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.333333%}.offset-sm-8{margin-left:66.666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.333333%}.offset-sm-11{margin-left:91.666667%}}@media (min-width:768px){.col-md{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-md-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-md-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-md-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-md-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-md-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-md-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-md-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-md-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-md-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-md-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-md-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-md-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-md-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-md-first{-ms-flex-order:-1;order:-1}.order-md-last{-ms-flex-order:13;order:13}.order-md-0{-ms-flex-order:0;order:0}.order-md-1{-ms-flex-order:1;order:1}.order-md-2{-ms-flex-order:2;order:2}.order-md-3{-ms-flex-order:3;order:3}.order-md-4{-ms-flex-order:4;order:4}.order-md-5{-ms-flex-order:5;order:5}.order-md-6{-ms-flex-order:6;order:6}.order-md-7{-ms-flex-order:7;order:7}.order-md-8{-ms-flex-order:8;order:8}.order-md-9{-ms-flex-order:9;order:9}.order-md-10{-ms-flex-order:10;order:10}.order-md-11{-ms-flex-order:11;order:11}.order-md-12{-ms-flex-order:12;order:12}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.333333%}.offset-md-2{margin-left:16.666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.333333%}.offset-md-5{margin-left:41.666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.333333%}.offset-md-8{margin-left:66.666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.333333%}.offset-md-11{margin-left:91.666667%}}@media (min-width:992px){.col-lg{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-lg-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-lg-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-lg-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-lg-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-lg-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-lg-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-lg-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-lg-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-lg-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-lg-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-lg-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-lg-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-lg-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-lg-first{-ms-flex-order:-1;order:-1}.order-lg-last{-ms-flex-order:13;order:13}.order-lg-0{-ms-flex-order:0;order:0}.order-lg-1{-ms-flex-order:1;order:1}.order-lg-2{-ms-flex-order:2;order:2}.order-lg-3{-ms-flex-order:3;order:3}.order-lg-4{-ms-flex-order:4;order:4}.order-lg-5{-ms-flex-order:5;order:5}.order-lg-6{-ms-flex-order:6;order:6}.order-lg-7{-ms-flex-order:7;order:7}.order-lg-8{-ms-flex-order:8;order:8}.order-lg-9{-ms-flex-order:9;order:9}.order-lg-10{-ms-flex-order:10;order:10}.order-lg-11{-ms-flex-order:11;order:11}.order-lg-12{-ms-flex-order:12;order:12}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.333333%}.offset-lg-2{margin-left:16.666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.333333%}.offset-lg-5{margin-left:41.666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.333333%}.offset-lg-8{margin-left:66.666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.333333%}.offset-lg-11{margin-left:91.666667%}}@media (min-width:1200px){.col-xl{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col-xl-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-xl-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-xl-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-xl-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xl-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-xl-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-xl-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xl-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-xl-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-xl-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-xl-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-xl-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-xl-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-xl-first{-ms-flex-order:-1;order:-1}.order-xl-last{-ms-flex-order:13;order:13}.order-xl-0{-ms-flex-order:0;order:0}.order-xl-1{-ms-flex-order:1;order:1}.order-xl-2{-ms-flex-order:2;order:2}.order-xl-3{-ms-flex-order:3;order:3}.order-xl-4{-ms-flex-order:4;order:4}.order-xl-5{-ms-flex-order:5;order:5}.order-xl-6{-ms-flex-order:6;order:6}.order-xl-7{-ms-flex-order:7;order:7}.order-xl-8{-ms-flex-order:8;order:8}.order-xl-9{-ms-flex-order:9;order:9}.order-xl-10{-ms-flex-order:10;order:10}.order-xl-11{-ms-flex-order:11;order:11}.order-xl-12{-ms-flex-order:12;order:12}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.333333%}.offset-xl-2{margin-left:16.666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.333333%}.offset-xl-5{margin-left:41.666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.333333%}.offset-xl-8{margin-left:66.666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.333333%}.offset-xl-11{margin-left:91.666667%}}
  282. .router-link-exact-active {
  283. color: rgba(0, 118, 203, 1);
  284. }
  285. .rg-select {
  286. padding:0 !important;
  287. width: 110px !important;
  288. height: 38px !important;
  289. }
  290. .rg-select__content {
  291. padding: 0 8px !important;
  292. height: 38px !important;
  293. }