siteguard-menu.css
201 lines
| 1 | .siteguard-form-table { |
| 2 | border-collapse: collapse; |
| 3 | margin-top: 0.5em; |
| 4 | width: 100%; |
| 5 | clear: both; |
| 6 | } |
| 7 | |
| 8 | .siteguard-form-table tr { |
| 9 | height: 35px; |
| 10 | } |
| 11 | |
| 12 | .siteguard-form-table, |
| 13 | .siteguard-form-table td, |
| 14 | .siteguard-form-table th, |
| 15 | .siteguard-form-table td p, |
| 16 | .siteguard-form-wrap label { |
| 17 | font-size: 14px; |
| 18 | } |
| 19 | |
| 20 | .siteguard-form-table td { |
| 21 | border:1px solid #cccccc; |
| 22 | margin-bottom: 5px; |
| 23 | padding: 5px 5px; |
| 24 | line-height: 1.3; |
| 25 | vertical-align: middle; |
| 26 | background-color: #ffffff; |
| 27 | } |
| 28 | |
| 29 | .siteguard-form-wrap label { |
| 30 | color: #222; |
| 31 | font-weight: normal; |
| 32 | text-shadow: none; |
| 33 | vertical-align: baseline; |
| 34 | } |
| 35 | |
| 36 | .siteguard-form-table th { |
| 37 | border:1px solid #cccccc; |
| 38 | vertical-align: middle; |
| 39 | text-align: left; |
| 40 | padding: 5px 5px 0px 5px; |
| 41 | width: 300px; |
| 42 | line-height: 1.3; |
| 43 | font-weight: 600; |
| 44 | background-color: #f9f9f9; |
| 45 | } |
| 46 | |
| 47 | .siteguard-form-table th.th-full { |
| 48 | width: auto; |
| 49 | font-weight: 400; |
| 50 | } |
| 51 | |
| 52 | .siteguard-form-table td p { |
| 53 | margin-top: 4px; |
| 54 | margin-bottom: 0; |
| 55 | } |
| 56 | |
| 57 | .siteguard-form-table th img { |
| 58 | vertical-align: middle; |
| 59 | } |
| 60 | |
| 61 | .siteguard-status-icon { |
| 62 | margin: 3px; |
| 63 | } |
| 64 | |
| 65 | .siteguard-status-icon-spacer { |
| 66 | display: inline-block; |
| 67 | width: 24px; |
| 68 | height: 24px; |
| 69 | margin: 3px; |
| 70 | vertical-align: middle; |
| 71 | } |
| 72 | |
| 73 | .siteguard-form-table td fieldset label { |
| 74 | margin: 0.25em 0 0.5em !important; |
| 75 | display: inline-block; |
| 76 | } |
| 77 | |
| 78 | .siteguard-form-table td fieldset label, |
| 79 | .siteguard-form-table td fieldset p, |
| 80 | .siteguard-form-table td fieldset li { |
| 81 | line-height: 1.4em; |
| 82 | } |
| 83 | |
| 84 | .siteguard-form-table input.tog, |
| 85 | .siteguard-form-table input[type=radio] { |
| 86 | margin-top: -4px; |
| 87 | margin-right: 4px; |
| 88 | float: none; |
| 89 | } |
| 90 | |
| 91 | .siteguard-form-table .pre { |
| 92 | padding: 8px; |
| 93 | margin: 0; |
| 94 | } |
| 95 | |
| 96 | table.siteguard-form-table td .updated { |
| 97 | font-size: 13px; |
| 98 | } |
| 99 | |
| 100 | .siteguard-radios { |
| 101 | display: inline-flex; |
| 102 | align-items: stretch; |
| 103 | gap: 2px; |
| 104 | margin: 0; |
| 105 | padding: 3px; |
| 106 | clear: both; |
| 107 | border: 1px solid #c3c4c7; |
| 108 | border-radius: 6px; |
| 109 | background: #f0f0f1; |
| 110 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); |
| 111 | } |
| 112 | .siteguard-radios li { |
| 113 | display: block; |
| 114 | position: relative; |
| 115 | float: none; |
| 116 | margin: 0; |
| 117 | list-style: none; |
| 118 | border: 0; |
| 119 | border-radius: 4px; |
| 120 | } |
| 121 | .siteguard-radios label { |
| 122 | display: flex; |
| 123 | align-items: center; |
| 124 | justify-content: center; |
| 125 | box-sizing: border-box; |
| 126 | min-width: 52px; |
| 127 | min-height: 32px; |
| 128 | padding: 0 12px; |
| 129 | border: 0; |
| 130 | border-radius: 4px; |
| 131 | color: #50575e; |
| 132 | background: transparent; |
| 133 | font-weight: 600; |
| 134 | line-height: 1; |
| 135 | text-align: center; |
| 136 | text-shadow: none; |
| 137 | cursor: pointer; |
| 138 | transition: background-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease; |
| 139 | } |
| 140 | .siteguard-radios input[type=radio] { |
| 141 | position: absolute; |
| 142 | inset: 0; |
| 143 | z-index: 1; |
| 144 | width: 100%; |
| 145 | height: 100%; |
| 146 | margin: 0; |
| 147 | opacity: 0; |
| 148 | cursor: pointer; |
| 149 | } |
| 150 | .siteguard-radios input[type=radio]:hover + label { |
| 151 | color: #1d2327; |
| 152 | background: #fff; |
| 153 | } |
| 154 | .siteguard-radios input[type=radio]:checked + label { |
| 155 | color: #fff; |
| 156 | background: var(--wp-admin-theme-color, #3858e9); |
| 157 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); |
| 158 | } |
| 159 | .siteguard-radios input[type=radio]:focus-visible + label { |
| 160 | outline: 2px solid var(--wp-admin-theme-color, #3858e9); |
| 161 | outline-offset: 2px; |
| 162 | } |
| 163 | .siteguard-radios ~ p.description { |
| 164 | margin-top: 8px; |
| 165 | } |
| 166 | .siteguard-box-300 { |
| 167 | width: 300px; |
| 168 | box-sizing:border-box; |
| 169 | } |
| 170 | div.siteguard-description { |
| 171 | -moz-border-radius: 5px; |
| 172 | -webkit-border-radius: 5px; |
| 173 | border-radius: 5px; |
| 174 | padding: 5px 5px 5px 5px; |
| 175 | border:solid 1px #cccccc; |
| 176 | background-color: #fdfdfd; |
| 177 | } |
| 178 | |
| 179 | .siteguard-login-history-filter-table { |
| 180 | margin-bottom: 6px; |
| 181 | } |
| 182 | |
| 183 | .siteguard-login-history-filter-table td { |
| 184 | padding: 0 6px 4px 0; |
| 185 | vertical-align: middle; |
| 186 | } |
| 187 | |
| 188 | #filter-by-operation, |
| 189 | #filter-type { |
| 190 | min-width: 150px; |
| 191 | } |
| 192 | |
| 193 | #filter-login-name-not, |
| 194 | #filter-ip-address-not { |
| 195 | min-width: 85px; |
| 196 | } |
| 197 | |
| 198 | .siteguard-login-history-form .wp-list-table { |
| 199 | margin: 8px 0; |
| 200 | } |
| 201 |