| 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 |
.kng-activity-filters input, |
| 80 |
.kng-activity-filters select { |
| 81 |
min-width: 160px; |
| 82 |
} |
| 83 |
|
| 84 |
.kng-activity-filter-actions { |
| 85 |
display: flex; |
| 86 |
gap: 10px; |
| 87 |
flex-wrap: wrap; |
| 88 |
} |
| 89 |
|
| 90 |
.kng-activity-muted { |
| 91 |
display: block; |
| 92 |
font-size: 11px; |
| 93 |
color: #6e6e73; |
| 94 |
} |
| 95 |
|
| 96 |
.kng-activity-table small { |
| 97 |
display: block; |
| 98 |
margin-top: 4px; |
| 99 |
} |
| 100 |
|
| 101 |
.kng-severity-badge { |
| 102 |
display: inline-flex; |
| 103 |
align-items: center; |
| 104 |
padding: 4px 10px; |
| 105 |
border-radius: 999px; |
| 106 |
font-size: 12px; |
| 107 |
font-weight: 600; |
| 108 |
text-transform: capitalize; |
| 109 |
} |
| 110 |
|
| 111 |
.kng-severity-info { |
| 112 |
background: rgba(0, 113, 227, 0.12); |
| 113 |
color: #0071e3; |
| 114 |
} |
| 115 |
|
| 116 |
.kng-severity-notice { |
| 117 |
background: rgba(52, 199, 89, 0.12); |
| 118 |
color: #34c759; |
| 119 |
} |
| 120 |
|
| 121 |
.kng-severity-warning { |
| 122 |
background: rgba(255, 159, 10, 0.16); |
| 123 |
color: #ff9f0a; |
| 124 |
} |
| 125 |
|
| 126 |
.kng-severity-critical { |
| 127 |
background: rgba(255, 59, 48, 0.15); |
| 128 |
color: #ff3b30; |
| 129 |
} |
| 130 |
|
| 131 |
.kng-activity-pagination { |
| 132 |
display: flex; |
| 133 |
gap: 8px; |
| 134 |
justify-content: center; |
| 135 |
margin-top: 20px; |
| 136 |
} |
| 137 |
|
| 138 |
.kng-activity-pagination a { |
| 139 |
display: inline-flex; |
| 140 |
padding: 6px 12px; |
| 141 |
border-radius: 999px; |
| 142 |
border: 1px solid rgba(0, 0, 0, 0.1); |
| 143 |
text-decoration: none; |
| 144 |
color: inherit; |
| 145 |
font-size: 13px; |
| 146 |
} |
| 147 |
|
| 148 |
.kng-activity-pagination a.active { |
| 149 |
background: #0071e3; |
| 150 |
color: #fff; |
| 151 |
border-color: #0071e3; |
| 152 |
} |
| 153 |
|
| 154 |
.kng-activity-drawer { |
| 155 |
position: fixed; |
| 156 |
inset: 0; |
| 157 |
display: none; |
| 158 |
z-index: 100000; |
| 159 |
} |
| 160 |
|
| 161 |
.kng-activity-drawer.is-open { |
| 162 |
display: block; |
| 163 |
} |
| 164 |
|
| 165 |
.kng-activity-drawer-overlay { |
| 166 |
position: absolute; |
| 167 |
inset: 0; |
| 168 |
background: rgba(0, 0, 0, 0.4); |
| 169 |
} |
| 170 |
|
| 171 |
.kng-activity-drawer-panel { |
| 172 |
position: absolute; |
| 173 |
top: 0; |
| 174 |
right: 0; |
| 175 |
width: min(520px, 96vw); |
| 176 |
height: 100%; |
| 177 |
background: #fff; |
| 178 |
padding: 24px; |
| 179 |
overflow-y: auto; |
| 180 |
box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12); |
| 181 |
} |
| 182 |
|
| 183 |
.kng-activity-drawer-header { |
| 184 |
display: flex; |
| 185 |
justify-content: space-between; |
| 186 |
align-items: flex-start; |
| 187 |
gap: 16px; |
| 188 |
margin-bottom: 20px; |
| 189 |
} |
| 190 |
|
| 191 |
.kng-activity-drawer-close { |
| 192 |
border: none; |
| 193 |
background: transparent; |
| 194 |
cursor: pointer; |
| 195 |
} |
| 196 |
|
| 197 |
.kng-activity-drawer-grid { |
| 198 |
display: grid; |
| 199 |
grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 200 |
gap: 16px; |
| 201 |
margin-bottom: 20px; |
| 202 |
} |
| 203 |
|
| 204 |
.kng-activity-section { |
| 205 |
margin-bottom: 18px; |
| 206 |
} |
| 207 |
|
| 208 |
.kng-activity-json { |
| 209 |
background: rgba(0, 0, 0, 0.04); |
| 210 |
padding: 12px; |
| 211 |
border-radius: 12px; |
| 212 |
max-height: 220px; |
| 213 |
overflow: auto; |
| 214 |
} |
| 215 |
|
| 216 |
.kng-activity-alert-grid { |
| 217 |
display: grid; |
| 218 |
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 219 |
gap: 16px; |
| 220 |
margin: 16px 0; |
| 221 |
} |
| 222 |
|
| 223 |
.kng-activity-pro-list { |
| 224 |
display: grid; |
| 225 |
gap: 14px; |
| 226 |
margin-bottom: 16px; |
| 227 |
} |
| 228 |
|
| 229 |
.kng-activity-module-grid { |
| 230 |
display: grid; |
| 231 |
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 232 |
gap: 14px; |
| 233 |
margin-bottom: 16px; |
| 234 |
} |
| 235 |
|
| 236 |
.kng-activity-exclusions { |
| 237 |
display: grid; |
| 238 |
gap: 12px; |
| 239 |
} |
| 240 |
|
| 241 |
.kng-activity-summary-grid { |
| 242 |
display: grid; |
| 243 |
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); |
| 244 |
gap: 16px; |
| 245 |
} |
| 246 |
|
| 247 |
.kng-pro-input { |
| 248 |
position: relative; |
| 249 |
display: inline-flex; |
| 250 |
align-items: center; |
| 251 |
} |
| 252 |
|
| 253 |
.kng-pro-input .ka-pro-badge { |
| 254 |
position: absolute; |
| 255 |
right: 10px; |
| 256 |
} |
| 257 |
|
| 258 |
body.ka-v3-dark .kng-activity-drawer-panel { |
| 259 |
background: #0f0f12; |
| 260 |
color: #f5f5f7; |
| 261 |
} |
| 262 |
|
| 263 |
body.ka-v3-dark .kng-activity-bar-count, |
| 264 |
body.ka-v3-dark .kng-activity-muted, |
| 265 |
body.ka-v3-dark .kng-activity-bar-label { |
| 266 |
color: #a1a1a6; |
| 267 |
} |
| 268 |
|
| 269 |
body.ka-v3-dark .kng-activity-list li, |
| 270 |
body.ka-v3-dark .kng-activity-json, |
| 271 |
body.ka-v3-dark .kng-activity-pagination a, |
| 272 |
body.ka-v3-dark .kng-activity-drawer-panel { |
| 273 |
border-color: rgba(255, 255, 255, 0.08); |
| 274 |
background: rgba(255, 255, 255, 0.04); |
| 275 |
} |
| 276 |
|
| 277 |
body.ka-v3-dark .kng-activity-pagination a { |
| 278 |
color: #f5f5f7; |
| 279 |
} |
| 280 |
|
| 281 |
body.ka-v3-dark .kng-activity-pagination a.active { |
| 282 |
background: #0071e3; |
| 283 |
border-color: #0071e3; |
| 284 |
color: #fff; |
| 285 |
} |
| 286 |
|
| 287 |
body.ka-v3-dark .kng-activity-drawer-overlay { |
| 288 |
background: rgba(0, 0, 0, 0.6); |
| 289 |
} |
| 290 |
|
| 291 |
@media (max-width: 1200px) { |
| 292 |
.kng-activity-dashboard-grid { |
| 293 |
grid-template-columns: 1fr; |
| 294 |
} |
| 295 |
|
| 296 |
.kng-activity-drawer-grid { |
| 297 |
grid-template-columns: 1fr; |
| 298 |
} |
| 299 |
} |
| 300 |
|