| 1 |
/* |
| 2 |
Dashboard |
| 3 |
*/ |
| 4 |
#xo_security_dashboard_login_widget .inside { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
} |
| 8 |
#xo_security_dashboard_login_widget ul { |
| 9 |
margin: 0; |
| 10 |
padding: 0; |
| 11 |
list-style: none; |
| 12 |
} |
| 13 |
#xo_security_dashboard_login_widget .login_widget { |
| 14 |
border-bottom: 1px solid #eee; |
| 15 |
font-size: 13px; |
| 16 |
padding: 8px 12px 10px; |
| 17 |
} |
| 18 |
#xo_security_dashboard_login_widget .login_widget:last-child { |
| 19 |
border-bottom: none; |
| 20 |
padding-bottom: 8px; |
| 21 |
} |
| 22 |
#xo_security_dashboard_login_widget .inside .notice { |
| 23 |
margin: 0; |
| 24 |
} |
| 25 |
#xo_security_dashboard_login_widget .login-widget-loading { |
| 26 |
padding: 10px 12px; |
| 27 |
} |
| 28 |
|
| 29 |
/* |
| 30 |
Login log |
| 31 |
*/ |
| 32 |
.loginlogs .column-cb { |
| 33 |
width: 2.2em; |
| 34 |
} |
| 35 |
.loginlogs .column-success { |
| 36 |
width: 8%; |
| 37 |
} |
| 38 |
.loginlogs .column-type { |
| 39 |
width: 8%; |
| 40 |
} |
| 41 |
.loginlogs .column-lang { |
| 42 |
width: 8%; |
| 43 |
} |
| 44 |
.loginlogs .column-user_agent { |
| 45 |
width: 30%; |
| 46 |
} |
| 47 |
.loginlogs .column-user_name { |
| 48 |
width: 10%; |
| 49 |
} |
| 50 |
|
| 51 |
@media screen and (max-width: 782px) { |
| 52 |
.loginlogs .column-useragent { |
| 53 |
display: none; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
/* |
| 58 |
Option page |
| 59 |
*/ |
| 60 |
.xo-security-form-table { |
| 61 |
clear: both; |
| 62 |
width: 100%; |
| 63 |
margin: 0; |
| 64 |
border-spacing: 0; |
| 65 |
border: 1px solid #e5e5e5; |
| 66 |
background: #fff; |
| 67 |
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04); |
| 68 |
box-shadow: 0 1px 1px rgba(0,0,0,.04); |
| 69 |
color: #000; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
.xo-security-form-table th, |
| 73 |
.xo-security-form-table td { |
| 74 |
vertical-align: top; |
| 75 |
line-height: 1.4em; |
| 76 |
font-weight: normal; |
| 77 |
text-align: left; |
| 78 |
padding: 8px 10px; |
| 79 |
box-shadow: inset 0 -1px 0 rgba(0,0,0,.1); |
| 80 |
} |
| 81 |
.xo-security-form-table .status-check { |
| 82 |
width: 20px; |
| 83 |
} |
| 84 |
.xo-security-form-table .status-title { |
| 85 |
width: 260px; |
| 86 |
} |
| 87 |
.xo-security-form-table .check-off, |
| 88 |
.xo-security-form-table .check-on, |
| 89 |
.xo-security-form-table .check-ng { |
| 90 |
vertical-align: top; |
| 91 |
display: inline-block; |
| 92 |
width: 20px; |
| 93 |
height: 20px; |
| 94 |
} |
| 95 |
|
| 96 |
.xo-security-form-table .check-off { |
| 97 |
background: url(../images/check-off.png) 0 0 no-repeat; |
| 98 |
background-size: contain; |
| 99 |
} |
| 100 |
.xo-security-form-table .check-on { |
| 101 |
background: url(../images/check-on.png) 0 0 no-repeat; |
| 102 |
background-size: contain; |
| 103 |
} |
| 104 |
.xo-security-form-table .check-ng { |
| 105 |
background: url(../images/check-ng.png) 0 0 no-repeat; |
| 106 |
background-size: contain; |
| 107 |
} |
| 108 |
|
| 109 |
.xo-security-endpoints-checklist { margin: 2px 0 1em; padding: 0 5px; min-height: 42px; max-height: 400px; border: 1px solid #ddd; overflow-y: scroll; } |
| 110 |
.xo-security-endpoints-checklist ul { margin: 10px 0 10px 1em; } |
| 111 |
|
| 112 |
.settings_page_xo-security-settings .ip-mode-text { |
| 113 |
display: inline-block; |
| 114 |
min-width: 14em; |
| 115 |
} |
| 116 |
|
| 117 |
@media screen and (max-width: 782px) { |
| 118 |
.xo-security-form-table thead .status-description { |
| 119 |
display: none; |
| 120 |
} |
| 121 |
.xo-security-form-table .status-title { |
| 122 |
font-size: 1.4em; |
| 123 |
} |
| 124 |
.xo-security-form-table .status-description { |
| 125 |
font-size: 13px; |
| 126 |
} |
| 127 |
.xo-security-form-table .status-title, |
| 128 |
.xo-security-form-table tbody td { |
| 129 |
display: block; |
| 130 |
width: auto; |
| 131 |
} |
| 132 |
.xo-security-form-table .check-off, |
| 133 |
.xo-security-form-table .check-on, |
| 134 |
.xo-security-form-table .check-ng { |
| 135 |
width: 26px; |
| 136 |
height: 26px; |
| 137 |
} |
| 138 |
|
| 139 |
#field_rest_exclude_chosen { |
| 140 |
max-width: 100%; |
| 141 |
} |
| 142 |
|
| 143 |
.xo-security-form-table td.status-title { |
| 144 |
box-shadow: none; |
| 145 |
border-top:none |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
.captcha-type-list { |
| 150 |
display: flex; |
| 151 |
flex-wrap: wrap; |
| 152 |
gap: 4px 8px; |
| 153 |
} |
| 154 |
|
| 155 |
.captcha-type-list .captcha-type-option { |
| 156 |
display: block; |
| 157 |
padding: 4px 16px 16px; |
| 158 |
box-sizing: border-box; |
| 159 |
margin: 0; |
| 160 |
cursor: pointer; |
| 161 |
} |
| 162 |
|
| 163 |
.captcha-type-list .captcha-type-option > img { |
| 164 |
display: block; |
| 165 |
} |
| 166 |
|
| 167 |
.captcha-type-list .captcha-type-option:hover, |
| 168 |
.captcha-type-list .captcha-type-option.selected { |
| 169 |
background: #dcdcde; |
| 170 |
} |
| 171 |
|
| 172 |
/* |
| 173 |
Checkbox toggle |
| 174 |
*/ |
| 175 |
label.label-checkbox-toggle { |
| 176 |
font-size: 0; |
| 177 |
line-height: 1.8rem; |
| 178 |
} |
| 179 |
input[type="checkbox"].checkbox-toggle { |
| 180 |
-webkit-appearance: none; |
| 181 |
-moz-appearance: none; |
| 182 |
appearance: none; |
| 183 |
|
| 184 |
position: relative; |
| 185 |
margin: 0; |
| 186 |
padding: 2px; |
| 187 |
width: auto; |
| 188 |
height: auto; |
| 189 |
border: 0; |
| 190 |
outline: 0; |
| 191 |
cursor: pointer; |
| 192 |
background: none; |
| 193 |
box-shadow: none; |
| 194 |
vertical-align: middle; |
| 195 |
border: 2px solid transparent; |
| 196 |
} |
| 197 |
input[type="checkbox"].checkbox-toggle:focus { |
| 198 |
border-radius: 0.7rem; |
| 199 |
border: 2px solid transparent; |
| 200 |
box-shadow: 0 0 0 2px #2271b1; |
| 201 |
} |
| 202 |
input[type="checkbox"].checkbox-toggle:after { |
| 203 |
content: ''; |
| 204 |
width: 2.2rem; |
| 205 |
height: 1.2rem; |
| 206 |
display: inline-block; |
| 207 |
background-color: #aaaaaa; |
| 208 |
border-radius: 0.7rem; |
| 209 |
} |
| 210 |
input[type="checkbox"].checkbox-toggle:before { |
| 211 |
content: ''; |
| 212 |
position: absolute; |
| 213 |
width: 0.8rem; |
| 214 |
height: 0.8rem; |
| 215 |
top: .2rem; |
| 216 |
left: .2rem; |
| 217 |
border-radius: 50%; |
| 218 |
background-color: #ffffff; |
| 219 |
display: block; |
| 220 |
} |
| 221 |
input[type="checkbox"].checkbox-toggle:checked { |
| 222 |
background: none; |
| 223 |
border: 2px solid transparent; |
| 224 |
} |
| 225 |
input[type="checkbox"].checkbox-toggle:checked:before { |
| 226 |
content: ''; |
| 227 |
top: .2rem; |
| 228 |
left: 1.2rem; |
| 229 |
width: 0.8rem; |
| 230 |
height: 0.8rem; |
| 231 |
margin: 0; |
| 232 |
padding: 0; |
| 233 |
background-color: #ffffff; |
| 234 |
} |
| 235 |
|
| 236 |
input[type="checkbox"].checkbox-toggle:before, |
| 237 |
input[type="checkbox"].checkbox-toggle:after, |
| 238 |
input[type="checkbox"].checkbox-toggle:checked:before, |
| 239 |
input[type="checkbox"].checkbox-toggle:checked:after { |
| 240 |
transition: ease .2s; |
| 241 |
} |
| 242 |
input[type="checkbox"].checkbox-toggle:checked:after { |
| 243 |
content: ''; |
| 244 |
background-color: #3582c4; |
| 245 |
} |
| 246 |
|
| 247 |
body.admin-color-coffee input.checkbox-toggle:checked:after { background-color: #ccad93; } |
| 248 |
body.admin-color-light input.checkbox-toggle:checked:after { background-color: #04b0db; } |
| 249 |
body.admin-color-blue input.checkbox-toggle:checked:after { background-color: #007cba; } |
| 250 |
body.admin-color-ectoplasm input.checkbox-toggle:checked:after { background-color: #a3b745; } |
| 251 |
body.admin-color-midnight input.checkbox-toggle:checked:after { background-color: #e14d43; } |
| 252 |
body.admin-color-ocean input.checkbox-toggle:checked:after { background-color: #9ebaa0; } |
| 253 |
body.admin-color-sunrise input.checkbox-toggle:checked:after { background-color: #dd823b; } |
| 254 |
body.admin-color-modern input.checkbox-toggle:checked:after { background-color: #3858e9; } |
| 255 |
|
| 256 |
body.admin-color-coffee input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #c7a589; } |
| 257 |
body.admin-color-light input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #04a4cc; } |
| 258 |
body.admin-color-blue input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #096484; } |
| 259 |
body.admin-color-ectoplasm input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #a3b745; } |
| 260 |
body.admin-color-midnight input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #e14d43; } |
| 261 |
body.admin-color-ocean input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #9ebaa0; } |
| 262 |
body.admin-color-sunrise input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #dd823b; } |
| 263 |
body.admin-color-modern input.checkbox-toggle:focus { box-shadow: 0 0 0 2px #3858e9; } |
| 264 |
|