| 1 |
/** |
| 2 |
* Charitable Logger Admin Styles |
| 3 |
* |
| 4 |
* @since 1.8.11 |
| 5 |
*/ |
| 6 |
.charitable-logs-wrap { |
| 7 |
margin-top: 15px; |
| 8 |
} |
| 9 |
.charitable-logs-wrap h4#charitable-logs-heading { |
| 10 |
font-weight: 600 !important; |
| 11 |
font-size: 20px; |
| 12 |
margin: 20px 0; |
| 13 |
line-height: 20px; |
| 14 |
} |
| 15 |
.charitable-logs-wrap .tablenav.top { |
| 16 |
margin-top: 15px; |
| 17 |
margin-bottom: 15px; |
| 18 |
} |
| 19 |
|
| 20 |
.charitable-logs-settings { |
| 21 |
background: #fff; |
| 22 |
border: 1px solid #ccd0d4; |
| 23 |
padding: 0 20px; |
| 24 |
margin-bottom: 20px; |
| 25 |
max-width: 900px; |
| 26 |
} |
| 27 |
.charitable-logs-settings .form-table th { |
| 28 |
width: 180px; |
| 29 |
padding: 15px 10px 15px 0; |
| 30 |
} |
| 31 |
.charitable-logs-settings .form-table td { |
| 32 |
padding: 15px 10px; |
| 33 |
} |
| 34 |
|
| 35 |
.charitable-toggle { |
| 36 |
position: relative; |
| 37 |
display: inline-block; |
| 38 |
width: 44px; |
| 39 |
height: 24px; |
| 40 |
vertical-align: middle; |
| 41 |
margin-right: 8px; |
| 42 |
} |
| 43 |
.charitable-toggle input { |
| 44 |
opacity: 0; |
| 45 |
width: 0; |
| 46 |
height: 0; |
| 47 |
} |
| 48 |
.charitable-toggle .charitable-toggle-slider { |
| 49 |
position: absolute; |
| 50 |
cursor: pointer; |
| 51 |
top: 0; |
| 52 |
left: 0; |
| 53 |
right: 0; |
| 54 |
bottom: 0; |
| 55 |
background-color: #ccc; |
| 56 |
border-radius: 24px; |
| 57 |
transition: 0.3s; |
| 58 |
} |
| 59 |
.charitable-toggle .charitable-toggle-slider::before { |
| 60 |
position: absolute; |
| 61 |
content: ""; |
| 62 |
height: 18px; |
| 63 |
width: 18px; |
| 64 |
left: 3px; |
| 65 |
bottom: 3px; |
| 66 |
background-color: #fff; |
| 67 |
border-radius: 50%; |
| 68 |
transition: 0.3s; |
| 69 |
} |
| 70 |
.charitable-toggle input:checked + .charitable-toggle-slider { |
| 71 |
background-color: #2271b1; |
| 72 |
} |
| 73 |
.charitable-toggle input:checked + .charitable-toggle-slider::before { |
| 74 |
transform: translateX(20px); |
| 75 |
} |
| 76 |
|
| 77 |
.charitable-logs-status { |
| 78 |
vertical-align: middle; |
| 79 |
color: #666; |
| 80 |
} |
| 81 |
|
| 82 |
.charitable-logs-actions { |
| 83 |
margin-bottom: 15px; |
| 84 |
} |
| 85 |
.charitable-logs-actions .button { |
| 86 |
margin-right: 8px; |
| 87 |
font-family: "Inter", sans-serif !important; |
| 88 |
font-weight: 600 !important; |
| 89 |
font-size: 14px !important; |
| 90 |
line-height: 14px !important; |
| 91 |
padding: 15px 20px !important; |
| 92 |
border-radius: 5px !important; |
| 93 |
text-transform: capitalize !important; |
| 94 |
background-color: #ffffff !important; |
| 95 |
color: #1d2327 !important; |
| 96 |
border-color: #787c82 !important; |
| 97 |
} |
| 98 |
.charitable-logs-actions .button:hover { |
| 99 |
background-color: #f0f0f1 !important; |
| 100 |
border-color: #50575e !important; |
| 101 |
} |
| 102 |
.charitable-logs-actions .button-link-delete { |
| 103 |
color: #b32d2e !important; |
| 104 |
border-color: #b32d2e !important; |
| 105 |
background-color: #ffffff !important; |
| 106 |
} |
| 107 |
.charitable-logs-actions .button-link-delete:hover { |
| 108 |
color: #a00 !important; |
| 109 |
border-color: #a00 !important; |
| 110 |
background-color: #fff5f5 !important; |
| 111 |
} |
| 112 |
|
| 113 |
.charitable-log-filters select { |
| 114 |
margin-right: 6px; |
| 115 |
} |
| 116 |
|
| 117 |
.charitable-log-level { |
| 118 |
display: inline-block; |
| 119 |
padding: 2px 8px; |
| 120 |
border-radius: 3px; |
| 121 |
font-size: 12px; |
| 122 |
font-weight: 600; |
| 123 |
line-height: 1.5; |
| 124 |
text-transform: uppercase; |
| 125 |
} |
| 126 |
.charitable-log-level-error { |
| 127 |
background-color: #fce4e4; |
| 128 |
color: #cc1818; |
| 129 |
} |
| 130 |
.charitable-log-level-warning { |
| 131 |
background-color: #fff3cd; |
| 132 |
color: #856404; |
| 133 |
} |
| 134 |
.charitable-log-level-info { |
| 135 |
background-color: #e7f3fe; |
| 136 |
color: #0a58ca; |
| 137 |
} |
| 138 |
.charitable-log-level-debug { |
| 139 |
background-color: #f0f0f1; |
| 140 |
color: #646970; |
| 141 |
} |
| 142 |
|
| 143 |
.charitable-logs-empty { |
| 144 |
background: #fff; |
| 145 |
border: 1px solid #ccd0d4; |
| 146 |
padding: 30px; |
| 147 |
text-align: center; |
| 148 |
} |
| 149 |
.charitable-logs-empty p { |
| 150 |
font-size: 14px; |
| 151 |
color: #646970; |
| 152 |
} |
| 153 |
|
| 154 |
.charitable-log-modal { |
| 155 |
position: fixed; |
| 156 |
top: 0; |
| 157 |
left: 0; |
| 158 |
width: 100%; |
| 159 |
height: 100%; |
| 160 |
z-index: 160000; |
| 161 |
} |
| 162 |
|
| 163 |
.charitable-log-modal-overlay { |
| 164 |
position: absolute; |
| 165 |
top: 0; |
| 166 |
left: 0; |
| 167 |
width: 100%; |
| 168 |
height: 100%; |
| 169 |
background: rgba(0, 0, 0, 0.6); |
| 170 |
} |
| 171 |
|
| 172 |
.charitable-log-modal-content { |
| 173 |
position: absolute; |
| 174 |
top: 50%; |
| 175 |
left: 50%; |
| 176 |
transform: translate(-50%, -50%); |
| 177 |
background: #fff; |
| 178 |
border-radius: 6px; |
| 179 |
width: 90%; |
| 180 |
max-width: 700px; |
| 181 |
max-height: 80vh; |
| 182 |
overflow-y: auto; |
| 183 |
padding: 30px; |
| 184 |
box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); |
| 185 |
} |
| 186 |
|
| 187 |
.charitable-log-modal-close { |
| 188 |
position: absolute; |
| 189 |
top: 10px; |
| 190 |
right: 15px; |
| 191 |
background: none; |
| 192 |
border: none; |
| 193 |
font-size: 24px; |
| 194 |
cursor: pointer; |
| 195 |
color: #666; |
| 196 |
line-height: 1; |
| 197 |
padding: 5px; |
| 198 |
} |
| 199 |
.charitable-log-modal-close:hover { |
| 200 |
color: #000; |
| 201 |
} |
| 202 |
|
| 203 |
.charitable-log-modal-title { |
| 204 |
margin: 0 0 15px; |
| 205 |
font-size: 18px; |
| 206 |
padding-right: 30px; |
| 207 |
} |
| 208 |
|
| 209 |
.charitable-log-modal-meta { |
| 210 |
background: #f6f7f7; |
| 211 |
border-radius: 4px; |
| 212 |
padding: 12px 16px; |
| 213 |
margin-bottom: 20px; |
| 214 |
} |
| 215 |
|
| 216 |
.charitable-log-modal-meta-row { |
| 217 |
display: flex; |
| 218 |
gap: 8px; |
| 219 |
margin-bottom: 6px; |
| 220 |
} |
| 221 |
.charitable-log-modal-meta-row:last-child { |
| 222 |
margin-bottom: 0; |
| 223 |
} |
| 224 |
|
| 225 |
.charitable-log-modal-label { |
| 226 |
font-weight: 600; |
| 227 |
color: #1d2327; |
| 228 |
min-width: 60px; |
| 229 |
} |
| 230 |
|
| 231 |
.charitable-log-modal-message-wrap { |
| 232 |
margin-bottom: 20px; |
| 233 |
} |
| 234 |
.charitable-log-modal-message-wrap h4 { |
| 235 |
margin: 0 0 8px; |
| 236 |
font-size: 14px; |
| 237 |
} |
| 238 |
|
| 239 |
.charitable-log-modal-message { |
| 240 |
background: #f6f7f7; |
| 241 |
border: 1px solid #dcdcde; |
| 242 |
border-radius: 4px; |
| 243 |
padding: 12px 16px; |
| 244 |
max-height: 300px; |
| 245 |
overflow-y: auto; |
| 246 |
word-break: break-word; |
| 247 |
} |
| 248 |
.charitable-log-modal-message pre { |
| 249 |
margin: 0; |
| 250 |
white-space: pre-wrap; |
| 251 |
font-size: 12px; |
| 252 |
} |
| 253 |
|
| 254 |
.charitable-log-modal-ids h4 { |
| 255 |
margin: 0 0 8px; |
| 256 |
font-size: 14px; |
| 257 |
} |
| 258 |
|
| 259 |
.charitable-log-modal-ids-grid { |
| 260 |
display: grid; |
| 261 |
grid-template-columns: 1fr 1fr; |
| 262 |
gap: 8px; |
| 263 |
} |
| 264 |
|
| 265 |
.charitable-log-modal-id-item { |
| 266 |
font-size: 13px; |
| 267 |
} |
| 268 |
.charitable-log-modal-id-item a { |
| 269 |
text-decoration: none; |
| 270 |
} |
| 271 |
|
| 272 |
@media screen and (max-width: 782px) { |
| 273 |
.charitable-log-modal-content { |
| 274 |
width: 95%; |
| 275 |
padding: 20px; |
| 276 |
} |
| 277 |
.charitable-log-modal-ids-grid { |
| 278 |
grid-template-columns: 1fr; |
| 279 |
} |
| 280 |
.charitable-logs-settings .form-table th { |
| 281 |
width: auto; |
| 282 |
} |
| 283 |
} |
| 284 |
|