| 1 |
/* Activity Log admin styles */ |
| 2 |
|
| 3 |
.kng-activity-tabs .ka-tab { |
| 4 |
display: inline-flex; |
| 5 |
align-items: center; |
| 6 |
gap: 6px; |
| 7 |
text-decoration: none; |
| 8 |
} |
| 9 |
|
| 10 |
.kng-activity-dashboard-grid { |
| 11 |
display: grid; |
| 12 |
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); |
| 13 |
gap: 24px; |
| 14 |
margin-top: 24px; |
| 15 |
} |
| 16 |
|
| 17 |
.kng-activity-chart { |
| 18 |
display: grid; |
| 19 |
grid-template-columns: repeat(auto-fit, minmax(28px, 1fr)); |
| 20 |
align-items: end; |
| 21 |
gap: 10px; |
| 22 |
min-height: 180px; |
| 23 |
} |
| 24 |
|
| 25 |
.kng-activity-bar { |
| 26 |
display: grid; |
| 27 |
align-items: end; |
| 28 |
justify-items: center; |
| 29 |
gap: 6px; |
| 30 |
position: relative; |
| 31 |
} |
| 32 |
|
| 33 |
.kng-activity-bar::before { |
| 34 |
content: ''; |
| 35 |
width: 100%; |
| 36 |
height: var(--kng-bar-height, 0%); |
| 37 |
min-height: 6px; |
| 38 |
background: linear-gradient(180deg, rgba(0, 113, 227, 0.9), rgba(0, 113, 227, 0.4)); |
| 39 |
border-radius: 999px; |
| 40 |
transition: height 0.3s ease; |
| 41 |
} |
| 42 |
|
| 43 |
.kng-activity-bar-count { |
| 44 |
font-size: 11px; |
| 45 |
color: #6e6e73; |
| 46 |
} |
| 47 |
|
| 48 |
.kng-activity-bar-label { |
| 49 |
font-size: 10px; |
| 50 |
text-transform: uppercase; |
| 51 |
letter-spacing: 0.1em; |
| 52 |
color: #a1a1a6; |
| 53 |
} |
| 54 |
|
| 55 |
.kng-activity-list { |
| 56 |
list-style: none; |
| 57 |
margin: 0; |
| 58 |
padding: 0; |
| 59 |
display: grid; |
| 60 |
gap: 12px; |
| 61 |
} |
| 62 |
|
| 63 |
.kng-activity-list li { |
| 64 |
display: flex; |
| 65 |
align-items: center; |
| 66 |
justify-content: space-between; |
| 67 |
padding: 10px 12px; |
| 68 |
border-radius: 12px; |
| 69 |
background: rgba(0, 0, 0, 0.04); |
| 70 |
} |
| 71 |
|
| 72 |
.kng-activity-filters { |
| 73 |
display: flex; |
| 74 |
flex-wrap: wrap; |
| 75 |
gap: 12px; |
| 76 |
align-items: center; |
| 77 |
} |
| 78 |
|
| 79 |
/* Inputs/selects in Activity Log UI (filters + alert/settings fields) |
| 80 |
Some templates don't use .ka-row-field, so we style them explicitly. */ |
| 81 |
.kng-activity-admin .kng-activity-filters input[type="search"], |
| 82 |
.kng-activity-admin .kng-activity-filters input[type="text"], |
| 83 |
.kng-activity-admin .kng-activity-filters input[type="date"], |
| 84 |
.kng-activity-admin .kng-activity-filters input[type="number"], |
| 85 |
.kng-activity-admin .kng-activity-filters select, |
| 86 |
.kng-activity-admin .kng-field input[type="text"], |
| 87 |
.kng-activity-admin .kng-field input[type="number"], |
| 88 |
.kng-activity-admin .kng-field input[type="email"], |
| 89 |
.kng-activity-admin .kng-field input[type="password"], |
| 90 |
.kng-activity-admin .kng-field textarea { |
| 91 |
width: 100%; |
| 92 |
max-width: 400px; |
| 93 |
padding: 12px 16px; |
| 94 |
border: 1px solid rgba(0, 0, 0, 0.1); |
| 95 |
border-radius: 12px; |
| 96 |
font-size: 15px; |
| 97 |
font-family: inherit; |
| 98 |
background: #fff; |
| 99 |
color: #1d1d1f; |
| 100 |
transition: border-color 0.2s, box-shadow 0.2s; |
| 101 |
} |
| 102 |
|
| 103 |
.kng-activity-admin .kng-activity-filters input:focus, |
| 104 |
.kng-activity-admin .kng-activity-filters select:focus, |
| 105 |
.kng-activity-admin .kng-field input:focus, |
| 106 |
.kng-activity-admin .kng-field textarea:focus { |
| 107 |
outline: none; |
| 108 |
border-color: #0071e3; |
| 109 |
box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1); |
| 110 |
} |
| 111 |
|
| 112 |
.kng-activity-admin .kng-field label { |
| 113 |
display: block; |
| 114 |
font-size: 13px; |
| 115 |
font-weight: 600; |
| 116 |
color: inherit; |
| 117 |
margin-bottom: 8px; |
| 118 |
} |
| 119 |
|
| 120 |
.kng-activity-admin .kng-field small { |
| 121 |
display: block; |
| 122 |
margin-top: 8px; |
| 123 |
font-size: 12px; |
| 124 |
color: #6e6e73; |
| 125 |
} |
| 126 |
|
| 127 |
body.ka-v3-dark .kng-activity-admin .kng-activity-filters input, |
| 128 |
body.ka-v3-dark .kng-activity-admin .kng-activity-filters select, |
| 129 |
body.ka-v3-dark .kng-activity-admin .kng-field input, |
| 130 |
body.ka-v3-dark .kng-activity-admin .kng-field textarea { |
| 131 |
background: #2c2c2e; |
| 132 |
border-color: rgba(255, 255, 255, 0.1); |
| 133 |
color: #f5f5f7; |
| 134 |
} |
| 135 |
|
| 136 |
body.ka-v3-dark .kng-activity-admin .kng-activity-filters input:focus, |
| 137 |
body.ka-v3-dark .kng-activity-admin .kng-activity-filters select:focus, |
| 138 |
body.ka-v3-dark .kng-activity-admin .kng-field input:focus, |
| 139 |
body.ka-v3-dark .kng-activity-admin .kng-field textarea:focus { |
| 140 |
border-color: #0a84ff; |
| 141 |
box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.2); |
| 142 |
} |
| 143 |
|
| 144 |
body.ka-v3-dark .kng-activity-admin .kng-field small { |
| 145 |
color: #a1a1a6; |
| 146 |
} |
| 147 |
|
| 148 |
/* Select dropdown arrow (match Custom Cursor admin UI) |
| 149 |
Keep this narrowly scoped to avoid conflicts with other select skins. */ |
| 150 |
.kng-activity-admin .ka-row-field select:not([multiple]):not(.ka-al-select), |
| 151 |
.kng-activity-admin .kng-activity-filters select:not([multiple]):not(.ka-al-select) { |
| 152 |
padding-right: 44px !important; |
| 153 |
-webkit-appearance: none !important; |
| 154 |
-moz-appearance: none !important; |
| 155 |
appearance: none !important; |
| 156 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; |
| 157 |
background-repeat: no-repeat !important; |
| 158 |
background-position: right 14px center !important; |
| 159 |
background-size: 18px 18px !important; |
| 160 |
} |
| 161 |
|
| 162 |
body.ka-v3-dark .kng-activity-admin .ka-row-field select:not([multiple]):not(.ka-al-select), |
| 163 |
body.ka-v3-dark .kng-activity-admin .kng-activity-filters select:not([multiple]):not(.ka-al-select) { |
| 164 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; |
| 165 |
} |
| 166 |
|
| 167 |
.kng-activity-filters input, |
| 168 |
.kng-activity-filters select { |
| 169 |
min-width: 160px; |
| 170 |
} |
| 171 |
|
| 172 |
.kng-activity-filter-actions { |
| 173 |
display: flex; |
| 174 |
gap: 10px; |
| 175 |
flex-wrap: wrap; |
| 176 |
} |
| 177 |
|
| 178 |
.kng-activity-muted { |
| 179 |
display: block; |
| 180 |
font-size: 11px; |
| 181 |
color: #6e6e73; |
| 182 |
} |
| 183 |
|
| 184 |
.kng-activity-table small { |
| 185 |
display: block; |
| 186 |
margin-top: 4px; |
| 187 |
} |
| 188 |
|
| 189 |
.kng-severity-badge { |
| 190 |
display: inline-flex; |
| 191 |
align-items: center; |
| 192 |
padding: 4px 10px; |
| 193 |
border-radius: 999px; |
| 194 |
font-size: 12px; |
| 195 |
font-weight: 600; |
| 196 |
text-transform: capitalize; |
| 197 |
} |
| 198 |
|
| 199 |
.kng-severity-info { |
| 200 |
background: rgba(0, 113, 227, 0.12); |
| 201 |
color: #0071e3; |
| 202 |
} |
| 203 |
|
| 204 |
.kng-severity-notice { |
| 205 |
background: rgba(52, 199, 89, 0.12); |
| 206 |
color: #34c759; |
| 207 |
} |
| 208 |
|
| 209 |
.kng-severity-warning { |
| 210 |
background: rgba(255, 159, 10, 0.16); |
| 211 |
color: #ff9f0a; |
| 212 |
} |
| 213 |
|
| 214 |
.kng-severity-critical { |
| 215 |
background: rgba(255, 59, 48, 0.15); |
| 216 |
color: #ff3b30; |
| 217 |
} |
| 218 |
|
| 219 |
.kng-activity-pagination { |
| 220 |
display: flex; |
| 221 |
gap: 8px; |
| 222 |
justify-content: center; |
| 223 |
margin-top: 20px; |
| 224 |
} |
| 225 |
|
| 226 |
.kng-activity-pagination a { |
| 227 |
display: inline-flex; |
| 228 |
padding: 6px 12px; |
| 229 |
border-radius: 999px; |
| 230 |
border: 1px solid rgba(0, 0, 0, 0.1); |
| 231 |
text-decoration: none; |
| 232 |
color: inherit; |
| 233 |
font-size: 13px; |
| 234 |
} |
| 235 |
|
| 236 |
.kng-activity-pagination a.active { |
| 237 |
background: #0071e3; |
| 238 |
color: #fff; |
| 239 |
border-color: #0071e3; |
| 240 |
} |
| 241 |
|
| 242 |
.kng-activity-drawer { |
| 243 |
position: fixed; |
| 244 |
inset: 0; |
| 245 |
display: none; |
| 246 |
z-index: 100000; |
| 247 |
} |
| 248 |
|
| 249 |
.kng-activity-drawer.is-open { |
| 250 |
display: block; |
| 251 |
} |
| 252 |
|
| 253 |
.kng-activity-drawer-overlay { |
| 254 |
position: absolute; |
| 255 |
inset: 0; |
| 256 |
background: rgba(0, 0, 0, 0.4); |
| 257 |
} |
| 258 |
|
| 259 |
.kng-activity-drawer-panel { |
| 260 |
position: absolute; |
| 261 |
top: 0; |
| 262 |
right: 0; |
| 263 |
width: min(520px, 96vw); |
| 264 |
height: 100%; |
| 265 |
background: #fff; |
| 266 |
padding: 24px; |
| 267 |
overflow-y: auto; |
| 268 |
box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12); |
| 269 |
} |
| 270 |
|
| 271 |
.kng-activity-drawer-header { |
| 272 |
display: flex; |
| 273 |
justify-content: space-between; |
| 274 |
align-items: flex-start; |
| 275 |
gap: 16px; |
| 276 |
margin-bottom: 20px; |
| 277 |
} |
| 278 |
|
| 279 |
.kng-activity-drawer-close { |
| 280 |
border: none; |
| 281 |
background: transparent; |
| 282 |
cursor: pointer; |
| 283 |
} |
| 284 |
|
| 285 |
.kng-activity-drawer-grid { |
| 286 |
display: grid; |
| 287 |
grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 288 |
gap: 16px; |
| 289 |
margin-bottom: 20px; |
| 290 |
} |
| 291 |
|
| 292 |
.kng-activity-section { |
| 293 |
margin-bottom: 18px; |
| 294 |
} |
| 295 |
|
| 296 |
.kng-activity-json { |
| 297 |
background: rgba(0, 0, 0, 0.04); |
| 298 |
padding: 12px; |
| 299 |
border-radius: 12px; |
| 300 |
max-height: 220px; |
| 301 |
overflow: auto; |
| 302 |
} |
| 303 |
|
| 304 |
.kng-activity-alert-grid { |
| 305 |
display: grid; |
| 306 |
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 307 |
gap: 16px; |
| 308 |
margin: 16px 0; |
| 309 |
} |
| 310 |
|
| 311 |
.kng-activity-pro-list { |
| 312 |
display: grid; |
| 313 |
gap: 14px; |
| 314 |
margin-bottom: 16px; |
| 315 |
} |
| 316 |
|
| 317 |
.kng-activity-module-grid { |
| 318 |
display: grid; |
| 319 |
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 320 |
gap: 14px; |
| 321 |
margin-bottom: 16px; |
| 322 |
} |
| 323 |
|
| 324 |
.kng-activity-exclusions { |
| 325 |
display: grid; |
| 326 |
gap: 12px; |
| 327 |
} |
| 328 |
|
| 329 |
.kng-activity-summary-grid { |
| 330 |
display: grid; |
| 331 |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
| 332 |
gap: 16px; |
| 333 |
} |
| 334 |
|
| 335 |
.kng-pro-input { |
| 336 |
position: relative; |
| 337 |
display: inline-flex; |
| 338 |
align-items: center; |
| 339 |
} |
| 340 |
|
| 341 |
.kng-pro-input .ka-pro-badge { |
| 342 |
position: absolute; |
| 343 |
right: 10px; |
| 344 |
} |
| 345 |
|
| 346 |
body.ka-v3-dark .kng-activity-drawer-panel { |
| 347 |
background: #0f0f12; |
| 348 |
color: #f5f5f7; |
| 349 |
} |
| 350 |
|
| 351 |
body.ka-v3-dark .kng-activity-bar-count, |
| 352 |
body.ka-v3-dark .kng-activity-muted, |
| 353 |
body.ka-v3-dark .kng-activity-bar-label { |
| 354 |
color: #a1a1a6; |
| 355 |
} |
| 356 |
|
| 357 |
body.ka-v3-dark .kng-activity-list li, |
| 358 |
body.ka-v3-dark .kng-activity-json, |
| 359 |
body.ka-v3-dark .kng-activity-pagination a, |
| 360 |
body.ka-v3-dark .kng-activity-drawer-panel { |
| 361 |
border-color: rgba(255, 255, 255, 0.08); |
| 362 |
background: rgba(255, 255, 255, 0.04); |
| 363 |
} |
| 364 |
|
| 365 |
body.ka-v3-dark .kng-activity-pagination a { |
| 366 |
color: #f5f5f7; |
| 367 |
} |
| 368 |
|
| 369 |
body.ka-v3-dark .kng-activity-pagination a.active { |
| 370 |
background: #0071e3; |
| 371 |
border-color: #0071e3; |
| 372 |
color: #fff; |
| 373 |
} |
| 374 |
|
| 375 |
body.ka-v3-dark .kng-activity-drawer-overlay { |
| 376 |
background: rgba(0, 0, 0, 0.6); |
| 377 |
} |
| 378 |
|
| 379 |
@media (max-width: 1200px) { |
| 380 |
.kng-activity-dashboard-grid { |
| 381 |
grid-template-columns: 1fr; |
| 382 |
} |
| 383 |
|
| 384 |
.kng-activity-drawer-grid { |
| 385 |
grid-template-columns: 1fr; |
| 386 |
} |
| 387 |
} |
| 388 |
|