PluginProbe
EmailKit – Email Customizer for WooCommerce & WP / 1.4.5
EmailKit – Email Customizer for WooCommerce & WP v1.4.5
1.6.9 1.6.8 1.6.7 trunk 1.0.0 1.2.0 1.4.0 1.4.5 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6
emailkit / assets / admin / css / status.css

status.css in EmailKit – Email Customizer for WooCommerce & WP 1.4.5, at assets/admin/css/status.css

126 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .emailkit-admin-template-switch {
2 display: flex;
3 gap: 2px;
4 align-items: center;
5 }
6
7 .switch-container {
8 display: flex;
9 align-items: center;
10 }
11
12 .switch {
13 position: relative;
14 display: inline-block;
15 width: 40px;
16 height: 20px;
17 }
18
19 .switch input {
20 opacity: 0;
21 width: 0;
22 height: 0;
23 }
24
25 .slider {
26 position: absolute;
27 cursor: pointer;
28 top: 0;
29 left: 0;
30 right: 0;
31 bottom: 0;
32 background-color: #ccc;
33 -webkit-transition: .4s;
34 transition: .4s;
35 border-radius: 34px;
36 }
37
38 .slider:before {
39 position: absolute;
40 content: "";
41 height: 16px;
42 width: 16px;
43 left: 2px;
44 bottom: 2px;
45 background-color: white;
46 -webkit-transition: .4s;
47 transition: .4s;
48 border-radius: 50%;
49 }
50
51 .emailkit-slider-loader{
52 pointer-events: none;
53 }
54
55 .emailkit-slider-loader::after {
56 content: "";
57 display: inline-block;
58 width: 8px;
59 height: 8px;
60 border: 3px solid #a39a9af1;
61 border-radius: 50%;
62 border-top-color: #210d0d;
63 position: absolute;
64 left: 3px;
65 bottom: 3px;
66 z-index: 9999999999999;
67 animation: spin 1s ease-in-out infinite;
68 -webkit-animation: spin 1s ease-in-out infinite;
69 }
70 .emailkit-admin-template-switch-inactive,.emailkit-admin-template-switch-active{
71 color: #9FA1A6;
72 font-weight: 500;
73 }
74 .emailkit-slider-active{
75 color: rgb(8, 8, 8);
76 }
77
78
79 @keyframes spin {
80 to {
81 -webkit-transform: rotate(360deg);
82 }
83 }
84
85 input.change-status-btn:checked+.slider {
86 background-color: #2196F3;
87 }
88
89 input:focus+.slider {
90 box-shadow: 0 0 1px #2196F3;
91 }
92
93 input.change-status-btn:checked+.slider:before {
94 -webkit-transform: translateX(20px);
95 -ms-transform: translateX(20px);
96 transform: translateX(20px);
97 }
98
99
100
101 input.change-status-btn:checked+ .emailkit-slider-loader::after{
102 left: 22.5px;
103 }
104
105 input.change-status-btn + .emailkit-slider-loader::after{
106 left: 3px;
107 }
108
109
110
111
112 /* Optional: Style the label text */
113
114 .switch-label {
115 margin-left: 1px;
116 }
117
118 .emailkit-admin-template-status-inactive {
119 color: #eb0ca0de;
120 font-weight: 500;
121 }
122
123 .emailkit-admin-template-status-active {
124 color: #43eb10de;
125 font-weight: 500;
126 }