Skip to content

Commit 8f4af74

Browse files
authored
CSS: add active style for icongroup (#534)
1 parent 92fa48c commit 8f4af74

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

data/Application.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ icongroup .icon-group-bin {
9494
border-spacing: 3px;
9595
transition:
9696
background 200ms cubic-bezier(0.4, 0, 0.2, 1),
97-
box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
97+
box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1),
98+
transform 300ms cubic-bezier(0.4, 3, 0.2, 1);
9899
}
99100

100101
icongroup.running .icon-group-bin {
@@ -109,6 +110,22 @@ icongroup.running .icon-group-bin {
109110
0 3px 2px -1px alpha(@borders, 0.6);
110111
}
111112

113+
icongroup:active .icon-group-bin,
114+
icongroup.running:active .icon-group-bin {
115+
box-shadow:
116+
inset 0 -1px 0 0 alpha(@highlight_color, 0.2),
117+
inset 0 1px 0 0 alpha(@highlight_color, 0.3),
118+
inset 1px 0 0 0 alpha(@highlight_color, 0.07),
119+
inset -1px 0 0 0 alpha(@highlight_color, 0.07),
120+
0 0 0 1px alpha(@borders, 0.3),
121+
0 2px 4px alpha(@borders, 0.4),
122+
0 2px 1px alpha(@borders, 0.3);
123+
transform: scale(0.92);
124+
transition:
125+
box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
126+
transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
127+
}
128+
112129
.reduce-transparency icongroup bin {
113130
background: @base_color;
114131
}

0 commit comments

Comments
 (0)