|
180 | 180 | $html .= '<button type="button" class="btn btn-default cm-deselect-all"><i class="fa fa-square-o"></i> Alle abwählen</button>'; |
181 | 181 | $html .= '</span>'; |
182 | 182 | $html .= '<input type="text" id="cm-cookie-search" class="form-control" placeholder="Suche..." style="width: 200px;">'; |
183 | | - $html .= '<span class="input-group-addon"><i class="rex-icon rex-icon-search"></i></span>'; |
184 | 183 | $html .= '</div>'; |
185 | 184 | $html .= '</div>'; |
186 | 185 |
|
|
250 | 249 | vertical-align: top; |
251 | 250 | padding-right: 10px; |
252 | 251 | box-sizing: border-box; |
253 | | - background: #f9f9f9; |
254 | | - padding: 8px; |
255 | | - border-radius: 4px; |
256 | | - border: 1px solid #e0e0e0; |
| 252 | + /* Removed background and border */ |
| 253 | + padding: 8px 0; |
257 | 254 | } |
258 | 255 | .consent-manager-cookie-list .checkbox:hover { |
259 | | - background: #f0f0f0; |
| 256 | + /* Removed hover background */ |
260 | 257 | } |
| 258 | +
|
| 259 | + /* Custom Checkbox Styling */ |
| 260 | + .consent-manager-cookie-list .checkbox input[type="checkbox"] { |
| 261 | + appearance: none; |
| 262 | + -webkit-appearance: none; |
| 263 | + -moz-appearance: none; |
| 264 | + width: 26px; |
| 265 | + height: 26px; |
| 266 | + border: 3px solid #e0e0e0; |
| 267 | + border-radius: 50%; |
| 268 | + cursor: pointer; |
| 269 | + position: relative; |
| 270 | + transition: all 0.3s ease; |
| 271 | + vertical-align: middle; |
| 272 | + margin-right: 8px; |
| 273 | + margin-top: 0; |
| 274 | + float: left; /* Ensure it floats left like standard checkbox */ |
| 275 | + } |
| 276 | +
|
| 277 | + .consent-manager-cookie-list .checkbox input[type="checkbox"]::before { |
| 278 | + content: ""; |
| 279 | + position: absolute; |
| 280 | + width: 12px; |
| 281 | + height: 12px; |
| 282 | + border-radius: 50%; |
| 283 | + background: #667eea; |
| 284 | + top: 50%; |
| 285 | + left: 50%; |
| 286 | + transform: translate(-50%, -50%) scale(0); |
| 287 | + transition: transform 0.3s ease; |
| 288 | + } |
| 289 | +
|
| 290 | + .consent-manager-cookie-list .checkbox input[type="checkbox"]:checked { |
| 291 | + border-color: #667eea; |
| 292 | + } |
| 293 | +
|
| 294 | + .consent-manager-cookie-list .checkbox input[type="checkbox"]:checked::before { |
| 295 | + transform: translate(-50%, -50%) scale(1); |
| 296 | + } |
| 297 | +
|
| 298 | + .consent-manager-cookie-list .checkbox input[type="checkbox"]:hover { |
| 299 | + border-color: #667eea; |
| 300 | + } |
| 301 | +
|
| 302 | + .consent-manager-cookie-list .checkbox input[type="checkbox"]:focus { |
| 303 | + outline: 2px solid #667eea; |
| 304 | + outline-offset: 2px; |
| 305 | + } |
| 306 | +
|
261 | 307 | .consent-manager-cookie-list .checkbox label { |
262 | 308 | width: 100%; |
263 | 309 | cursor: pointer; |
| 310 | + display: block; /* Important for float layout */ |
| 311 | + padding-left: 0; |
| 312 | + line-height: 28px; /* Align text vertically with 26px checkbox */ |
264 | 313 | } |
265 | 314 | </style>'; |
266 | 315 |
|
|
0 commit comments