PluginProbe ʕ •ᴥ•ʔ
SEO SIMPLE PACK / 2.2.3
SEO SIMPLE PACK v2.2.3
1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 2.0.0 2.1.0 2.1.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.4.0 2.4.1 2.4.2 2.5.0 2.5.1 3.0.0 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.3.0 3.3.1 3.4.0 3.5.0 3.5.1 3.5.2 3.6.0 3.6.1 3.6.2 3.6.3 3.7.0 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2
seo-simple-pack / src / scss / inc / _switch.scss
seo-simple-pack / src / scss / inc Last commit date
_field.scss 5 years ago _help.scss 5 years ago _preview.scss 5 years ago _ssp_page.scss 5 years ago _ssp_tabs.scss 5 years ago _switch.scss 5 years ago
_switch.scss
61 lines
1
2 /* ------------------------------
3 * Switch button
4 * ------------------------------ */
5
6 /* The switch - the box around the slider */
7 .ssp_switch_box {
8 position: relative;
9 display: inline-block;
10 width: 64px;
11 height: 28px;
12 margin: 0 8px;
13 }
14
15 /* Hide default HTML checkbox */
16 .ssp_switch_box input {
17 display: none;
18 }
19
20 /* The slider */
21 .ssp_switch_box__slider {
22 position: absolute;
23 top: 0;
24 right: 0;
25 bottom: 0;
26 left: 0;
27 background-color: #ccc;
28 cursor: pointer;
29 -webkit-transition: 0.4s;
30 transition: 0.4s;
31 }
32
33 .ssp_switch_box__slider::before {
34 position: absolute;
35 right: 4px;
36 bottom: 4px;
37 width: 20px;
38 height: 20px;
39 background-color: white;
40 -webkit-transition: 0.4s;
41 transition: 0.4s;
42 content: "";
43 }
44
45 input:checked + .ssp_switch_box__slider {
46 background-color: #2196f3;
47 }
48
49 input:checked + .ssp_switch_box__slider::before {
50 right: 40px;
51 }
52
53 /* Rounded sliders */
54 .ssp_switch_box__slider.-round {
55 border-radius: 34px;
56 }
57
58 .ssp_switch_box__slider.-round::before {
59 border-radius: 50%;
60 }
61