PluginProbe
EmailKit – Email Customizer for WooCommerce & WP / 1.6.9
EmailKit – Email Customizer for WooCommerce & WP v1.6.9
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.6.9, at assets/admin/css/status.css

170 lines 3.2 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: 5px;
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: 47px;
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 z-index: 99;
50 }
51 .slider-active-text{
52 width: 100%;
53 display: inline-block;
54 height: 100%;
55 position: relative;
56 }
57 .slider-active-text::before{
58 content: "Yes";
59 position: absolute;
60 left: 5px;
61 font-size: 13px;
62 color: white;
63 opacity: 0;
64 }
65 .slider-active-text::after{
66 content: "No";
67 position: absolute;
68 right: 5px;
69 font-size: 13px;
70 opacity: 0;
71 }
72
73 input.change-status-btn + .slider .slider-active-text::after{
74 opacity: 1;
75 }
76 input.change-status-btn + .slider .slider-active-text::before{
77 opacity: 0;
78 }
79
80 input.change-status-btn:checked + .slider .slider-active-text::before {
81 opacity: 1;
82 }
83 input.change-status-btn:checked + .slider .slider-active-text::after {
84 opacity: 0;
85 }
86
87 .emailkit-slider-loader{
88 pointer-events: none;
89 }
90
91 .emailkit-slider-loader::after {
92 content: "";
93 display: inline-block;
94 width: 8px;
95 height: 8px;
96 border: 3px solid #a39a9af1;
97 border-radius: 50%;
98 border-top-color: #210d0d;
99 position: absolute;
100 left: 3px;
101 bottom: 3px;
102 z-index: 9999999999999;
103 animation: spin 1s ease-in-out infinite;
104 -webkit-animation: spin 1s ease-in-out infinite;
105 }
106
107 .emailkit-open-new-form-editor-modal.emailkit-slider-loader::after{
108 position: relative;
109 margin-bottom: -2px;
110 bottom: auto;
111 border: 3px solid #fff;
112 border-top-color: transparent;
113 }
114 .emailkit-admin-template-switch-inactive,.emailkit-admin-template-switch-active{
115 color: #121213;
116 font-weight: 500;
117 }
118 .emailkit-slider-active{
119 color: rgb(8, 8, 8);
120 }
121
122
123 @keyframes spin {
124 to {
125 -webkit-transform: rotate(360deg);
126 }
127 }
128
129 input.change-status-btn:checked+.slider {
130 background-color: #2196F3;
131 }
132
133 input:focus+.slider {
134 box-shadow: 0 0 1px #2196F3;
135 }
136
137 input.change-status-btn:checked+.slider:before {
138 -webkit-transform: translateX(27px);
139 -ms-transform: translateX(27px);
140 transform: translateX(27px);
141 }
142
143
144
145 input.change-status-btn:checked+ .emailkit-slider-loader::after{
146 left: 30px;
147 }
148
149 input.change-status-btn + .emailkit-slider-loader::after{
150 left: 3px;
151 }
152
153
154
155
156 /* Optional: Style the label text */
157
158 .switch-label {
159 margin-left: 1px;
160 }
161
162 .emailkit-admin-template-status-inactive {
163 color: #eb0ca0de;
164 font-weight: 500;
165 }
166
167 .emailkit-admin-template-status-active {
168 color: #43eb10de;
169 font-weight: 500;
170 }