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
344 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 | /* WP Core UI overrides */ |
| 130 | |
| 131 | .wp-core-ui.tools_page_admin-site-enhancements .notice { |
| 132 | margin: 20px 20px 0 2px; |
| 133 | } |
| 134 | |
| 135 | .asenha .submit { |
| 136 | position: absolute; |
| 137 | } |
| 138 | |
| 139 | .asenha .submit input { |
| 140 | display: none; |
| 141 | } |
| 142 | |
| 143 | /* Toggle Styles -- https://codepen.io/deanelliott/pen/GRJjGqK */ |
| 144 | |
| 145 | .form-table .asenha-toggle td { |
| 146 | display: flex; |
| 147 | align-items: flex-start; |
| 148 | } |
| 149 | |
| 150 | :root { |
| 151 | --toggleHeight: 22px; |
| 152 | --toggleWidth: 40px; |
| 153 | --toggleGap: 2px; |
| 154 | } |
| 155 | |
| 156 | .asenha-field-checkbox { |
| 157 | width: 0 !important; |
| 158 | height: 0 !important; |
| 159 | opacity: 0; |
| 160 | position: absolute; |
| 161 | } |
| 162 | |
| 163 | .asenha-field-checkbox + label { |
| 164 | position: relative; |
| 165 | background: #c0c0c0; |
| 166 | width: var(--toggleWidth); |
| 167 | min-width: var(--toggleWidth); |
| 168 | height: var(--toggleHeight); |
| 169 | margin-right: 8px; |
| 170 | display: inline-flex; |
| 171 | align-items: center; |
| 172 | border-radius: 25px; |
| 173 | cursor: pointer; |
| 174 | transition: background 0.2s ease-in-out; |
| 175 | text-indent: calc( var(--toggleWidth) + 10px); |
| 176 | } |
| 177 | .asenha-field-checkbox + label:after { |
| 178 | content: ""; |
| 179 | background: #fff; |
| 180 | width: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 181 | height: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 182 | position: absolute; |
| 183 | top: var(--toggleGap); |
| 184 | left: var(--toggleGap); |
| 185 | border-radius: 50%; |
| 186 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 187 | } |
| 188 | |
| 189 | .asenha-field-checkbox:checked + label { |
| 190 | background: seaGreen; |
| 191 | } |
| 192 | .asenha-field-checkbox:checked + label:after { |
| 193 | left: calc(100% - calc(var(--toggleHeight) - var(--toggleGap))); |
| 194 | } |
| 195 | |
| 196 | /* Vertical Tabs */ |
| 197 | |
| 198 | .asenha-vertical-tabs { |
| 199 | padding: 0px; |
| 200 | margin: 0 auto; |
| 201 | display: flex; |
| 202 | } |
| 203 | |
| 204 | .asenha-tab-buttons { |
| 205 | background: #f5f5f5; |
| 206 | } |
| 207 | |
| 208 | .asenha-tab-buttons > input { |
| 209 | display: none; |
| 210 | } |
| 211 | |
| 212 | .asenha-tab-buttons > label { |
| 213 | display: block; |
| 214 | font-size: 14px; |
| 215 | font-weight: 600; |
| 216 | color: #999; |
| 217 | width: 180px; |
| 218 | padding: 20px; |
| 219 | background: #f5f5f5; |
| 220 | cursor: pointer; |
| 221 | transition: .25s; |
| 222 | } |
| 223 | |
| 224 | .asenha-tab-buttons > label:hover { |
| 225 | color: #444; |
| 226 | background: #f9f9f9; |
| 227 | } |
| 228 | |
| 229 | .asenha-tab-buttons > input:checked + label { |
| 230 | color: #1d2327; |
| 231 | background: #ffffff; |
| 232 | } |
| 233 | |
| 234 | .asenha-tab-contents > section { |
| 235 | display: none; |
| 236 | background: #ffffff; |
| 237 | } |
| 238 | |
| 239 | /* Sub Fields */ |
| 240 | |
| 241 | .form-table .asenha-subfields { |
| 242 | display: flex; |
| 243 | flex-wrap: wrap; |
| 244 | margin-top: 12px; |
| 245 | } |
| 246 | |
| 247 | .form-table .asenha-subfields tr { |
| 248 | display: block; |
| 249 | width: 100%; |
| 250 | } |
| 251 | |
| 252 | .form-table .asenha-subfields tr.asenha-half { |
| 253 | width: 50%; |
| 254 | } |
| 255 | |
| 256 | .form-table .asenha-subfields .asenha-hide-th th { |
| 257 | display: none; |
| 258 | } |
| 259 | |
| 260 | .form-table .asenha-subfields td { |
| 261 | padding: 0; |
| 262 | } |
| 263 | |
| 264 | .form-table .asenha-subfields td label { |
| 265 | position: relative; |
| 266 | top: -2px; |
| 267 | } |
| 268 | |
| 269 | /* Text input subfield */ |
| 270 | |
| 271 | .form-table .change-login-url .asenha-subfields, |
| 272 | .form-table .redirect-after-login .asenha-subfields { |
| 273 | margin-top: 8px; |
| 274 | } |
| 275 | |
| 276 | |
| 277 | .form-table .asenha-subfields tr.asenha-text.with-prefix-suffix { |
| 278 | display: flex; |
| 279 | justify-content: flex-start; |
| 280 | } |
| 281 | |
| 282 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix th { |
| 283 | display: flex; |
| 284 | height: 30px; |
| 285 | line-height: 30px; |
| 286 | width: auto; |
| 287 | padding: 0; |
| 288 | margin-right: 6px; |
| 289 | font-weight: normal; |
| 290 | color: #3c434a; |
| 291 | } |
| 292 | |
| 293 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix td { |
| 294 | display: flex; |
| 295 | align-items: center; |
| 296 | } |
| 297 | |
| 298 | .form-table .asenha-toggle .asenha-text.with-prefix-suffix input { |
| 299 | margin: 0 4px; |
| 300 | } |
| 301 | |
| 302 | /* Sortable subfield */ |
| 303 | |
| 304 | .form-table .asenha-toggle .asenha-sortable td { |
| 305 | flex-wrap: wrap; |
| 306 | flex-direction: column; |
| 307 | } |
| 308 | |
| 309 | .subfield-description { |
| 310 | margin-bottom: 12px; |
| 311 | } |
| 312 | |
| 313 | .custom-menu-order ul.menu { |
| 314 | margin-top: 0; |
| 315 | padding-top: 0; |
| 316 | } |
| 317 | |
| 318 | .custom-menu-order .menu-item-bar .menu-item-handle { |
| 319 | max-width: 320px; |
| 320 | width: 320px; |
| 321 | } |
| 322 | |
| 323 | .custom-menu-order .menu-item-handle .menu-item-checkbox { |
| 324 | display: inline-block; |
| 325 | } |
| 326 | |
| 327 | .custom-menu-order .menu-item-handle .item-title { |
| 328 | display: flex; |
| 329 | justify-content: space-between; |
| 330 | margin-right: 0; |
| 331 | } |
| 332 | |
| 333 | .menu-item-checkbox-label span { |
| 334 | font-weight: normal; |
| 335 | } |
| 336 | |
| 337 | .custom-menu-order .menu-item-title span, |
| 338 | .custom-menu-order .menu-item-settings .submenu-item span { |
| 339 | display: none; |
| 340 | } |
| 341 | |
| 342 | .form-table .asenha-subfields td label.menu-item-checkbox-label { |
| 343 | top: 0; |
| 344 | } |