1 | $Sh-1: 0px 0px 8px 0px rgba(0, 0, 0, 0.03);
|
2 | $Sh-2: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
|
3 | $Sh-3: 0px 0px 12px 0px rgba(0, 0, 0, 0.10);
|
4 | $Sh-4: -4px 0px 20px 0px rgba(0, 0, 0, 0.10);
|
5 | $Sh-5: 0px 2px 20px 0px rgba(0, 0, 0, 0.30);
|
6 |
|
7 | $S1:rgb(0, 79, 158);
|
8 | $S2:rgb(16, 110, 204);
|
9 | $S3:rgb(29, 134, 240);
|
10 | $S4:rgb(92, 173, 255);
|
11 | $S5:rgb(133, 194, 255);
|
12 | $S6:rgb(194, 224, 255);
|
13 | $M1:rgb(14, 17, 20);
|
14 | $M2:rgb(51, 56, 61);
|
15 | $M3:rgb(86, 94, 102);
|
16 | $M4:rgb(131, 137, 143);
|
17 | $M5:rgb(191, 195, 199);
|
18 | $M6:rgb(230, 232, 235);
|
19 | $M7:rgb(240, 242, 245);
|
20 | $M8:rgb(250, 251, 252);
|
21 | $M9:rgb(255, 255, 255);
|
22 | $M10:rgb(0, 0, 0);
|
23 | $F-blue:#29B8ff;
|
24 | $F-green:#46CF84;
|
25 | $F-yellow:#FFA42E;
|
26 | $F-red:#FF475A;
|
27 | $D1:#FAC105;
|
28 | $D2:#FFAB24;
|
29 | $D3:#FF6952;
|
30 | $D4:#FF3C73;
|
31 | $D5:#EE62D5;
|
32 | $D6:#8475FF;
|
33 | $D7:#4F73FF;
|
34 | $D8:#2E9CFF;
|
35 | $D9:#0CC0C9;
|
36 | $D10:#0CC991;
|
37 | $D11:#83D615;
|
38 | $D1-1:#FEF8E5;
|
39 | $D2-1:#FFF6E9;
|
40 | $D3-1:#FFF0ED;
|
41 | $D4-1:#FFEBF1;
|
42 | $D5-1:#FDEFFA;
|
43 | $D6-1:#F2F1FF;
|
44 | $D7-1:#EDF1FF;
|
45 | $D8-1:#EAF5FF;
|
46 | $D9-1:#E6F8F9;
|
47 | $D10-1:#E9F9F3;
|
48 | $D11-1:#F2FAE7;
|
49 | $Sp-1: 2px;
|
50 | $Sp-2: 4px;
|
51 | $Sp-3: 8px;
|
52 | $Sp-4: 10px;
|
53 | $Sp-5: 12px;
|
54 | $Sp-6: 16px;
|
55 | $Sp-7: 20px;
|
56 | $Sp-8: 24px;
|
57 | $Sp-9: 30px;
|
58 | $Sp-10: 32px;
|
59 | $Sp-11: 40px;
|
60 | $Ra-1: 2px;
|
61 | $Ra-2: 3px;
|
62 | $Ra-3: 6px;
|
63 | $Ra-4: 10px;
|
64 | $Ra-5: 100px;
|
65 |
|
66 |
|
67 | $modalZindex: 1100;
|
68 | $unmodelZindex: 1200;
|
69 | $popoverZindex: 1300;
|
70 | $popconfirmZindex: 1300;
|
71 | $messageZindex: 1400;
|
72 | $tooltipZindex: 1500;
|
73 |
|
74 | $FsN1: 12;
|
75 | $FsN2: 14;
|
76 | $FsN3: 16;
|
77 | $FsN4: 18;
|
78 | $FsN5: 20;
|
79 | $FsN6: 24;
|
80 | $FsN7: 28;
|
81 | $FsN8: 32;
|
82 | $rootPreCls:"phoenix";
|
83 | $regular: 'normal';
|
84 | $medium: 600;
|
85 | $family: "PingFang SC",
|
86 | "Hiragino Sans GB",
|
87 | STHeitiSC,
|
88 | Helvetica,
|
89 | "Helvetica Neue",
|
90 | "Microsoft YaHei",
|
91 | Tahoma;
|
92 |
|
93 |
|
94 | @mixin styleWrapperCommon {
|
95 | @include smoothing;
|
96 | }
|
97 |
|
98 | @mixin smoothing {
|
99 | -webkit-font-smoothing: antialiased;
|
100 | -moz-osx-font-smoothing: grayscale;
|
101 | }
|
102 |
|
103 | @mixin Fs-1 {
|
104 | font-size: 12px;
|
105 | line-height: 20px;
|
106 | }
|
107 |
|
108 | @mixin Fs-2 {
|
109 | font-size: 14px;
|
110 | line-height: 22px;
|
111 | }
|
112 |
|
113 | @mixin Fs-3 {
|
114 | font-size: 16px;
|
115 | line-height: 24px;
|
116 | }
|
117 |
|
118 | @mixin Fs-4 {
|
119 | font-size: 18px;
|
120 | line-height: 26px;
|
121 | }
|
122 |
|
123 | @mixin Fs-5 {
|
124 | font-size: 20px;
|
125 | line-height: 28px;
|
126 | }
|
127 |
|
128 | @mixin Fs-6 {
|
129 | font-size: 24px;
|
130 | line-height: 32px;
|
131 | }
|
132 |
|
133 | @mixin Fs-7 {
|
134 | font-size: 28px;
|
135 | line-height: 36px;
|
136 | }
|
137 |
|
138 | @mixin Fs-8 {
|
139 | font-size: 32px;
|
140 | line-height: 42px;
|
141 | }
|
142 |
|
143 | @mixin scrollBar {
|
144 | &::-webkit-scrollbar {
|
145 | width: 10px;
|
146 | height: 10px;
|
147 |
|
148 | &-track {
|
149 | border-radius: $Ra-5;
|
150 | background-color: transparent;
|
151 | }
|
152 |
|
153 | &-thumb {
|
154 | border: 2px solid transparent;
|
155 | border-radius: $Ra-5;
|
156 | background-color: rgba($M1, 0.1);
|
157 | background-clip: content-box;
|
158 |
|
159 | &:hover {
|
160 | background-color: rgba($M1, 0.3);
|
161 | }
|
162 | }
|
163 | }
|
164 | }
|
165 |
|
166 | @mixin keyframes($animationName) {
|
167 | @-webkit-keyframes #{$animationName} {
|
168 | @content;
|
169 | }
|
170 |
|
171 | @-moz-keyframes #{$animationName} {
|
172 | @content;
|
173 | }
|
174 |
|
175 | @-o-keyframes #{$animationName} {
|
176 | @content;
|
177 | }
|
178 |
|
179 | @keyframes #{$animationName} {
|
180 | @content;
|
181 | }
|
182 | }
|
183 |
|
184 | @function hexToRgb($color) {
|
185 | @return rgb(red($color), green($color), blue($color));
|
186 | }
|
187 |
|
188 | @function hexToRgba($color, $alpha) {
|
189 | @return rgba(red($color), green($color), blue($color), $alpha);
|
190 | } |
\ | No newline at end of file |