-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathstyle.scss
66 lines (54 loc) · 1.12 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
58
59
60
61
62
63
64
65
66
.edit-widgets-keyboard-shortcut-help-modal {
&__section {
margin: 0 0 2rem 0;
}
&__main-shortcuts .edit-widgets-keyboard-shortcut-help-modal__shortcut-list {
// Push the shortcut to be flush with top modal header.
margin-top: -$grid-unit-30 -$border-width;
}
&__section-title {
font-size: 0.9rem;
font-weight: 600;
}
&__shortcut {
display: flex;
align-items: baseline;
padding: 0.6rem 0;
border-top: 1px solid $gray-300;
margin-bottom: 0;
&:last-child {
border-bottom: 1px solid $gray-300;
}
&:empty {
display: none;
}
}
&__shortcut-term {
font-weight: 600;
margin: 0 0 0 1rem;
text-align: right;
}
&__shortcut-description {
flex: 1;
margin: 0;
// IE 11 flex item fix - ensure the item does not collapse.
flex-basis: auto;
}
&__shortcut-key-combination {
display: block;
background: none;
margin: 0;
padding: 0;
& + .edit-widgets-keyboard-shortcut-help-modal__shortcut-key-combination {
margin-top: 10px;
}
}
&__shortcut-key {
padding: 0.25rem 0.5rem;
border-radius: 8%;
margin: 0 0.2rem 0 0.2rem;
&:last-child {
margin: 0 0 0 0.2rem;
}
}
}