material 0.9.26 → 0.9.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/skin/material/_variables.scss +30 -0
- package/src/skin/material/base/body.scss +14 -33
- package/src/skin/material/base/elevation.scss +0 -1
- package/src/skin/material/base/grid.scss +7 -11
- package/src/skin/material/base/typo.scss +22 -23
- package/src/skin/material/button/action.scss +13 -37
- package/src/skin/material/button/button.scss +50 -66
- package/src/skin/material/button/file.scss +1 -1
- package/src/skin/material/button/floating.scss +36 -34
- package/src/skin/material/button/raised.scss +36 -34
- package/src/skin/material/button/stroked.scss +25 -28
- package/src/skin/material/component/component.scss +3 -5
- package/src/skin/material/component/divider.scss +0 -1
- package/src/skin/material/component/image.scss +0 -1
- package/src/skin/material/component/label.scss +0 -1
- package/src/skin/material/component/progress.scss +38 -43
- package/src/skin/material/component/subheader.scss +0 -1
- package/src/skin/material/component/text.scss +14 -15
- package/src/skin/material/container/appbar.scss +24 -35
- package/src/skin/material/container/banner.scss +1 -2
- package/src/skin/material/container/card.scss +0 -1
- package/src/skin/material/container/dialog.scss +33 -66
- package/src/skin/material/container/drawer.scss +14 -23
- package/src/skin/material/container/menu.scss +5 -8
- package/src/skin/material/container/tabs.scss +6 -6
- package/src/skin/material/container/toolbar.scss +19 -46
- package/src/skin/material/control/button.scss +43 -42
- package/src/skin/material/control/checkbox.scss +17 -23
- package/src/skin/material/control/colorpicker.scss +9 -11
- package/src/skin/material/control/menu.scss +2 -6
- package/src/skin/material/control/progress.scss +38 -41
- package/src/skin/material/control/search.scss +12 -11
- package/src/skin/material/control/selecter.scss +5 -7
- package/src/skin/material/control/selector.scss +0 -2
- package/src/skin/material/control/slider.scss +33 -51
- package/src/skin/material/control/snackbar.scss +1 -4
- package/src/skin/material/control/switch.scss +44 -75
- package/src/skin/material/control/switcher.scss +0 -1
- package/src/skin/material/control/textfield.scss +33 -53
- package/src/skin/material/control/tooltip.scss +1 -3
- package/src/skin/material/layout/layout.scss +17 -21
- package/src/skin/material/layout/resizer.scss +16 -36
- package/src/skin/material/module/ripple.scss +0 -1
- package/src/skin/material/view/calendar.scss +13 -18
- package/src/skin/material/view/form.scss +1 -2
- package/src/skin/material/view/grid.scss +7 -8
- package/src/skin/material/view/list.scss +6 -8
- package/src/skin/material/view/listview.scss +10 -17
- package/src/skin/material/view/map.scss +0 -1
- package/src/skin/material/view/page.scss +0 -1
- package/src/skin/material/view/tabview-bak.scss +0 -1
- package/src/skin/material/view/tabview.scss +2 -4
- package/src/skin/material/view/tree.scss +6 -7
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
|
|
1
2
|
.material-tabs {
|
|
2
3
|
position: relative;
|
|
3
4
|
text-align: center;
|
|
4
5
|
overflow: hidden;
|
|
5
6
|
white-space: nowrap;
|
|
6
|
-
|
|
7
|
+
> .material-list {
|
|
7
8
|
display: inline-block;
|
|
8
9
|
white-space: nowrap;
|
|
9
10
|
padding: 0;
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
cursor: pointer;
|
|
31
32
|
overflow: hidden;
|
|
32
33
|
vertical-align: middle;
|
|
33
|
-
transition: .4s;
|
|
34
|
+
transition: 0.4s;
|
|
34
35
|
margin: 0;
|
|
35
36
|
background-color: transparent;
|
|
36
37
|
}
|
|
@@ -40,9 +41,9 @@
|
|
|
40
41
|
height: 2px;
|
|
41
42
|
bottom: 0;
|
|
42
43
|
background-color: $primary-color;
|
|
43
|
-
transition: .2s;
|
|
44
|
-
|
|
44
|
+
transition: 0.2s;
|
|
45
45
|
}
|
|
46
|
+
|
|
46
47
|
&.primary-color {
|
|
47
48
|
background-color: $primary-color;
|
|
48
49
|
.material-list {
|
|
@@ -69,10 +70,10 @@
|
|
|
69
70
|
}
|
|
70
71
|
.material-indicator {
|
|
71
72
|
background-color: $secondary-color-text;
|
|
72
|
-
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
+
|
|
76
77
|
.material-tabs.small {
|
|
77
78
|
.material-list {
|
|
78
79
|
.material-button {
|
|
@@ -87,7 +88,6 @@
|
|
|
87
88
|
background-color: transparent;
|
|
88
89
|
label {
|
|
89
90
|
padding: 8px;
|
|
90
|
-
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
+
|
|
1
2
|
.material-toolbar {
|
|
2
3
|
display: flex;
|
|
3
4
|
flex-direction: row;
|
|
4
|
-
//height: 64px
|
|
5
|
-
|
|
6
|
-
// position: absolute
|
|
7
|
-
// top: 0
|
|
8
|
-
// left: 0
|
|
9
|
-
// right: 0
|
|
10
5
|
|
|
11
6
|
z-index: 3;
|
|
12
7
|
flex: none;
|
|
13
8
|
display: flex;
|
|
14
9
|
flex-direction: row;
|
|
15
10
|
flex-wrap: nowrap;
|
|
16
|
-
//padding: 14px 16px
|
|
17
11
|
|
|
18
12
|
&.type-app {
|
|
19
13
|
z-index: 5;
|
|
@@ -23,64 +17,56 @@
|
|
|
23
17
|
position: fixed;
|
|
24
18
|
}
|
|
25
19
|
&.is-scrolled {
|
|
26
|
-
transition: box-shadow .3s;
|
|
27
|
-
box-shadow:
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
transition: box-shadow 0.3s;
|
|
21
|
+
box-shadow:
|
|
22
|
+
0 0 4px rgba(0, 0, 0, 0.14),
|
|
23
|
+
0 4px 8px rgba(0, 0, 0, 0.28);
|
|
30
24
|
}
|
|
31
25
|
}
|
|
26
|
+
|
|
32
27
|
&.is-flexible {
|
|
33
28
|
position: absolute;
|
|
34
29
|
top: 0;
|
|
35
30
|
left: 0;
|
|
36
31
|
right: 0;
|
|
37
|
-
//display: block
|
|
38
|
-
|
|
39
32
|
}
|
|
33
|
+
|
|
40
34
|
&.is-fixed {
|
|
41
35
|
position: absolute;
|
|
42
36
|
top: 0;
|
|
43
37
|
left: 0;
|
|
44
38
|
right: 0;
|
|
45
|
-
//display: block
|
|
46
39
|
&.is-scrolled {
|
|
47
|
-
transition: box-shadow .3s;
|
|
48
|
-
box-shadow:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
40
|
+
transition: box-shadow 0.3s;
|
|
41
|
+
box-shadow:
|
|
42
|
+
0 0 4px rgba(0, 0, 0, 0.14),
|
|
43
|
+
0 4px 8px rgba(0, 0, 0, 0.28);
|
|
57
44
|
}
|
|
58
45
|
}
|
|
46
|
+
|
|
59
47
|
> * {
|
|
60
48
|
&:first-child {
|
|
61
49
|
margin-left: 0;
|
|
62
|
-
|
|
63
50
|
}
|
|
51
|
+
|
|
64
52
|
&:last-child {
|
|
65
53
|
margin-right: 0;
|
|
66
|
-
|
|
67
|
-
|
|
68
54
|
}
|
|
69
55
|
}
|
|
56
|
+
|
|
70
57
|
.material-text {
|
|
71
58
|
flex: 1;
|
|
72
59
|
display: inline-block;
|
|
73
60
|
font-size: 1.3rem;
|
|
74
61
|
font-weight: 300;
|
|
75
62
|
line-height: 2.3rem;
|
|
76
|
-
//color: $primary-color-text
|
|
77
63
|
padding: 0;
|
|
78
64
|
margin-left: 16px;
|
|
79
65
|
overflow: hidden;
|
|
80
66
|
white-space: nowrap;
|
|
81
67
|
text-overflow: ellipsis;
|
|
82
|
-
|
|
83
68
|
}
|
|
69
|
+
|
|
84
70
|
.material-checkbox {
|
|
85
71
|
padding: 0;
|
|
86
72
|
.checkbox-control {
|
|
@@ -94,20 +80,17 @@
|
|
|
94
80
|
.checkbox-label {
|
|
95
81
|
color: $primary-color-text;
|
|
96
82
|
padding: 10px 0 6px;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
83
|
}
|
|
101
84
|
}
|
|
85
|
+
|
|
102
86
|
.material-button {
|
|
103
87
|
.button-icon {
|
|
104
88
|
svg {
|
|
105
89
|
fill: $default-color-icon;
|
|
106
|
-
|
|
107
|
-
|
|
108
90
|
}
|
|
109
91
|
}
|
|
110
92
|
}
|
|
93
|
+
|
|
111
94
|
&.transparent-color {
|
|
112
95
|
background-color: transparent;
|
|
113
96
|
.material-text {
|
|
@@ -133,10 +116,10 @@
|
|
|
133
116
|
.checkbox-label {
|
|
134
117
|
color: $default-color-text;
|
|
135
118
|
padding: 10px 0 6px;
|
|
136
|
-
|
|
137
119
|
}
|
|
138
120
|
}
|
|
139
121
|
}
|
|
122
|
+
|
|
140
123
|
&.primary-color {
|
|
141
124
|
background-color: $primary-color;
|
|
142
125
|
.material-text {
|
|
@@ -162,10 +145,10 @@
|
|
|
162
145
|
.checkbox-label {
|
|
163
146
|
color: $primary-color-text;
|
|
164
147
|
padding: 10px 0 6px;
|
|
165
|
-
|
|
166
148
|
}
|
|
167
149
|
}
|
|
168
150
|
}
|
|
151
|
+
|
|
169
152
|
&.secondary-color {
|
|
170
153
|
background-color: $secondary-color;
|
|
171
154
|
.material-text {
|
|
@@ -191,16 +174,6 @@
|
|
|
191
174
|
.checkbox-label {
|
|
192
175
|
color: $secondary-color-text;
|
|
193
176
|
padding: 10px 0 6px;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
// @media only screen and (max-width: 768px)
|
|
199
|
-
// .material-toolbar
|
|
200
|
-
// &.type-app
|
|
201
|
-
// padding: 10px 16px
|
|
202
|
-
|
|
203
|
-
|
|
204
177
|
}
|
|
205
178
|
}
|
|
206
179
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
|
|
1
3
|
.button {
|
|
2
4
|
user-select: none;
|
|
3
5
|
font-size: 0.875rem;
|
|
@@ -24,51 +26,52 @@
|
|
|
24
26
|
height: 24px;
|
|
25
27
|
width: 24px;
|
|
26
28
|
padding: 0;
|
|
27
|
-
|
|
28
29
|
}
|
|
30
|
+
|
|
29
31
|
&.hide {
|
|
30
32
|
display: none;
|
|
33
|
+
}
|
|
31
34
|
|
|
32
35
|
// pseudo class
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
36
|
&:focus {
|
|
37
|
-
background-color: rgba(0, 0, 0, .1);
|
|
38
|
-
|
|
37
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
39
38
|
}
|
|
40
|
-
&:active {
|
|
41
|
-
background-color: rgba(0, 0, 0, .1);
|
|
42
39
|
|
|
40
|
+
&:active {
|
|
41
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
43
42
|
}
|
|
43
|
+
|
|
44
44
|
&:disabled {
|
|
45
|
-
opacity: .5;
|
|
45
|
+
opacity: 0.5;
|
|
46
46
|
background-color: transparent;
|
|
47
47
|
&:hover {
|
|
48
48
|
background-color: transparent;
|
|
49
|
-
|
|
50
49
|
}
|
|
51
50
|
}
|
|
51
|
+
|
|
52
52
|
&[type="submit"] {
|
|
53
53
|
font-weight: 600;
|
|
54
54
|
padding: 6px 20px;
|
|
55
|
+
}
|
|
55
56
|
|
|
56
57
|
// size
|
|
57
|
-
}
|
|
58
58
|
&.small-size {
|
|
59
59
|
height: 36px;
|
|
60
60
|
padding: 6px 12px;
|
|
61
|
+
}
|
|
61
62
|
|
|
62
63
|
// styles
|
|
63
|
-
}
|
|
64
64
|
&.style-raised {
|
|
65
|
-
box-shadow:
|
|
66
|
-
|
|
65
|
+
box-shadow:
|
|
66
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
|
67
|
+
0 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
68
|
+
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
67
69
|
}
|
|
68
|
-
&.style-outline {
|
|
69
|
-
border: 1px solid #E1E1E1;
|
|
70
70
|
|
|
71
|
+
&.style-outline {
|
|
72
|
+
border: 1px solid #e1e1e1;
|
|
71
73
|
}
|
|
74
|
+
|
|
72
75
|
&.style-action {
|
|
73
76
|
width: 40px;
|
|
74
77
|
height: 40px;
|
|
@@ -77,88 +80,87 @@
|
|
|
77
80
|
background-position: center;
|
|
78
81
|
i {
|
|
79
82
|
pointer-events: none;
|
|
80
|
-
|
|
81
83
|
height: 24px;
|
|
82
84
|
width: 24px;
|
|
83
85
|
margin-left: 0;
|
|
84
86
|
svg {
|
|
85
87
|
fill: rgba(0, 0, 0, 0.67);
|
|
86
|
-
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
&:hover {
|
|
90
|
-
background-color: rgba(0,0,0,.1);
|
|
91
90
|
|
|
91
|
+
&:hover {
|
|
92
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
92
93
|
}
|
|
94
|
+
|
|
93
95
|
&.small-size {
|
|
94
96
|
width: 36px;
|
|
95
97
|
height: 36px;
|
|
96
98
|
padding: 6px;
|
|
97
|
-
|
|
98
99
|
}
|
|
99
100
|
}
|
|
101
|
+
|
|
100
102
|
&.bold {
|
|
101
103
|
font-weight: 600;
|
|
102
|
-
|
|
103
104
|
}
|
|
105
|
+
|
|
104
106
|
&.normal-case {
|
|
105
107
|
text-transform: none;
|
|
106
|
-
|
|
107
108
|
}
|
|
109
|
+
|
|
108
110
|
&.color-secondary {
|
|
109
111
|
color: $secondary-color-text;
|
|
110
|
-
background-color:
|
|
112
|
+
background-color: color.adjust($secondary-color, $lightness: -10%);
|
|
111
113
|
&:hover {
|
|
112
|
-
background-color:
|
|
114
|
+
background-color: color.adjust($secondary-color, $lightness: -5%);
|
|
113
115
|
&:focus {
|
|
114
|
-
background-color:
|
|
116
|
+
background-color: color.adjust($secondary-color, $lightness: -5%);
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
&:focus {
|
|
118
|
-
background-color:
|
|
120
|
+
background-color: color.adjust($secondary-color, $lightness: -10%);
|
|
119
121
|
}
|
|
120
122
|
&:disabled {
|
|
121
|
-
background-color:
|
|
123
|
+
background-color: color.adjust($secondary-color, $lightness: -10%);
|
|
122
124
|
&:hover {
|
|
123
|
-
background-color:
|
|
124
|
-
|
|
125
|
+
background-color: color.adjust($secondary-color, $lightness: -10%);
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
}
|
|
129
|
+
|
|
128
130
|
&.color-primary {
|
|
129
131
|
color: $primary-color-text;
|
|
130
|
-
background-color:
|
|
132
|
+
background-color: color.adjust($primary-color, $lightness: -10%);
|
|
131
133
|
&:hover {
|
|
132
|
-
background-color:
|
|
134
|
+
background-color: color.adjust($primary-color, $lightness: -5%);
|
|
133
135
|
&:focus {
|
|
134
|
-
background-color:
|
|
136
|
+
background-color: color.adjust($primary-color, $lightness: -5%);
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
139
|
&:focus {
|
|
138
|
-
background-color:
|
|
140
|
+
background-color: color.adjust($primary-color, $lightness: -10%);
|
|
139
141
|
}
|
|
140
142
|
&:disabled {
|
|
141
|
-
background-color:
|
|
143
|
+
background-color: color.adjust($primary-color, $lightness: -10%);
|
|
142
144
|
&:hover {
|
|
143
|
-
background-color:
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
background-color: color.adjust($primary-color, $lightness: -10%);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
+
|
|
150
151
|
@media only screen and (min-width: 640px) {
|
|
151
152
|
/* empty */
|
|
152
153
|
}
|
|
154
|
+
|
|
153
155
|
.button {
|
|
154
156
|
&:hover {
|
|
155
|
-
background-color: rgba(0, 0, 0, .1);
|
|
157
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
156
158
|
&:focus {
|
|
157
|
-
background-color: rgba(0, 0, 0, .1);
|
|
158
|
-
|
|
159
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
162
|
}
|
|
163
|
+
|
|
162
164
|
.ripple {
|
|
163
165
|
opacity: 1;
|
|
164
166
|
pointer-events: none;
|
|
@@ -168,5 +170,4 @@
|
|
|
168
170
|
height: 5px;
|
|
169
171
|
width: 5px;
|
|
170
172
|
border-radius: 50%;
|
|
171
|
-
|
|
172
173
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.checkbox {
|
|
2
3
|
display: block;
|
|
3
4
|
position: relative;
|
|
@@ -16,10 +17,9 @@
|
|
|
16
17
|
position: absolute;
|
|
17
18
|
left: -10000px;
|
|
18
19
|
order: 2;
|
|
19
|
-
|
|
20
20
|
}
|
|
21
|
+
|
|
21
22
|
.control {
|
|
22
|
-
//flex: none;
|
|
23
23
|
order: 1;
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
position: relative;
|
|
@@ -29,26 +29,24 @@
|
|
|
29
29
|
margin: 4px;
|
|
30
30
|
border-radius: 50%;
|
|
31
31
|
|
|
32
|
-
//margin: 10px 10px 10px 4px;
|
|
33
32
|
.icon {
|
|
34
33
|
position: absolute;
|
|
35
34
|
top: 11px;
|
|
36
35
|
left: 11px;
|
|
37
36
|
border: 2px solid rgba(0, 0, 0, 0.5);
|
|
38
37
|
border-radius: 2px;
|
|
39
|
-
transition: .3s;
|
|
38
|
+
transition: 0.3s;
|
|
40
39
|
|
|
41
|
-
//stroke: rgba(0, 0, 0, 0.5);
|
|
42
40
|
.check {
|
|
43
41
|
opacity: 0;
|
|
44
42
|
position: absolute;
|
|
45
43
|
fill: rgba(255, 255, 255, 0.95);
|
|
46
44
|
top: 8px;
|
|
47
45
|
left: 8px;
|
|
48
|
-
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
}
|
|
49
|
+
|
|
52
50
|
label {
|
|
53
51
|
flex: 1;
|
|
54
52
|
order: 3;
|
|
@@ -58,12 +56,12 @@
|
|
|
58
56
|
padding: 15px 0 9px;
|
|
59
57
|
margin: 0px 2px 0px 12px;
|
|
60
58
|
overflow: hidden;
|
|
61
|
-
|
|
62
59
|
}
|
|
60
|
+
|
|
63
61
|
&.is-checked {
|
|
64
62
|
.control {
|
|
65
63
|
.icon {
|
|
66
|
-
transition: .3s;
|
|
64
|
+
transition: 0.3s;
|
|
67
65
|
border-color: $secondary-color;
|
|
68
66
|
background-color: $secondary-color;
|
|
69
67
|
|
|
@@ -73,62 +71,58 @@
|
|
|
73
71
|
fill: rgba(255, 255, 255, 0.95);
|
|
74
72
|
top: 8px;
|
|
75
73
|
left: 8px;
|
|
76
|
-
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
76
|
}
|
|
80
77
|
}
|
|
78
|
+
|
|
81
79
|
&.is-disabled {
|
|
82
80
|
label {
|
|
83
|
-
opacity: .4;
|
|
84
|
-
|
|
81
|
+
opacity: 0.4;
|
|
85
82
|
}
|
|
83
|
+
|
|
86
84
|
.icon {
|
|
87
85
|
background-color: rgba(0, 0, 0, 0.26);
|
|
88
86
|
border-color: rgba(0, 0, 0, 0.26);
|
|
89
|
-
//opacity: .4
|
|
90
|
-
|
|
91
87
|
}
|
|
88
|
+
|
|
92
89
|
.control {
|
|
93
90
|
.icon {
|
|
94
|
-
opacity: .4;
|
|
95
|
-
|
|
91
|
+
opacity: 0.4;
|
|
96
92
|
}
|
|
97
93
|
}
|
|
98
94
|
}
|
|
95
|
+
|
|
99
96
|
&.is-focused {
|
|
100
97
|
.control {
|
|
101
98
|
background-color: rgba(34, 31, 31, 0.05);
|
|
102
|
-
|
|
103
99
|
}
|
|
104
100
|
}
|
|
101
|
+
|
|
105
102
|
&:active {
|
|
106
103
|
.control {
|
|
107
104
|
background-color: transparent;
|
|
108
|
-
|
|
109
105
|
}
|
|
110
106
|
}
|
|
111
107
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
108
|
+
|
|
109
|
+
.dark-mode .checkbox,
|
|
115
110
|
.checkbox.dark-mode {
|
|
116
111
|
.control {
|
|
117
112
|
.icon {
|
|
118
113
|
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
119
|
-
|
|
120
114
|
}
|
|
121
115
|
}
|
|
116
|
+
|
|
122
117
|
&.is-focused {
|
|
123
118
|
.control {
|
|
124
119
|
background-color: rgba(255, 255, 255, 0.05);
|
|
125
|
-
|
|
126
120
|
}
|
|
127
121
|
}
|
|
122
|
+
|
|
128
123
|
&.is-checked {
|
|
129
124
|
.control {
|
|
130
125
|
background-color: rgba(255, 255, 255, 0.5);
|
|
131
|
-
|
|
132
126
|
}
|
|
133
127
|
}
|
|
134
128
|
}
|
|
@@ -42,9 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
.hue,
|
|
46
|
-
/* empty */
|
|
47
|
-
}
|
|
45
|
+
.hue,
|
|
48
46
|
.alpha {
|
|
49
47
|
position: relative;
|
|
50
48
|
width: 100%;
|
|
@@ -60,8 +58,8 @@
|
|
|
60
58
|
opacity: 0;
|
|
61
59
|
cursor: pointer;
|
|
62
60
|
appearance: none;
|
|
63
|
-
|
|
64
61
|
}
|
|
62
|
+
|
|
65
63
|
.marker {
|
|
66
64
|
position: absolute;
|
|
67
65
|
width: 20px;
|
|
@@ -72,13 +70,13 @@
|
|
|
72
70
|
background-color: currentColor;
|
|
73
71
|
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
|
|
74
72
|
pointer-events: none;
|
|
75
|
-
|
|
76
73
|
}
|
|
77
74
|
}
|
|
75
|
+
|
|
78
76
|
.hue {
|
|
79
77
|
background-image: linear-gradient(to right, #f00 0%, #ff0 16.66%, #0f0 33.33%, #0ff 50%, #00f 66.66%, #f0f 83.33%, #f00 100%);
|
|
80
|
-
|
|
81
78
|
}
|
|
79
|
+
|
|
82
80
|
.alpha {
|
|
83
81
|
background-image: linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), linear-gradient(45deg, #aaa 25%, #fff 25%, #fff 75%, #aaa 75%, #aaa);
|
|
84
82
|
background-size: 8px 8px;
|
|
@@ -111,9 +109,9 @@
|
|
|
111
109
|
&:focus {
|
|
112
110
|
outline: none;
|
|
113
111
|
border-color: var(--md-sys-color-primary);
|
|
114
|
-
|
|
115
112
|
}
|
|
116
113
|
}
|
|
114
|
+
|
|
117
115
|
.preview {
|
|
118
116
|
position: relative;
|
|
119
117
|
width: 40px;
|
|
@@ -151,8 +149,8 @@
|
|
|
151
149
|
|
|
152
150
|
&:hover {
|
|
153
151
|
transform: scale(1.1);
|
|
154
|
-
|
|
155
152
|
}
|
|
153
|
+
|
|
156
154
|
&:focus {
|
|
157
155
|
outline: 2px solid var(--md-sys-color-primary);
|
|
158
156
|
outline-offset: 2px;
|
|
@@ -163,13 +161,13 @@
|
|
|
163
161
|
}
|
|
164
162
|
&.is-open {
|
|
165
163
|
display: block;
|
|
166
|
-
|
|
167
164
|
}
|
|
165
|
+
|
|
168
166
|
&[data-inline="true"] {
|
|
169
167
|
position: relative;
|
|
170
168
|
display: block;
|
|
171
|
-
|
|
172
169
|
}
|
|
170
|
+
|
|
173
171
|
&[data-alpha="false"] {
|
|
174
172
|
.alpha {
|
|
175
173
|
display: none;
|
|
@@ -185,8 +183,8 @@
|
|
|
185
183
|
|
|
186
184
|
input {
|
|
187
185
|
padding-right: 40px;
|
|
188
|
-
|
|
189
186
|
}
|
|
187
|
+
|
|
190
188
|
.preview {
|
|
191
189
|
position: absolute;
|
|
192
190
|
right: 8px;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
.menu {
|
|
2
2
|
//display: none
|
|
3
3
|
&.show {
|
|
4
|
-
/* empty */
|
|
5
|
-
}
|
|
6
4
|
//display: block
|
|
5
|
+
}
|
|
7
6
|
.list {
|
|
8
7
|
background: white;
|
|
9
8
|
.item {
|
|
10
9
|
color: rgba(0,0,0,.87);
|
|
11
|
-
|
|
12
10
|
}
|
|
13
11
|
}
|
|
12
|
+
|
|
14
13
|
&.floating {
|
|
15
14
|
display: flex;
|
|
16
15
|
align-items: center;
|
|
@@ -18,8 +17,5 @@
|
|
|
18
17
|
overflow: hidden;
|
|
19
18
|
opacity: 0;
|
|
20
19
|
transition: 0.2s;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
20
|
}
|
|
25
21
|
}
|