| 1 |
/** |
| 2 |
* All of the CSS for your admin-specific functionality should be |
| 3 |
* included in this file. |
| 4 |
*/ |
| 5 |
|
| 6 |
#caddy-form { |
| 7 |
width: 100%; |
| 8 |
max-width: 900px; |
| 9 |
} |
| 10 |
|
| 11 |
.cc-settings-container { |
| 12 |
margin-top: 1em; |
| 13 |
position: relative; |
| 14 |
box-shadow: none; |
| 15 |
padding: 0; |
| 16 |
border-top: 0; |
| 17 |
max-width: 900px; |
| 18 |
} |
| 19 |
|
| 20 |
.cc-settings-container h2 { |
| 21 |
margin: 1.2em 0 0.8em; |
| 22 |
text-transform: capitalize; |
| 23 |
} |
| 24 |
|
| 25 |
.cc-settings-container p { |
| 26 |
margin: 0.5em 0 1em 0; |
| 27 |
} |
| 28 |
|
| 29 |
.cc-settings-container select { |
| 30 |
width: 60%; |
| 31 |
} |
| 32 |
|
| 33 |
.cc-settings-container input.select2-search__field { |
| 34 |
box-shadow: none; |
| 35 |
} |
| 36 |
|
| 37 |
.cc-settings-container .form-table { |
| 38 |
margin-bottom: 35px; |
| 39 |
} |
| 40 |
|
| 41 |
.cc-settings-container .form-table tbody { |
| 42 |
background-color: white; |
| 43 |
border: 1px solid #e5e5e5; |
| 44 |
border-radius: 5px; |
| 45 |
border-collapse: collapse; |
| 46 |
display: block; |
| 47 |
} |
| 48 |
|
| 49 |
.cc-settings-container .select2-container { |
| 50 |
width: 375px !important; |
| 51 |
} |
| 52 |
|
| 53 |
.cc-settings-container .form-table tr { |
| 54 |
border-bottom: 1px solid #e6e6e6; |
| 55 |
width: 100%; |
| 56 |
display: block; |
| 57 |
} |
| 58 |
|
| 59 |
.cc-settings-container .form-table tr:last-child { |
| 60 |
border-bottom: none; |
| 61 |
} |
| 62 |
|
| 63 |
.cc-settings-container .form-table th { |
| 64 |
padding: 20px 10px 20px 20px; |
| 65 |
width: 250px; |
| 66 |
} |
| 67 |
|
| 68 |
.cc-settings-container .form-table td { |
| 69 |
padding: 20px 10px; |
| 70 |
vertical-align: top; |
| 71 |
min-width: 375px; |
| 72 |
} |
| 73 |
|
| 74 |
.cc-settings-container .section-icons { |
| 75 |
background-color: #000; |
| 76 |
border-radius: 5px; |
| 77 |
padding: 7px; |
| 78 |
vertical-align: middle; |
| 79 |
margin-right: 5px; |
| 80 |
color: #FFF; |
| 81 |
font-size: 14px; |
| 82 |
} |
| 83 |
|
| 84 |
.cc-logo { |
| 85 |
width: 110px; |
| 86 |
margin-top: 10px; |
| 87 |
margin-bottom: 10px; |
| 88 |
margin-right: 20px; |
| 89 |
display: inline-block; |
| 90 |
vertical-align: middle; |
| 91 |
} |
| 92 |
|
| 93 |
.cc-primary-save { |
| 94 |
margin-top: 0 !important; |
| 95 |
} |
| 96 |
|
| 97 |
.cc-primary-save-btn { |
| 98 |
font-size: 16px !important; |
| 99 |
padding: 2px 20px !important; |
| 100 |
} |
| 101 |
|
| 102 |
.cc-settings-wrap { |
| 103 |
display: flex; |
| 104 |
} |
| 105 |
|
| 106 |
.cc-box { |
| 107 |
background-color: white; |
| 108 |
border: 1px solid #e5e5e5; |
| 109 |
border-radius: 5px; |
| 110 |
padding: 20px; |
| 111 |
margin-bottom: 30px; |
| 112 |
text-align: center; |
| 113 |
} |
| 114 |
|
| 115 |
.cc-box h3 { |
| 116 |
text-align: center; |
| 117 |
margin-top: 0 !important; |
| 118 |
} |
| 119 |
|
| 120 |
.cc-notices-container { |
| 121 |
margin-top: 20px; |
| 122 |
min-width: 250px; |
| 123 |
margin-left: 35px; |
| 124 |
} |
| 125 |
|
| 126 |
.cc-upgrade { |
| 127 |
background-color: #333333; |
| 128 |
border: 1px solid #000000; |
| 129 |
border-radius: 5px; |
| 130 |
padding: 20px; |
| 131 |
color: #FFF; |
| 132 |
} |
| 133 |
|
| 134 |
.cc-upgrade ul { |
| 135 |
text-align: left; |
| 136 |
width: 90%; |
| 137 |
margin: auto auto 20px; |
| 138 |
} |
| 139 |
|
| 140 |
.cc-upgrade h3 { |
| 141 |
color: #4abaf1; |
| 142 |
} |
| 143 |
|
| 144 |
.cc-links { |
| 145 |
background-color: #007cba; |
| 146 |
border-color: #007cba; |
| 147 |
} |
| 148 |
|
| 149 |
.cc-links h3 { |
| 150 |
color: #FFF; |
| 151 |
} |
| 152 |
|
| 153 |
.cc-links a { |
| 154 |
color: #FFF; |
| 155 |
} |
| 156 |
|
| 157 |
.toplevel_page_caddy h2.nav-tab-wrapper { |
| 158 |
margin-bottom: 15px !important; |
| 159 |
} |
| 160 |
|
| 161 |
.cc-version { |
| 162 |
display: inline-block; |
| 163 |
} |
| 164 |
|
| 165 |
.cc-settings-container .caddy-pro-option { |
| 166 |
pointer-events: none; |
| 167 |
opacity: 0.4; |
| 168 |
} |
| 169 |
|
| 170 |
.cc-toggle { |
| 171 |
position: relative; |
| 172 |
} |
| 173 |
|
| 174 |
.cc-toggle *, .cc-toggle *:before, .cc-toggle *:after { |
| 175 |
box-sizing: border-box; |
| 176 |
} |
| 177 |
|
| 178 |
.cc-toggle input[type="checkbox"] { |
| 179 |
opacity: 0; |
| 180 |
position: absolute; |
| 181 |
top: 0; |
| 182 |
left: 0; |
| 183 |
} |
| 184 |
|
| 185 |
.cc-toggle input[type="checkbox"][disabled] ~ label { |
| 186 |
pointer-events: none; |
| 187 |
} |
| 188 |
|
| 189 |
.cc-toggle input[type="checkbox"][disabled] ~ label .cc-toggle__switch { |
| 190 |
opacity: 0.4; |
| 191 |
} |
| 192 |
|
| 193 |
.cc-toggle input[type="checkbox"]:checked ~ label .cc-toggle__switch:before { |
| 194 |
content: attr(data-unchecked); |
| 195 |
left: 0; |
| 196 |
} |
| 197 |
|
| 198 |
.cc-toggle input[type="checkbox"]:checked ~ label .cc-toggle__switch:after { |
| 199 |
content: attr(data-checked); |
| 200 |
} |
| 201 |
|
| 202 |
.cc-toggle label { |
| 203 |
-webkit-user-select: none; |
| 204 |
-moz-user-select: none; |
| 205 |
-ms-user-select: none; |
| 206 |
user-select: none; |
| 207 |
position: relative; |
| 208 |
display: -webkit-box; |
| 209 |
display: flex; |
| 210 |
-webkit-box-align: center; |
| 211 |
align-items: center; |
| 212 |
} |
| 213 |
|
| 214 |
.cc-toggle label .cc-toggle__label-text { |
| 215 |
-webkit-box-flex: 1; |
| 216 |
flex: 1; |
| 217 |
padding-left: 32px; |
| 218 |
} |
| 219 |
|
| 220 |
.cc-toggle label .cc-toggle__switch { |
| 221 |
position: relative; |
| 222 |
} |
| 223 |
|
| 224 |
.cc-toggle label .cc-toggle__switch:before { |
| 225 |
content: attr(data-checked); |
| 226 |
position: absolute; |
| 227 |
top: 0; |
| 228 |
text-transform: uppercase; |
| 229 |
text-align: center; |
| 230 |
} |
| 231 |
|
| 232 |
.cc-toggle label .cc-toggle__switch:after { |
| 233 |
content: attr(data-unchecked); |
| 234 |
position: absolute; |
| 235 |
z-index: 5; |
| 236 |
text-transform: uppercase; |
| 237 |
text-align: center; |
| 238 |
background: white; |
| 239 |
-webkit-transform: translate3d(0, 0, 0); |
| 240 |
transform: translate3d(0, 0, 0); |
| 241 |
} |
| 242 |
|
| 243 |
.cc-toggle input[type="checkbox"][disabled] ~ label { |
| 244 |
color: rgba(119, 119, 119, 0.5); |
| 245 |
} |
| 246 |
|
| 247 |
.cc-toggle input[type="checkbox"]:focus ~ label .cc-toggle__switch, .cc-toggle input[type="checkbox"]:hover ~ label .cc-toggle__switch { |
| 248 |
background-color: #777; |
| 249 |
} |
| 250 |
|
| 251 |
.cc-toggle input[type="checkbox"]:focus ~ label .cc-toggle__switch:after, .cc-toggle input[type="checkbox"]:hover ~ label .cc-toggle__switch:after { |
| 252 |
color: #5e5e5e; |
| 253 |
} |
| 254 |
|
| 255 |
.cc-toggle input[type="checkbox"]:hover ~ label { |
| 256 |
color: #6a6a6a; |
| 257 |
} |
| 258 |
|
| 259 |
.cc-toggle input[type="checkbox"]:checked ~ label .cc-toggle__switch { |
| 260 |
background-color: #007bba; |
| 261 |
} |
| 262 |
|
| 263 |
.cc-toggle input[type="checkbox"]:checked ~ label .cc-toggle__switch:after { |
| 264 |
color: #007bba; |
| 265 |
} |
| 266 |
|
| 267 |
.cc-toggle input[type="checkbox"]:checked:focus ~ label .cc-toggle__switch, .cc-toggle input[type="checkbox"]:checked:hover ~ label .cc-toggle__switch { |
| 268 |
background-color: #028fd8; |
| 269 |
} |
| 270 |
|
| 271 |
.cc-toggle input[type="checkbox"]:checked:focus ~ label .cc-toggle__switch:after, .cc-toggle input[type="checkbox"]:checked:hover ~ label .cc-toggle__switch:after { |
| 272 |
color: #028fd8; |
| 273 |
} |
| 274 |
|
| 275 |
.cc-toggle label .cc-toggle__label-text { |
| 276 |
-webkit-box-flex: 1; |
| 277 |
flex: 1; |
| 278 |
} |
| 279 |
|
| 280 |
.cc-toggle label .cc-toggle__switch { |
| 281 |
-webkit-transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 282 |
transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 283 |
background: #848484; |
| 284 |
} |
| 285 |
|
| 286 |
.cc-toggle label .cc-toggle__switch:before { |
| 287 |
color: rgba(255, 255, 255, 0.5); |
| 288 |
} |
| 289 |
|
| 290 |
.cc-toggle label .cc-toggle__switch:after { |
| 291 |
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 292 |
transition: -webkit-transform 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 293 |
transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 294 |
transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1), -webkit-transform 0.3s cubic-bezier(0, 1, 0.5, 1); |
| 295 |
color: #777; |
| 296 |
} |
| 297 |
|
| 298 |
.cc-toggle input[type="checkbox"]:focus ~ label .cc-toggle__switch:after, .cc-toggle input[type="checkbox"]:hover ~ label .cc-toggle__switch:after { |
| 299 |
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4); |
| 300 |
} |
| 301 |
|
| 302 |
.cc-toggle input[type="checkbox"]:checked ~ label .cc-toggle__switch:after { |
| 303 |
-webkit-transform: translate3d(65px, 0, 0); |
| 304 |
transform: translate3d(65px, 0, 0); |
| 305 |
} |
| 306 |
|
| 307 |
.cc-toggle input[type="checkbox"]:checked:focus ~ label .cc-toggle__switch:after, .cc-toggle input[type="checkbox"]:checked:hover ~ label .cc-toggle__switch:after { |
| 308 |
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4); |
| 309 |
} |
| 310 |
|
| 311 |
.cc-toggle label { |
| 312 |
font-size: 14px; |
| 313 |
} |
| 314 |
|
| 315 |
.cc-toggle label .cc-toggle__switch { |
| 316 |
height: 36px; |
| 317 |
-webkit-box-flex: 0; |
| 318 |
flex: 0 0 134px; |
| 319 |
border-radius: 4px; |
| 320 |
} |
| 321 |
|
| 322 |
.cc-toggle label .cc-toggle__switch:before { |
| 323 |
left: 67px; |
| 324 |
font-size: 12px; |
| 325 |
line-height: 36px; |
| 326 |
width: 67px; |
| 327 |
padding: 0 12px; |
| 328 |
} |
| 329 |
|
| 330 |
.cc-toggle label .cc-toggle__switch:after { |
| 331 |
top: 2px; |
| 332 |
left: 2px; |
| 333 |
border-radius: 2px; |
| 334 |
width: 65px; |
| 335 |
line-height: 32px; |
| 336 |
font-size: 12px; |
| 337 |
} |
| 338 |
|
| 339 |
.cc-toggle label .cc-toggle__switch:hover:after { |
| 340 |
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4); |
| 341 |
} |
| 342 |
|
| 343 |
.cc-toggle.cc-toggle--size-small input[type="checkbox"]:focus ~ label .cc-toggle__switch:after, .cc-toggle.cc-toggle--size-small input[type="checkbox"]:hover ~ label .cc-toggle__switch:after { |
| 344 |
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4); |
| 345 |
} |
| 346 |
|
| 347 |
.cc-toggle.cc-toggle--size-small input[type="checkbox"]:checked ~ label .cc-toggle__switch:after { |
| 348 |
-webkit-transform: translate3d(44px, 0, 0); |
| 349 |
transform: translate3d(44px, 0, 0); |
| 350 |
} |
| 351 |
|
| 352 |
.cc-toggle.cc-toggle--size-small input[type="checkbox"]:checked:focus ~ label .cc-toggle__switch:after, .cc-toggle.cc-toggle--size-small input[type="checkbox"]:checked:hover ~ label .cc-toggle__switch:after { |
| 353 |
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4); |
| 354 |
} |
| 355 |
|
| 356 |
.cc-toggle.cc-toggle--size-small label { |
| 357 |
font-size: 13px; |
| 358 |
} |
| 359 |
|
| 360 |
.cc-toggle.cc-toggle--size-small label .cc-toggle__switch { |
| 361 |
height: 28px; |
| 362 |
-webkit-box-flex: 0; |
| 363 |
flex: 0 0 90px; |
| 364 |
border-radius: 2px; |
| 365 |
} |
| 366 |
|
| 367 |
.cc-toggle.cc-toggle--size-small label .cc-toggle__switch:before { |
| 368 |
left: 45px; |
| 369 |
font-size: 10px; |
| 370 |
line-height: 28px; |
| 371 |
width: 45px; |
| 372 |
padding: 0 12px; |
| 373 |
} |
| 374 |
|
| 375 |
.cc-toggle.cc-toggle--size-small label .cc-toggle__switch:after { |
| 376 |
top: 1px; |
| 377 |
left: 1px; |
| 378 |
border-radius: 1px; |
| 379 |
width: 44px; |
| 380 |
line-height: 26px; |
| 381 |
font-size: 10px; |
| 382 |
} |
| 383 |
|
| 384 |
.cc-toggle.cc-toggle--size-small label .cc-toggle__switch:hover:after { |
| 385 |
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4); |
| 386 |
} |
| 387 |
|
| 388 |
.cc-welcome-notice { |
| 389 |
padding: 14px 45px 23px 30px !important; |
| 390 |
border-left: 4px solid #007cba; |
| 391 |
display: flex; |
| 392 |
align-items: center; |
| 393 |
} |
| 394 |
|
| 395 |
.cc-welcome-notice h3 { |
| 396 |
margin-bottom: 0; |
| 397 |
margin-top: 12px; |
| 398 |
} |
| 399 |
|
| 400 |
.cc-celebrate { |
| 401 |
margin-right: 25px; |
| 402 |
/*transform:zoomIn 1s; |
| 403 |
animation: zoomIn 1s;*/ |
| 404 |
-moz-animation: zoomIn 0.5s; /* Firefox */ |
| 405 |
-webkit-animation: zoomIn 0.5s; /* Safari and Chrome */ |
| 406 |
-o-animation: zoomIn 0.5s; /* Opera */ |
| 407 |
} |
| 408 |
|
| 409 |
/* Zooming entrances */ |
| 410 |
@-webkit-keyframes zoomIn { |
| 411 |
from { |
| 412 |
opacity: 0; |
| 413 |
-webkit-transform: scale3d(0.3, 0.3, 0.3); |
| 414 |
transform: scale3d(0.3, 0.3, 0.3); |
| 415 |
} |
| 416 |
|
| 417 |
50% { |
| 418 |
opacity: 1; |
| 419 |
} |
| 420 |
} |
| 421 |
|
| 422 |
@keyframes zoomIn { |
| 423 |
from { |
| 424 |
opacity: 0; |
| 425 |
-webkit-transform: scale3d(0.3, 0.3, 0.3); |
| 426 |
transform: scale3d(0.3, 0.3, 0.3); |
| 427 |
} |
| 428 |
|
| 429 |
50% { |
| 430 |
opacity: 1; |
| 431 |
} |
| 432 |
} |
| 433 |
|
| 434 |
.animate__zoomIn { |
| 435 |
-webkit-animation-name: zoomIn; |
| 436 |
animation-name: zoomIn; |
| 437 |
} |