PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.76
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.76
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 51.1.46 51.1.47 51.1.49 51.1.51 All 36 releases
king-addons / includes / features / Conditional_Display / style.css

style.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.76, at includes/features/Conditional_Display/style.css

185 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Conditional Display Styles
3 *
4 * Styles for Elementor editor preview badge and hidden elements.
5 *
6 * @package King_Addons
7 */
8
9 /* ============================================
10 EDITOR PREVIEW STYLES
11 ============================================ */
12
13 .king-addons-cd-preview {
14 position: relative;
15 }
16
17 /* Badge Container */
18 .king-addons-cd-badge {
19 position: absolute;
20 top: 8px;
21 right: 8px;
22 z-index: 9999;
23 display: flex;
24 align-items: center;
25 gap: 4px;
26 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
27 color: #ffffff;
28 border-radius: 20px;
29 padding: 6px 12px;
30 font-size: 11px;
31 font-weight: 600;
32 line-height: 1;
33 box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
34 cursor: pointer;
35 transition: all 0.2s ease;
36 }
37
38 .king-addons-cd-badge:hover {
39 transform: translateY(-2px);
40 box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
41 }
42
43 .king-addons-cd-badge-icon {
44 font-size: 12px;
45 }
46
47 .king-addons-cd-badge-label {
48 letter-spacing: 0.5px;
49 }
50
51 .king-addons-cd-badge-count {
52 background: rgba(255, 255, 255, 0.25);
53 color: #ffffff;
54 border-radius: 10px;
55 padding: 2px 6px;
56 font-size: 10px;
57 min-width: 16px;
58 text-align: center;
59 }
60
61 /* Tooltip */
62 .king-addons-cd-tooltip {
63 position: absolute;
64 top: calc(100% + 8px);
65 right: 0;
66 background: #1e1e2e;
67 color: #cdd6f4;
68 border-radius: 8px;
69 padding: 12px 16px;
70 font-size: 12px;
71 font-weight: 400;
72 line-height: 1.5;
73 min-width: 180px;
74 max-width: 280px;
75 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
76 opacity: 0;
77 visibility: hidden;
78 transform: translateY(-4px);
79 transition: all 0.2s ease;
80 pointer-events: none;
81 z-index: 10000;
82 }
83
84 .king-addons-cd-badge:hover .king-addons-cd-tooltip {
85 opacity: 1;
86 visibility: visible;
87 transform: translateY(0);
88 }
89
90 .king-addons-cd-tooltip::before {
91 content: '';
92 position: absolute;
93 top: -6px;
94 right: 16px;
95 border-width: 0 6px 6px 6px;
96 border-style: solid;
97 border-color: transparent transparent #1e1e2e transparent;
98 }
99
100 .king-addons-cd-tooltip strong {
101 display: block;
102 color: #f5c2e7;
103 margin-bottom: 8px;
104 font-size: 11px;
105 text-transform: uppercase;
106 letter-spacing: 0.5px;
107 }
108
109 .king-addons-cd-tooltip ul {
110 list-style: none;
111 margin: 0;
112 padding: 0;
113 }
114
115 .king-addons-cd-tooltip li {
116 padding: 4px 0;
117 border-bottom: 1px solid rgba(205, 214, 244, 0.1);
118 font-size: 12px;
119 }
120
121 .king-addons-cd-tooltip li:last-child {
122 border-bottom: none;
123 }
124
125 .king-addons-cd-tooltip li::before {
126 content: '';
127 color: #89b4fa;
128 margin-right: 8px;
129 }
130
131 /* ============================================
132 HIDDEN ELEMENT STYLES (Frontend)
133 ============================================ */
134
135 /* Hide element completely on frontend */
136 .king-addons-cd-hidden {
137 display: none !important;
138 }
139
140 /* ============================================
141 FALLBACK MESSAGE STYLES
142 ============================================ */
143
144 .king-addons-cd-fallback-message {
145 padding: 20px;
146 border: 1px solid #e0e0e0;
147 background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
148 border-radius: 8px;
149 text-align: center;
150 color: #666;
151 font-size: 14px;
152 }
153
154 .king-addons-cd-fallback-message p {
155 margin: 0;
156 }
157
158 .king-addons-cd-fallback-template {
159 width: 100%;
160 }
161
162 /* ============================================
163 EDITOR PREVIEW OUTLINE
164 ============================================ */
165
166 .king-addons-cd-preview::before {
167 content: '';
168 position: absolute;
169 top: 0;
170 left: 0;
171 right: 0;
172 bottom: 0;
173 border: 2px dashed rgba(102, 126, 234, 0.4);
174 border-radius: 4px;
175 pointer-events: none;
176 z-index: 1;
177 }
178
179
180
181
182
183
184
185