Skip to content

Commit 61fd584

Browse files
committed
move datetime picker styles
1 parent bb85a99 commit 61fd584

File tree

2 files changed

+29
-25
lines changed

2 files changed

+29
-25
lines changed

src/block/countdown/editor.scss

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/editor.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,32 @@ $block-joined: #{ join($blocks, (), $separator: comma) };
178178
padding: 2px;
179179
}
180180
}
181+
182+
// Adjust the styles of †he datetime picker.
183+
.ugb-toggle-panel-body {
184+
.components-datetime__time-wrapper {
185+
.components-base-control {
186+
margin-bottom: 0px !important;
187+
}
188+
189+
.components-datetime__timezone {
190+
display: none;
191+
}
192+
}
193+
194+
.components-datetime__date {
195+
.components-datetime__date__day[aria-label*="Selected" i] {
196+
color: #fff;
197+
&:hover {
198+
color: #fff !important;
199+
}
200+
}
201+
:last-child {
202+
row-gap: 8px;
203+
column-gap: 4px;
204+
div:nth-of-type(7) {
205+
justify-self: auto;
206+
}
207+
}
208+
}
209+
}

0 commit comments

Comments
 (0)