-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
style.scss
57 lines (49 loc) · 1.17 KB
/
style.scss
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
.editor-block-settings-menu__toggle .dashicon {
transform: rotate(90deg);
}
// Popout menu
.editor-block-settings-menu__popover {
&::before,
&::after {
margin-left: 2px;
}
.editor-block-settings-menu__content {
padding: $item-spacing - $border-width;
}
.editor-block-settings-menu__separator {
margin-top: $item-spacing;
margin-bottom: $item-spacing;
margin-left: -$item-spacing + $border-width;
margin-right: -$item-spacing + $border-width;
border-top: $border-width solid $light-gray-500;
// Check if the separator is the last child in the node and if so, hide itself
&:last-child {
display: none;
}
}
.editor-block-settings-menu__title {
display: block;
padding: 6px;
color: $dark-gray-300;
}
// Menu items
.editor-block-settings-menu__control {
width: 100%;
justify-content: flex-start;
padding: 8px;
background: none;
outline: none;
border-radius: 0;
color: $dark-gray-500;
text-align: left;
cursor: pointer;
@include menu-style__neutral;
&:hover:not(:disabled):not([aria-disabled="true"]),
&:focus:not(:disabled):not([aria-disabled="true"]) {
@include menu-style__focus;
}
.dashicon {
margin-right: 5px;
}
}
}