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
177 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; |
| 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 | display: flex; |
| 20 | } |
| 21 | |
| 22 | .asenha-header-right { |
| 23 | display: flex; |
| 24 | } |
| 25 | |
| 26 | .asenha-body { |
| 27 | background-color: #fff; |
| 28 | border-right: 1px solid #ccd0d4; |
| 29 | border-bottom: 1px solid #ccd0d4; |
| 30 | border-left: 1px solid #ccd0d4; |
| 31 | } |
| 32 | |
| 33 | .asenha .form-table { |
| 34 | margin-top: 0; |
| 35 | } |
| 36 | |
| 37 | .asenha-footer { |
| 38 | /* display: flex; */ |
| 39 | display: none; |
| 40 | flex-direction: column; |
| 41 | width: 100%; |
| 42 | box-sizing: border-box; |
| 43 | padding: 12px 20px; |
| 44 | background-color: #fafafa; |
| 45 | border-right: 1px solid #ccd0d4; |
| 46 | border-bottom: 1px solid #ccd0d4; |
| 47 | border-left: 1px solid #ccd0d4; |
| 48 | } |
| 49 | |
| 50 | .wrap h1.asenha-heading { |
| 51 | font-size: 1.5em; |
| 52 | line-height: 26px; |
| 53 | font-weight: 400; |
| 54 | margin: 0; |
| 55 | padding: 0; |
| 56 | } |
| 57 | |
| 58 | .asenha-heading a { |
| 59 | text-decoration: none; |
| 60 | transition: .25s; |
| 61 | } |
| 62 | |
| 63 | .asenha-heading a:hover { |
| 64 | text-decoration: underline; |
| 65 | } |
| 66 | |
| 67 | .asenha-heading small { |
| 68 | font-size: 14px; |
| 69 | font-weight: 500; |
| 70 | color: #555; |
| 71 | } |
| 72 | |
| 73 | .asenha-header-action { |
| 74 | position: relative; |
| 75 | top: 1px; |
| 76 | margin-left: 16px; |
| 77 | text-decoration: none; |
| 78 | transition: .25s; |
| 79 | line-height: 30px; |
| 80 | } |
| 81 | |
| 82 | .asenha-header-action:first-child { |
| 83 | margin-left: 0; |
| 84 | } |
| 85 | |
| 86 | .asenha-header-action:hover { |
| 87 | text-decoration: underline; |
| 88 | } |
| 89 | |
| 90 | .asenha-toggle { |
| 91 | border-bottom: 1px solid #eee; |
| 92 | } |
| 93 | |
| 94 | .form-table .asenha-toggle th { |
| 95 | padding: 32px 10px 28px 28px; |
| 96 | } |
| 97 | |
| 98 | .form-table .asenha-toggle td { |
| 99 | padding: 30px 28px 28px 10px; |
| 100 | } |
| 101 | |
| 102 | .asenha-toggle:last-child { |
| 103 | border-bottom: 0; |
| 104 | } |
| 105 | |
| 106 | .asenha-field-description { |
| 107 | position: relative; |
| 108 | top: 2px; |
| 109 | color: #999; |
| 110 | } |
| 111 | |
| 112 | /* WP Core UI overrides */ |
| 113 | |
| 114 | .wp-core-ui.tools_page_admin-site-enhancements .notice { |
| 115 | margin: 20px 20px 0 2px; |
| 116 | } |
| 117 | |
| 118 | .asenha .submit { |
| 119 | position: absolute; |
| 120 | } |
| 121 | |
| 122 | .asenha .submit input { |
| 123 | display: none; |
| 124 | } |
| 125 | |
| 126 | /* Toggle Styles -- https://codepen.io/deanelliott/pen/GRJjGqK */ |
| 127 | |
| 128 | .form-table .asenha-toggle td { |
| 129 | display: flex; |
| 130 | align-items: flex-start; |
| 131 | } |
| 132 | |
| 133 | :root { |
| 134 | --toggleHeight: 22px; |
| 135 | --toggleWidth: 40px; |
| 136 | --toggleGap: 2px; |
| 137 | } |
| 138 | |
| 139 | .asenha-field-checkbox { |
| 140 | width: 0 !important; |
| 141 | height: 0 !important; |
| 142 | opacity: 0; |
| 143 | position: absolute; |
| 144 | } |
| 145 | |
| 146 | .asenha-field-checkbox + label { |
| 147 | position: relative; |
| 148 | background: #c0c0c0; |
| 149 | width: var(--toggleWidth); |
| 150 | min-width: var(--toggleWidth); |
| 151 | height: var(--toggleHeight); |
| 152 | margin-right: 8px; |
| 153 | display: inline-flex; |
| 154 | align-items: center; |
| 155 | border-radius: 25px; |
| 156 | cursor: pointer; |
| 157 | transition: background 0.2s ease-in-out; |
| 158 | text-indent: calc( var(--toggleWidth) + 10px); |
| 159 | } |
| 160 | .asenha-field-checkbox + label:after { |
| 161 | content: ""; |
| 162 | background: #fff; |
| 163 | width: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 164 | height: calc(var(--toggleHeight) - (var(--toggleGap) * 2)); |
| 165 | position: absolute; |
| 166 | top: var(--toggleGap); |
| 167 | left: var(--toggleGap); |
| 168 | border-radius: 50%; |
| 169 | transition: left 0.3s ease-in-out, background 0.2s ease-in-out; |
| 170 | } |
| 171 | |
| 172 | .asenha-field-checkbox:checked + label { |
| 173 | background: seaGreen; |
| 174 | } |
| 175 | .asenha-field-checkbox:checked + label:after { |
| 176 | left: calc(100% - calc(var(--toggleHeight) - var(--toggleGap))); |
| 177 | } |