-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathActionsMenuItem.scss
More file actions
72 lines (59 loc) · 1.61 KB
/
ActionsMenuItem.scss
File metadata and controls
72 lines (59 loc) · 1.61 KB
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
@import 'variables';
.ActionsMenuItem {
padding: 0.5rem 0.5rem;
border-radius: 0.2rem;
display: grid;
grid-template-columns: min-content 1fr min-content;
column-gap: 0.5rem;
row-gap: 0;
align-items: center;
&:focus {
box-shadow: 0 0 0 $c2lc-focus-indicator-width black;
outline: none;
}
&:hover {
background-color: #F5C58A;
.ActionsMenuItem__icon {
box-shadow: 0 0 0 1px #1e1e1e;
}
}
}
.ActionsMenuItem__checkbox {
margin: auto 0;
margin-right: 0.2rem;
}
.ActionsMenuItem__option {
background-color: inherit;
border: 0;
width: 1rem;
}
.ActionsMenuItem__checkbox {
pointer-events: none;
}
.ActionsMenuItem__icon {
text-align: center;
border-radius: 0.2rem;
box-shadow: 0 3px 4px 0 #1e1e1e, -1px 2px 4px;
width: 2.5rem;
height: 2.5rem;
min-width: 45px;
min-height: 45px;
padding: 0;
svg {
margin: 0.25rem;
width: 2rem;
height: 2rem;
}
}
.ActionsMenuItem__icon--forward1, .ActionsMenuItem__icon--forward2, .ActionsMenuItem__icon--forward3 {
background-color: $c2lc-forward-command-color;
}
.ActionsMenuItem__icon--backward1, .ActionsMenuItem__icon--backward2, .ActionsMenuItem__icon--backward3 {
background-color: $c2lc-backward-command-color;
}
.ActionsMenuItem__icon--left45, .ActionsMenuItem__icon--left90, .ActionsMenuItem__icon--left180 {
background-color: $c2lc-left-command-color;
}
.ActionsMenuItem__icon--right45, .ActionsMenuItem__icon--right90, .ActionsMenuItem__icon--right180 {
background-color: $c2lc-right-command-color;
}