-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.css
97 lines (83 loc) · 1.84 KB
/
index.css
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
body {
font-family: -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
text-align: center;
}
h1 {
color: #016177;
}
#container {
text-align: center;
margin-bottom: 8px;
}
.slider-container {
width: 100%;
margin-bottom: 16px;
}
.slider {
-webkit-appearance: none;
width: 90vw; max-width: 500px;
height: 4px;
border-radius: 2px;
background: #d3d3d3;
outline: none;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px; height: 16px;
border-radius: 50%;
background: #0089A7;
transition: all 250ms;
}
.slider::-moz-range-thumb {
width: 16px; height: 16px;
border-radius: 50%;
background: #0089A7;
transition: all 250ms;
}
.slider::-webkit-slider-thumb:active {
transform: scale(1.2);
}
.slider::-moz-range-thumb:active {
transform: scale(1.2);
}
#tuya-canvas {
width: 90vw; max-width: 500px;
height: 90vw; max-height: 500px;
border: 1px #0089A7DD solid;
border-radius: 8px;
box-shadow: 2px 2px 16px #0089A766;
}
button:not(:active) {
color: #0089A7;
background: white;
padding: 10px;
transition: all 250ms;
}
button {
outline: none;
color: white;
background: #0089A7;
border: solid 2px #0089A7;
border-radius: 10px;
padding: 8px;
margin: 5px;
transition: all 250ms;
}
button:disabled {
color: #888;
border: solid 2px #DDD;
}
.color-button {
width: 26px; height: 26px;
padding: 0;
margin: 4px;
border: 1px #FFFFFF55 solid;
box-shadow: 1px 2px 8px #00000066;
border-radius: 50%;
transform: scale(1.5);
}
.color-button:not(:active) {
padding: 0;
transform: scale(1);
}