-
Notifications
You must be signed in to change notification settings - Fork 0
/
other.scss
100 lines (86 loc) · 1.86 KB
/
other.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@import "../variables/default";
@import "../functions/helper";
@import "../functions/theme";
#{$computed-prefix}h-full {
height: 100vh;
}
// 可操作的,如光标移入
#{$computed-prefix}operable {
font-size: unitfix(14);
color: themefix(color-highlight) !important;
cursor: pointer;
}
// 禁用
#{$computed-prefix}disabled {
pointer-events: none;
}
/**
* 禁用动画
*/
#{$computed-prefix}unanimated {
animation: 0 !important;
}
// 滚动条
#{$computed-prefix}scroller {
// scrollbar width
&::-webkit-scrollbar {
width: unitfix(4);
/* stylelint-disable */
&:horizontal {
height: unitfix(2);
}
/* stylelint-enable */
}
// scrollbar bg
&::-webkit-scrollbar-track {
background: themefix(scrollbar-track-bg-color);
border-radius: unitfix(5);
box-shadow: themefix(scrollbar-track-box-shadow);
}
// Handle
&::-webkit-scrollbar-thumb {
background: themefix(scrollbar-thumb-bg-color);
border-radius: unitfix(5);
}
}
// display
#{$computed-prefix}none, #{$computed-prefix}dp-n, #{$computed-prefix}hide {
display: none !important;
}
#{$computed-prefix}show, #{$computed-prefix}dp-b, #{$computed-prefix}block {
display: block !important;
}
#{$computed-prefix}dp-i, #{$computed-prefix}inline {
display: inline !important;
}
#{$computed-prefix}dp-ib, #{$computed-prefix}inline-block {
display: inline-block !important;
}
// cursor
#{$computed-prefix}pointer {
cursor: pointer !important;
}
// divide 划分
#{$computed-prefix}divide {
position: relative;
display: inline-block;
width: unitfix(1);
height: unitfix(12);
margin: 0 unitfix(8);
vertical-align: middle;
background: #ccc;
box-sizing: border-box;
}
// dot 圆点
#{$computed-prefix}dot {
display: block;
width: unitfix(5);
height: unitfix(5);
border-radius: 50%;
}
#{$computed-prefix}of-h {
overflow: hidden !important;
}
#{$computed-prefix}bs-bb {
box-sizing: border-box;
}