-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
172 lines (169 loc) · 4.15 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
@font-face{
font-family: 'Wanted Sans Std';
src: url('./WantedSansStd-Regular.otf');
}
*{
-webkit-tap-highlight-color: transparent;
}
body{
font-family: 'Wanted Sans Std','Noto Sans SC';
color: #303030;
background-color: #E6E6E6;
margin: 0;
padding: 0;
}
.controls-bar,.add-bar,.material-icons,.material-icons-outlined{
user-select: none;
}
.controls-bar,.add-bar{
display: flex;
flex-direction: row;
flex-wrap: wrap;
position: fixed;
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: 114514;
background-color: white;
border-radius: 15px;
gap: 5px;
padding: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.controls-bar{
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.controls-bar button,.add-bar button{
font-size: 30px;
background-color: transparent;
border: none;
cursor: pointer;
border-radius: 10px;
aspect-ratio: 1/1;
}
.controls-bar button.selected-controls,.add-bar button.selected-add{
background-color: lightseagreen;
color: white;
transition: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.11);
}
.add-bar{
transform: translateX(-50%) translateY(calc(100% + 10px));
}
.menu, .editpanel{
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
background-color: white;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%) translateY(114.514%);
z-index: 114514191810;
padding: 20px;
width: 65vw;
max-height: 70vw;
transition: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.00);
overflow-y: auto;
}
.menu.show, .editpanel.show{
transform: translateX(-50%) translateY(0);
transition: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.00);
/* transition: all 0.3s cubic-bezier(0.38, 0, 0.19, 1.03); */
}
.as-list{
list-style: none;
gap: 5px;
padding: 0;
}
.as-list li{
display: flex;
flex-direction: row;
align-items: center;
border-radius: 10px;
padding: 2.5px;
cursor: pointer;
height: 40px;
}
.as-list li:hover{
background-color: #d3d3d3;
}
#canvas{
width: 100%;
height: 100%;
position: fixed;
}
.celledit-ctrlcont{
margin: 5px;
display: flex;
flex-direction: row;
gap: 5px;
justify-content: space-between;
align-items: center;
width: 90%;
height: 35px;
box-sizing: border-box;
}
.celledit-ctrlcont p{margin: 0;}
.celledit-ctrlcont input, .celledit-ctrlcont textarea{width: 70%;}
.celledit-ctrlcont input[type="range"]{cursor: pointer;}
.celledit-ctrlcont textarea{
border-radius: 18px;
padding: 5px;
border: 2px solid #ccc;
resize: none;
transition: all 0.1s cubic-bezier(0.76, 0.08, 0.71, 0.91);
box-sizing: border-box;
font-family: 'Wanted Sans Std','Noto Sans SC';
}
.celledit-ctrlcont textarea:focus{
outline: none;
border-radius: 7px;
border: 3px solid lightseagreen;
transition: all 0.1s cubic-bezier(0.76, 0.08, 0.71, 0.91);
box-sizing: border-box;
}
.celledit-btn{
right: 65px;
display: inline-block;
position: absolute;
width: 40px;
height: 30px;
border-radius: 10px;
border: none;
background-color: #efefef;
color: black;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
animation: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.00);
}
.celledit-btn:hover{
box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.5);
animation: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.00);
}
.celledit-btn:active{
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);
animation: all 0.3s cubic-bezier(0.3, 0.35, 0, 1.00);
}
.floating-merge-tip{
position: fixed;
right: 30px;
bottom: -70px;
z-index: 114514191810;
background-color: white;
border-radius: 10px;
width: 100px;
height: 40px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
font-size: 25px;
user-select: none;
transition: all 0.15s cubic-bezier(0.3, 0.35, 0, 1.00);
}
.floating-merge-tip.show{
bottom: 30px;
transition: all 0.15s cubic-bezier(0.3, 0.35, 0, 1.00);
}