codemirror
3 years ago
admin-page.css
3 years ago
hide-admin-notices.css
3 years ago
jBox.all.min.css
3 years ago
list-table.css
3 years ago
media-replace.css
3 years ago
wp-admin.css
3 years ago
admin-page.css
458 lines
| 1 | .asenha-header { |
| 2 | display: flex; |
| 3 | justify-content: space-between; |
| 4 | align-items: center; |
| 5 | width: 100%; |
| 6 | box-sizing: border-box; |
| 7 | margin-top: 24px; |
| 8 | padding: 28px 20px; |
| 9 | background-color: #fafafa; |
| 10 | border: 1px solid #ccd0d4; |
| 11 | transition: .25s; |
| 12 | } |
| 13 | |
| 14 | .asenha-header.asenha-sticky { |
| 15 | box-shadow: 0 5px 10px rgb(0 0 0 / 10%); |
| 16 | } |
| 17 | |
| 18 | .asenha-header-left { |
| 19 | position: relative; |
| 20 | display: flex; |
| 21 | justify-content: flex-start; |
| 22 | } |
| 23 | |
| 24 | .asenha-header-right { |
| 25 | position: relative; |
| 26 | display: flex; |
| 27 | justify-content: flex-end; |
| 28 | min-width: 240px; |
| 29 | } |
| 30 | |
| 31 | .asenha-body { |
| 32 | background-color: #fff; |
| 33 | border-right: 1px solid #ccd0d4; |
| 34 | border-bottom: 1px solid #ccd0d4; |
| 35 | border-left: 1px solid #ccd0d4; |
| 36 | } |
| 37 | |
| 38 | .asenha .form-table { |
| 39 | margin-top: 0; |
| 40 | } |
| 41 | |
| 42 | .asenha-footer { |
| 43 | /* display: flex; */ |
| 44 | display: none; |
| 45 | flex-direction: column; |
| 46 | width: 100%; |
| 47 | box-sizing: border-box; |
| 48 | padding: 12px 20px; |
| 49 | background-color: #fafafa; |
| 50 | border-right: 1px solid #ccd0d4; |
| 51 | border-bottom: 1px solid #ccd0d4; |
| 52 | border-left: 1px solid #ccd0d4; |
| 53 | } |
| 54 | |
| 55 | .wrap h1.asenha-heading { |
| 56 | font-size: 1.5em; |
| 57 | line-height: 26px; |
| 58 | font-weight: 400; |
| 59 | margin: 0; |
| 60 | padding: 0; |
| 61 | } |
| 62 | |
| 63 | .asenha-heading a { |
| 64 | text-decoration: none; |
| 65 | transition: .25s; |
| 66 | } |
| 67 | |
| 68 | .asenha-heading a:hover { |
| 69 | text-decoration: underline; |
| 70 | } |
| 71 | |
| 72 | .asenha-heading small { |
| 73 | font-size: 14px; |
| 74 | font-weight: 500; |
| 75 | color: #555; |
| 76 | } |
| 77 | |
| 78 | .asenha-header-action { |
| 79 | position: relative; |
| 80 | top: 1px; |
| 81 | margin-left: 16px; |
| 82 | text-decoration: none; |
| 83 | transition: .25s; |
| 84 | line-height: 30px; |
| 85 | } |
| 86 | |
| 87 | .asenha-header-action:first-child { |
| 88 | margin-left: 0; |
| 89 | } |
| 90 | |
| 91 | .asenha-header-action:hover { |
| 92 | text-decoration: underline; |
| 93 | } |
| 94 | |
| 95 | .asenha-changes-saved { |
| 96 | position: absolute; |
| 97 | right: 0; |
| 98 | top: 33px; |
| 99 | background: seagreen; |
| 100 | color: #fff; |
| 101 | padding: 2px 8px; |
| 102 | border-radius: 3px; |
| 103 | } |
| 104 | |
| 105 | .asenha-toggle { |
| 106 | border-bottom: 1px solid #eee; |
| 107 | } |
| 108 | |
| 109 | .form-table .asenha-toggle th { |
| 110 | padding: 20px 10px 16px 20px; |
| 111 | line-height: 1.4; |
| 112 | } |
| 113 | |
| 114 | .form-table .asenha-toggle td { |
| 115 | padding: 18px 20px 16px 10px; |
| 116 | line-height: 1.4; |
| 117 | } |
| 118 | |
| 119 | .asenha-toggle:last-child { |
| 120 | border-bottom: 0; |
| 121 | } |
| 122 | |
| 123 | .asenha-field-description { |
| 124 | position: relative; |
| 125 | top: 1px; |
| 126 | color: #3c434a; |
| 127 | } |
| 128 | |
| 129 | .asenha-field-with-options { |
| 130 | width: 100%; |
| 131 | } |
| 132 | |
| 133 | /* WP Core UI overrides */ |
| 134 | |
| 135 | .wp-core-ui.tools_page_admin-site-enhancements .notice { |
| 136 | margin: 20px 20px 0 2px; |
| 137 | } |
| 138 | |
| 139 | .asenha .submit { |
| 140 | position: absolute; |
| 141 | } |
| 142 | |
| 143 | .asenha .submit input { |
| 144 | display: none; |
| 145 | } |
| 146 | |
| 147 | /* Toggle Styles -- https://codepen.io/deanelliott/pen/GRJjGqK */ |
| 148 | |
| 149 | .form-table .asenha-toggle td { |
| 150 | display: flex; |
| 151 | align-items: flex-start; |
| 152 | } |
| 153 | |
| 154 | :root { |
| 155 | --toggleHeight: 22px; |
| 156 | --toggleWidth: 40px; |
| 157 | --toggleGap: 2px; |
| 158 | } |
| 159 | |
| 160 | .asenha-field-checkbox { |
| 161 | width: 0 !important; |
| 162 | height: 0 !important; |
| 163 | opacity: 0; |
| 164 | position: absolute; |
| 165 | } |
| 166 | |
| 167 | .asenha-field-checkbox + label { |
| 168 | position: relative; |
| 169 | background: #c0c0c0; |
| 170 | width: var(--toggleWidth); |
| 171 | min-width: var(--toggleWidth); |
| 172 | height: var(--toggleHeight); |
| 173 | margin-right: 8px; |
| 174 | display: inline-flex; |
| 175 | align-items: center; |
| 176 | border-radius: 25px; |
| 177 | cursor: pointer; |
| 178 | transition: background 0.2s ease-in-out; |
| 179 | text-indent: calc( var(--toggleWidth) + 10px); |
| 180 | } |
| 181 | .asenha-field-checkbox + label:after { |
| 182 | content: ""; |
| 183 | background: #fff; |
| 184 | width: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 185 | height: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 186 | position: absolute; |
| 187 | top: var(--toggleGap); |
| 188 | left: var(--toggleGap); |
| 189 | border-radius: 50%; |
| 190 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 191 | } |
| 192 | |
| 193 | .asenha-field-checkbox:checked + label { |
| 194 | background: seaGreen; |
| 195 | } |
| 196 | .asenha-field-checkbox:checked + label:after { |
| 197 | left: calc(100% - calc(var(--toggleHeight) - var(--toggleGap))); |
| 198 | } |
| 199 | |
| 200 | /* Vertical Tabs */ |
| 201 | |
| 202 | .asenha-vertical-tabs { |
| 203 | padding: 0px; |
| 204 | margin: 0 auto; |
| 205 | display: flex; |
| 206 | } |
| 207 | |
| 208 | .asenha-tab-buttons { |
| 209 | background: #f5f5f5; |
| 210 | } |
| 211 | |
| 212 | .asenha-tab-buttons > input { |
| 213 | display: none; |
| 214 | } |
| 215 | |
| 216 | .asenha-tab-buttons > label { |
| 217 | display: block; |
| 218 | font-size: 14px; |
| 219 | font-weight: 600; |
| 220 | color: #999; |
| 221 | width: 180px; |
| 222 | padding: 20px; |
| 223 | background: #f5f5f5; |
| 224 | cursor: pointer; |
| 225 | transition: .25s; |
| 226 | } |
| 227 | |
| 228 | .asenha-tab-buttons > label:hover { |
| 229 | color: #444; |
| 230 | background: #f9f9f9; |
| 231 | } |
| 232 | |
| 233 | .asenha-tab-buttons > input:checked + label { |
| 234 | color: #1d2327; |
| 235 | background: #ffffff; |
| 236 | } |
| 237 | |
| 238 | .asenha-tab-contents > section { |
| 239 | display: none; |
| 240 | background: #ffffff; |
| 241 | } |
| 242 | |
| 243 | /* Show all / less toggler | Modified from https://codepen.io/symonsays/pen/rzgEgY */ |
| 244 | |
| 245 | .asenha-field-with-options.field-show-more.is-enabled { |
| 246 | display: block; |
| 247 | position: relative; |
| 248 | -webkit-transition: all 0.5s ease; |
| 249 | -moz-transition: all 0.5s ease; |
| 250 | -o-transition: all 0.5s ease; |
| 251 | transition: all 0.5s ease; |
| 252 | } |
| 253 | |
| 254 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more { |
| 255 | height: 80px; |
| 256 | overflow: hidden; |
| 257 | -webkit-transition: all 0.5s ease; |
| 258 | -moz-transition: all 0.5s ease; |
| 259 | -o-transition: all 0.5s ease; |
| 260 | transition: all 0.5s ease; |
| 261 | } |
| 262 | |
| 263 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more { |
| 264 | height: auto; |
| 265 | overflow:visible; |
| 266 | } |
| 267 | |
| 268 | .asenha-field-with-options.field-show-more.is-enabled .opened.asenha-field-options-wrapper.wrapper-show-more:before { |
| 269 | /* bottom: -80px; */ |
| 270 | display: none; |
| 271 | } |
| 272 | |
| 273 | .show-more-less { |
| 274 | display: none; |
| 275 | } |
| 276 | |
| 277 | .is-enabled .show-more-less { |
| 278 | display: block; |
| 279 | background: none; |
| 280 | text-decoration: none; |
| 281 | border: 0; |
| 282 | position: absolute; |
| 283 | left: 0; |
| 284 | bottom: -12px; |
| 285 | margin: auto; |
| 286 | text-align: center; |
| 287 | text-transform: uppercase; |
| 288 | font-size: 11px; |
| 289 | font-weight: 500; |
| 290 | cursor: pointer; |
| 291 | z-index: 3; |
| 292 | transition: .25s; |
| 293 | } |
| 294 | |
| 295 | .is-enabled .show-more-less:active, |
| 296 | .is-enabled .show-more-less:hover, |
| 297 | .is-enabled .show-more-less:focus { |
| 298 | outline: none; |
| 299 | box-shadow: none; |
| 300 | } |
| 301 | |
| 302 | .is-enabled .show-more-less.show-more, |
| 303 | .is-enabled .show-more-less:not(.show-more):hover { |
| 304 | color: #2271b1; |
| 305 | } |
| 306 | |
| 307 | .is-enabled .show-more-less:not(.show-more) { |
| 308 | color: #ddd; |
| 309 | } |
| 310 | |
| 311 | .asenha-field-with-options.field-show-more.is-enabled .asenha-field-options-wrapper.wrapper-show-more:before { |
| 312 | content: ''; |
| 313 | display: block; |
| 314 | position: absolute; |
| 315 | z-index: 1; |
| 316 | font-size: 12px; |
| 317 | left: 0; |
| 318 | right: 0; |
| 319 | bottom: 0; |
| 320 | height: 60px; |
| 321 | width: 100%; |
| 322 | text-align: center; |
| 323 | background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.7) 50%,rgba(255,255,255,1) 100%); |
| 324 | } |
| 325 | |
| 326 | /* Sub Fields */ |
| 327 | |
| 328 | .form-table .asenha-subfields { |
| 329 | display: flex; |
| 330 | flex-wrap: wrap; |
| 331 | margin-top: 12px; |
| 332 | } |
| 333 | |
| 334 | .form-table .asenha-subfields tr { |
| 335 | display: block; |
| 336 | width: 100%; |
| 337 | } |
| 338 | |
| 339 | .form-table .asenha-subfields tr.asenha-half { |
| 340 | width: 50%; |
| 341 | } |
| 342 | |
| 343 | .form-table .asenha-subfields .asenha-hide-th th { |
| 344 | display: none; |
| 345 | } |
| 346 | |
| 347 | .form-table .asenha-subfields td { |
| 348 | padding: 0; |
| 349 | } |
| 350 | |
| 351 | .form-table .asenha-subfields td label { |
| 352 | position: relative; |
| 353 | top: -2px; |
| 354 | } |
| 355 | |
| 356 | /* Text input subfield */ |
| 357 | |
| 358 | .form-table .change-login-url .asenha-subfields, |
| 359 | .form-table .redirect-after-login .asenha-subfields { |
| 360 | margin-top: 8px; |
| 361 | } |
| 362 | |
| 363 | |
| 364 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix { |
| 365 | display: flex; |
| 366 | justify-content: flex-start; |
| 367 | } |
| 368 | |
| 369 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th { |
| 370 | display: flex; |
| 371 | height: 30px; |
| 372 | line-height: 30px; |
| 373 | width: auto; |
| 374 | padding: 0; |
| 375 | margin-right: 6px; |
| 376 | font-weight: normal; |
| 377 | color: #3c434a; |
| 378 | } |
| 379 | |
| 380 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td { |
| 381 | display: flex; |
| 382 | align-items: center; |
| 383 | } |
| 384 | |
| 385 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix input { |
| 386 | margin: 0 4px; |
| 387 | } |
| 388 | |
| 389 | .asenha-subfield-textarea { |
| 390 | width: 100%; |
| 391 | } |
| 392 | |
| 393 | /* Sortable subfield */ |
| 394 | |
| 395 | .form-table .asenha-toggle .asenha-sortable td { |
| 396 | flex-wrap: wrap; |
| 397 | flex-direction: column; |
| 398 | } |
| 399 | |
| 400 | .subfield-description { |
| 401 | margin-bottom: 12px; |
| 402 | } |
| 403 | |
| 404 | .custom-menu-order ul.menu { |
| 405 | margin-top: 0; |
| 406 | padding-top: 0; |
| 407 | overflow: auto; |
| 408 | } |
| 409 | |
| 410 | .custom-menu-order .menu-item-bar .menu-item-handle { |
| 411 | max-width: 320px; |
| 412 | width: 320px; |
| 413 | } |
| 414 | |
| 415 | .custom-menu-order .menu-item-handle .menu-item-checkbox { |
| 416 | display: inline-block; |
| 417 | } |
| 418 | |
| 419 | .custom-menu-order .menu-item-handle .item-title { |
| 420 | display: flex; |
| 421 | justify-content: space-between; |
| 422 | margin-right: 0; |
| 423 | } |
| 424 | |
| 425 | .menu-item-checkbox-label span { |
| 426 | font-weight: normal; |
| 427 | } |
| 428 | |
| 429 | .custom-menu-order .menu-item-title span, |
| 430 | .custom-menu-order .menu-item-settings .submenu-item span { |
| 431 | display: none; |
| 432 | } |
| 433 | |
| 434 | .sortable-placeholder { |
| 435 | width: 350px; |
| 436 | max-width: 350px; |
| 437 | height: 42px; |
| 438 | min-height: 42px; |
| 439 | max-height: 42px; |
| 440 | border: 1px dotted #ccc; |
| 441 | } |
| 442 | |
| 443 | .form-table .asenha-subfields td label.menu-item-checkbox-label { |
| 444 | top: 0; |
| 445 | } |
| 446 | |
| 447 | /* CodeMirror*/ |
| 448 | |
| 449 | .custom-admin-css .asenha-subfield-textarea, |
| 450 | .custom-frontend-css .asenha-subfield-textarea { |
| 451 | background: #fcfcfc; |
| 452 | } |
| 453 | |
| 454 | .custom-admin-css .CodeMirror, |
| 455 | .custom-frontend-css .CodeMirror { |
| 456 | border: 1px solid #ddd; |
| 457 | background: #fcfcfc; |
| 458 | } |