File tree Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Expand file tree Collapse file tree 2 files changed +30
-14
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ $themes: (
49
49
button-secondary-background-color : $medium-light ,
50
50
button-color : $black ,
51
51
button-border-color : $middle-light ,
52
- toolbar-button-color : $p5js-pink ,
52
+ toolbar-button-color : $dark ,
53
53
toolbar-button-background-color : $medium-light ,
54
54
button-background-hover-color : $p5js-pink ,
55
55
button-background-active-color : $p5js-active-pink ,
@@ -124,7 +124,7 @@ $themes: (
124
124
button-secondary-background-color : $medium-dark ,
125
125
button-color : $light ,
126
126
button-border-color : $middle-dark ,
127
- toolbar-button-color : $p5js-pink ,
127
+ toolbar-button-color : $lightest ,
128
128
toolbar-button-background-color : $medium-dark ,
129
129
button-background-hover-color : $p5js-pink ,
130
130
button-background-active-color : $p5js-active-pink ,
Original file line number Diff line number Diff line change 179
179
}
180
180
}
181
181
182
- .sidebar__expand {
182
+ .sidebar__expand ,
183
+ .sidebar__contract {
183
184
@include icon ();
184
185
position : absolute ;
185
- top : #{7 / $base-font-size } rem;
186
- left : #{1 / $base-font-size } rem;
187
- height : #{14 / $base-font-size } rem;
186
+ top : #{2 / $base-font-size } rem;
187
+ left : #{0 / $base-font-size } rem;
188
+ height : #{25 / $base-font-size } rem;
189
+ width : #{49 / $base-font-size } rem;
190
+ border-radius : 2px ;
188
191
& svg {
189
- height : #{14 / $base-font-size } rem;
192
+ height : #{25 / $base-font-size } rem;
193
+ }
194
+ @include themify () {
195
+ background-color : getThemifyVariable (" toolbar-button-background-color" );
196
+ & polygon {
197
+ fill : getThemifyVariable (" toolbar-button-color" );
198
+ }
199
+ & :hover {
200
+ background-color : getThemifyVariable (" button-background-hover-color" );
201
+ & polygon {
202
+ fill : getThemifyVariable (" button-hover-color" );
203
+ }
204
+ }
190
205
}
206
+ }
207
+
208
+ .sidebar__expand {
191
209
display : none ;
210
+ & :hover {
211
+ cursor : e-resize ;
212
+ }
192
213
.sidebar--contracted & {
193
214
display : inline-block ;
194
215
}
195
216
}
196
217
197
218
.sidebar__contract {
198
- @include icon ();
199
- position : absolute ;
200
- top : #{7 / $base-font-size } rem;
201
- left : #{1 / $base-font-size } rem;
202
- height : #{14 / $base-font-size } rem;
203
- & svg {
204
- height : #{14 / $base-font-size } rem;
219
+ & :hover {
220
+ cursor : w-resize ;
205
221
}
206
222
.sidebar--contracted & {
207
223
display : none ;
You can’t perform that action at this time.
0 commit comments