PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.86
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.86
51.1.86 51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 All 40 releases
king-addons / includes / widgets / WooCommerce_Floating_Cart_Icon / style.css

style.css in King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder 51.1.86, at includes/widgets/WooCommerce_Floating_Cart_Icon/style.css

267 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .king-addons-floating-cart {
2 position: fixed;
3 right: 18px;
4 bottom: 18px;
5 z-index: 9999;
6 display: flex;
7 flex-direction: column;
8 align-items: flex-end;
9 gap: 10px;
10 }
11
12 .king-addons-floating-cart--left {
13 right: auto;
14 left: 18px;
15 align-items: flex-start;
16 }
17
18 .king-addons-floating-cart__button {
19 display: inline-flex;
20 align-items: center;
21 gap: 10px;
22 background-color: #111827;
23 color: #ffffff;
24 border: 1px solid #111827;
25 border-radius: 14px;
26 padding: 12px 16px;
27 font-weight: 700;
28 cursor: pointer;
29 box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
30 transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
31 position: relative;
32 }
33
34 .king-addons-floating-cart__button:hover {
35 background-color: #0f172a;
36 border-color: #0f172a;
37 box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
38 }
39
40 .king-addons-floating-cart__button.is-empty {
41 opacity: 0.9;
42 }
43
44 .king-addons-floating-cart__icon {
45 display: inline-flex;
46 align-items: center;
47 justify-content: center;
48 font-size: 18px;
49 }
50
51 .king-addons-floating-cart__label {
52 display: inline-flex;
53 align-items: center;
54 line-height: 1.2;
55 }
56
57 .king-addons-floating-cart__badge {
58 min-width: 22px;
59 height: 22px;
60 padding: 0 6px;
61 border-radius: 999px;
62 background: #ef4444;
63 color: #ffffff;
64 font-size: 12px;
65 font-weight: 700;
66 display: inline-flex;
67 align-items: center;
68 justify-content: center;
69 position: absolute;
70 top: -6px;
71 right: -6px;
72 box-shadow: 0 8px 18px rgba(239, 68, 68, 0.3);
73 }
74
75 .king-addons-floating-cart__panel {
76 width: 280px;
77 max-width: 86vw;
78 background: #ffffff;
79 color: #0f172a;
80 border: 1px solid rgba(15, 23, 42, 0.08);
81 border-radius: 14px;
82 box-shadow: 0 20px 38px rgba(15, 23, 42, 0.24);
83 padding: 14px;
84 opacity: 0;
85 transform: translateY(8px);
86 transition: opacity 0.18s ease, transform 0.18s ease;
87 display: none;
88 }
89
90 .king-addons-floating-cart.is-open .king-addons-floating-cart__panel {
91 display: block;
92 opacity: 1;
93 transform: translateY(0);
94 }
95
96 .king-addons-floating-cart__panel-head {
97 display: flex;
98 justify-content: space-between;
99 align-items: center;
100 gap: 8px;
101 margin-bottom: 10px;
102 }
103
104 .king-addons-floating-cart__panel-title {
105 font-weight: 700;
106 font-size: 15px;
107 }
108
109 .king-addons-floating-cart__count {
110 font-size: 13px;
111 color: #6b7280;
112 }
113
114 .king-addons-floating-cart__panel-body {
115 display: flex;
116 flex-direction: column;
117 gap: 8px;
118 }
119
120 .king-addons-floating-cart__empty {
121 margin: 0;
122 color: #6b7280;
123 }
124
125 .king-addons-floating-cart__items {
126 list-style: none;
127 padding: 0;
128 margin: 0;
129 display: flex;
130 flex-direction: column;
131 gap: 8px;
132 }
133
134 .king-addons-floating-cart__item {
135 display: flex;
136 justify-content: space-between;
137 gap: 10px;
138 font-size: 14px;
139 align-items: center;
140 }
141
142 .king-addons-floating-cart__item-thumb {
143 width: 44px;
144 height: 44px;
145 border-radius: 10px;
146 overflow: hidden;
147 flex: 0 0 44px;
148 border: 1px solid rgba(15, 23, 42, 0.08);
149 }
150
151 .king-addons-floating-cart__item-thumb img {
152 width: 100%;
153 height: 100%;
154 object-fit: cover;
155 display: block;
156 }
157
158 .king-addons-floating-cart__item-meta {
159 display: flex;
160 flex-direction: column;
161 gap: 4px;
162 flex: 1 1 auto;
163 }
164
165 .king-addons-floating-cart__item-name {
166 font-weight: 600;
167 }
168
169 .king-addons-floating-cart__item-qty {
170 color: #6b7280;
171 }
172
173 .king-addons-floating-cart__remove {
174 color: #ef4444;
175 text-decoration: none;
176 font-size: 20px;
177 line-height: 1;
178 padding: 4px;
179 border-radius: 6px;
180 transition: background-color 0.15s ease, color 0.15s ease;
181 }
182
183 .king-addons-floating-cart__remove:hover {
184 background: rgba(239, 68, 68, 0.08);
185 color: #b91c1c;
186 }
187
188 .king-addons-floating-cart__more {
189 margin: 0;
190 color: #6b7280;
191 font-size: 13px;
192 }
193
194 .king-addons-floating-cart__panel-footer {
195 margin-top: 12px;
196 display: flex;
197 flex-direction: column;
198 gap: 10px;
199 }
200
201 .king-addons-floating-cart__subtotal {
202 display: flex;
203 justify-content: space-between;
204 align-items: center;
205 font-weight: 700;
206 }
207
208 .king-addons-floating-cart__subtotal-label {
209 color: #6b7280;
210 font-weight: 600;
211 }
212
213 .king-addons-floating-cart__actions {
214 display: grid;
215 grid-template-columns: repeat(2, minmax(0, 1fr));
216 gap: 8px;
217 }
218
219 .king-addons-floating-cart__link {
220 display: inline-flex;
221 align-items: center;
222 justify-content: center;
223 gap: 6px;
224 padding: 10px 12px;
225 text-decoration: none;
226 font-weight: 700;
227 border-radius: 10px;
228 border: 1px solid #0f172a;
229 color: #0f172a;
230 transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
231 }
232
233 .king-addons-floating-cart__link--checkout {
234 background: #0f172a;
235 color: #ffffff;
236 }
237
238 .king-addons-floating-cart__link:hover {
239 border-color: #111827;
240 background: #111827;
241 color: #ffffff;
242 }
243
244 .king-addons-floating-cart__link--checkout:hover {
245 background: #0b1220;
246 border-color: #0b1220;
247 }
248
249 .king-addons-floating-cart__panel--drawer {
250 width: 340px;
251 max-width: 92vw;
252 }
253
254 @media (max-width: 767px) {
255 .king-addons-floating-cart__button {
256 padding: 12px;
257 }
258
259 .king-addons-floating-cart__label {
260 display: none;
261 }
262 }
263
264
265
266
267