blob: f030cf66f035ec9cb2a3b81f8da316c024ff56ee (
plain)
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
|
@import '../common';
.oo-ui-toggleSwitchWidget {
position: relative;
display: inline-block;
vertical-align: middle;
overflow: hidden;
cursor: pointer;
.oo-ui-box-sizing(border-box);
.oo-ui-transform(translateZ(0px));
&.oo-ui-widget-disabled {
cursor: default;
}
&-grip {
position: absolute;
display: block;
.oo-ui-box-sizing(border-box);
}
.oo-ui-toggleSwitchWidget-glow {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
.oo-ui-unselectable();
}
.oo-ui-toggleWidget-off & {
&-glow {
display: none;
}
}
.theme-oo-ui-toggleSwitchWidget();
}
|