]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | .x-toggle {\r |
2 | height: 2.15em;\r | |
3 | @include border-radius(1.05em);\r | |
4 | width: 65px;\r | |
5 | background-color: $highlight-color;\r | |
6 | \r | |
7 | &:before {\r | |
8 | @include absolute-position;\r | |
9 | text-align: center;\r | |
10 | padding: 0 .2em 0 2em;\r | |
11 | font-size: 16px;\r | |
12 | line-height: 32px;\r | |
13 | }\r | |
14 | \r | |
15 | &.x-item-disabled {\r | |
16 | &:before {\r | |
17 | opacity: .8;\r | |
18 | }\r | |
19 | }\r | |
20 | \r | |
21 | .x-thumb {\r | |
22 | &:after {\r | |
23 | background-color: #fff;\r | |
24 | @include absolute-position;\r | |
25 | line-height: 1.7em;\r | |
26 | text-align: center;\r | |
27 | }\r | |
28 | }\r | |
29 | }\r | |
30 | \r | |
31 | .x-toggle-on {\r | |
32 | background-color: $base-color;\r | |
33 | .x-thumb:after {\r | |
34 | content: "|";\r | |
35 | }\r | |
36 | }\r | |
37 | \r | |
38 | .x-toggle-off {\r | |
39 | .x-thumb:after {\r | |
40 | content: "O";\r | |
41 | line-height: 1.9em;\r | |
42 | }\r | |
43 | }\r |