easepick
3 years ago
dashboard_widget.css
3 years ago
dashboard_widget.css.map
3 years ago
style.css
3 years ago
style.css.map
3 years ago
dashboard_widget.css
481 lines
| 1 | .chart-container { |
| 2 | width: 100%; |
| 3 | padding: 0 24px; |
| 4 | } |
| 5 | |
| 6 | .quick-stats { |
| 7 | gap: 24px; |
| 8 | margin: 24px; |
| 9 | display: flex; |
| 10 | } |
| 11 | |
| 12 | .chart-inner { |
| 13 | background: #fff; |
| 14 | border: 1px solid #dedae6; |
| 15 | border-radius: 6px; |
| 16 | padding: 24px; |
| 17 | } |
| 18 | |
| 19 | .legend-container { |
| 20 | align-items: center; |
| 21 | margin-bottom: 16px; |
| 22 | display: flex; |
| 23 | } |
| 24 | |
| 25 | .legend-title { |
| 26 | margin: 0; |
| 27 | font-size: 18px; |
| 28 | font-weight: 700; |
| 29 | } |
| 30 | |
| 31 | .legend-list { |
| 32 | justify-content: end; |
| 33 | margin: 0; |
| 34 | display: flex; |
| 35 | } |
| 36 | |
| 37 | .legend-item { |
| 38 | cursor: pointer; |
| 39 | -webkit-user-select: none; |
| 40 | -ms-user-select: none; |
| 41 | user-select: none; |
| 42 | border-radius: 18px; |
| 43 | align-items: center; |
| 44 | margin: 0 0 0 16px; |
| 45 | padding: 4px 12px 4px 8px; |
| 46 | display: inline-flex; |
| 47 | } |
| 48 | |
| 49 | .legend-item.hidden { |
| 50 | opacity: .5; |
| 51 | } |
| 52 | |
| 53 | .legend-item span { |
| 54 | height: 16px; |
| 55 | width: 16px; |
| 56 | border-radius: 50%; |
| 57 | margin-right: 4px; |
| 58 | display: inline-block; |
| 59 | } |
| 60 | |
| 61 | .legend-item p { |
| 62 | margin: 0; |
| 63 | font-weight: 500; |
| 64 | } |
| 65 | |
| 66 | .legend-item-for-views { |
| 67 | background-color: #efe8fa; |
| 68 | } |
| 69 | |
| 70 | .legend-item-for-views span { |
| 71 | background-color: #5123a0; |
| 72 | } |
| 73 | |
| 74 | .legend-item-for-visitors { |
| 75 | background-color: rgba(246, 157, 10, .2); |
| 76 | } |
| 77 | |
| 78 | .legend-item-for-visitors span { |
| 79 | background-color: #f69d0a; |
| 80 | } |
| 81 | |
| 82 | svg text { |
| 83 | stroke-width: 0; |
| 84 | } |
| 85 | |
| 86 | .stat { |
| 87 | width: 50%; |
| 88 | max-width: 400px; |
| 89 | background-color: #fff; |
| 90 | border: 1px solid #dedae6; |
| 91 | border-radius: 6px; |
| 92 | padding: 18px; |
| 93 | } |
| 94 | |
| 95 | .stat:last-child { |
| 96 | margin-right: 0; |
| 97 | } |
| 98 | |
| 99 | .stat.unfiltered { |
| 100 | background-color: #ece9f2; |
| 101 | border-color: #c5c2cc; |
| 102 | } |
| 103 | |
| 104 | .stat.unfiltered circle { |
| 105 | display: none; |
| 106 | } |
| 107 | |
| 108 | .stat.unfiltered .percentage { |
| 109 | opacity: .7; |
| 110 | } |
| 111 | |
| 112 | .stat .metric { |
| 113 | justify-content: space-between; |
| 114 | font-size: 16px; |
| 115 | display: flex; |
| 116 | } |
| 117 | |
| 118 | .stat .dashicons-filter { |
| 119 | display: none; |
| 120 | } |
| 121 | |
| 122 | .stat .circle { |
| 123 | width: 15px; |
| 124 | height: 15px; |
| 125 | } |
| 126 | |
| 127 | .stat .values { |
| 128 | align-items: baseline; |
| 129 | margin: 12px 0; |
| 130 | font-weight: 700; |
| 131 | display: flex; |
| 132 | } |
| 133 | |
| 134 | .stat .count { |
| 135 | margin-right: 8px; |
| 136 | font-size: 28px; |
| 137 | } |
| 138 | |
| 139 | .stat .growth { |
| 140 | color: #36b366; |
| 141 | font-size: 14px; |
| 142 | } |
| 143 | |
| 144 | .stat .percentage { |
| 145 | border-radius: 24px; |
| 146 | align-items: center; |
| 147 | padding: 4px 10px 4px 2px; |
| 148 | display: flex; |
| 149 | } |
| 150 | |
| 151 | .stat .percentage.up { |
| 152 | color: #36b366; |
| 153 | background-color: #e3fced; |
| 154 | } |
| 155 | |
| 156 | .stat .percentage.down { |
| 157 | color: #d93b29; |
| 158 | background-color: #fce6e3; |
| 159 | } |
| 160 | |
| 161 | .stat .period-label { |
| 162 | color: #9a95a6; |
| 163 | font-size: 16px; |
| 164 | } |
| 165 | |
| 166 | .stat.views circle { |
| 167 | fill: #5123a0; |
| 168 | } |
| 169 | |
| 170 | .stat.views .dashicons-filter { |
| 171 | color: #5123a0; |
| 172 | } |
| 173 | |
| 174 | .stat.visitors circle { |
| 175 | fill: #f69d0a; |
| 176 | } |
| 177 | |
| 178 | .stat.visitors .dashicons-filter { |
| 179 | color: #f69d0a; |
| 180 | } |
| 181 | |
| 182 | .filtered .stat:not(.unfiltered) .dashicons-filter { |
| 183 | display: inline-block; |
| 184 | } |
| 185 | |
| 186 | .filtered .stat:not(.unfiltered) .circle { |
| 187 | display: none; |
| 188 | } |
| 189 | |
| 190 | .iawp-button { |
| 191 | cursor: pointer; |
| 192 | background: none; |
| 193 | border: 1px solid rgba(0, 0, 0, 0); |
| 194 | border-radius: 3px; |
| 195 | align-items: center; |
| 196 | margin: 0; |
| 197 | padding: 12px 16px; |
| 198 | font-size: 14px; |
| 199 | line-height: 1; |
| 200 | text-decoration: none; |
| 201 | transition: color .1s, background-color .1s, border-color .1s; |
| 202 | display: inline-flex; |
| 203 | } |
| 204 | |
| 205 | .iawp-button .dashicons { |
| 206 | margin-right: 6px; |
| 207 | transition: color .1s; |
| 208 | } |
| 209 | |
| 210 | .iawp-button .count { |
| 211 | color: #5123a0; |
| 212 | background: #fff; |
| 213 | border-radius: 50%; |
| 214 | justify-content: center; |
| 215 | align-items: center; |
| 216 | font-size: 12px; |
| 217 | font-weight: 700; |
| 218 | line-height: 1; |
| 219 | display: flex; |
| 220 | } |
| 221 | |
| 222 | .iawp-button .count:not(:empty) { |
| 223 | height: 18px; |
| 224 | width: 18px; |
| 225 | margin-left: 8px; |
| 226 | margin-right: -2px; |
| 227 | } |
| 228 | |
| 229 | .iawp-button:disabled { |
| 230 | cursor: default; |
| 231 | } |
| 232 | |
| 233 | .iawp-button.white { |
| 234 | color: #5123a0; |
| 235 | background-color: #fff; |
| 236 | border-color: #fff; |
| 237 | } |
| 238 | |
| 239 | .iawp-button.white:hover, .iawp-button.white:active, .iawp-button.white:focus { |
| 240 | color: #6c46ae; |
| 241 | } |
| 242 | |
| 243 | .iawp-button.purple { |
| 244 | color: #fff; |
| 245 | background-color: #5123a0; |
| 246 | border-color: #5123a0; |
| 247 | } |
| 248 | |
| 249 | .iawp-button.purple:hover, .iawp-button.purple:active, .iawp-button.purple:focus { |
| 250 | color: #fff; |
| 251 | background-color: #6c46ae; |
| 252 | border-color: #6c46ae; |
| 253 | } |
| 254 | |
| 255 | .iawp-button.purple:disabled { |
| 256 | opacity: .5; |
| 257 | } |
| 258 | |
| 259 | .iawp-button.red { |
| 260 | color: #fff; |
| 261 | background-color: #d93b29; |
| 262 | border-color: #d93b29; |
| 263 | } |
| 264 | |
| 265 | .iawp-button.red:hover, .iawp-button.red:active, .iawp-button.red:focus { |
| 266 | color: #fff; |
| 267 | background-color: #d94e3f; |
| 268 | border-color: #d94e3f; |
| 269 | } |
| 270 | |
| 271 | .iawp-button.ghost-white { |
| 272 | color: #fff; |
| 273 | border-color: #fff; |
| 274 | } |
| 275 | |
| 276 | .iawp-button.ghost-white:hover, .iawp-button.ghost-white:active, .iawp-button.ghost-white:focus, .iawp-button.ghost-white.open { |
| 277 | color: #5123a0; |
| 278 | background-color: #fff; |
| 279 | border-color: #fff; |
| 280 | } |
| 281 | |
| 282 | .iawp-button.ghost-white:hover .count, .iawp-button.ghost-white:active .count, .iawp-button.ghost-white:focus .count, .iawp-button.ghost-white.open .count { |
| 283 | color: #fff; |
| 284 | background: #5123a0; |
| 285 | } |
| 286 | |
| 287 | .iawp-button.ghost-purple { |
| 288 | color: #5123a0; |
| 289 | border-color: #5123a0; |
| 290 | } |
| 291 | |
| 292 | .iawp-button.ghost-purple:hover, .iawp-button.ghost-purple:active, .iawp-button.ghost-purple:focus { |
| 293 | color: #fff; |
| 294 | background-color: #5123a0; |
| 295 | border-color: #5123a0; |
| 296 | } |
| 297 | |
| 298 | .iawp-button.ghost-purple:disabled { |
| 299 | color: #9a95a6; |
| 300 | background-color: #f7f5fa; |
| 301 | border-color: #ece9f2; |
| 302 | } |
| 303 | |
| 304 | .iawp-button.ghost-red { |
| 305 | color: #d93b29; |
| 306 | border-color: #d93b29; |
| 307 | } |
| 308 | |
| 309 | .iawp-button.ghost-red:hover, .iawp-button.ghost-red:active, .iawp-button.ghost-red:focus { |
| 310 | color: #fff; |
| 311 | background-color: #d93b29; |
| 312 | border-color: #d93b29; |
| 313 | } |
| 314 | |
| 315 | .iawp-button.ghost-red:disabled { |
| 316 | color: #9a95a6; |
| 317 | background-color: #f7f5fa; |
| 318 | border-color: #ece9f2; |
| 319 | } |
| 320 | |
| 321 | .iawp-button.text { |
| 322 | color: #5123a0; |
| 323 | padding: 0; |
| 324 | } |
| 325 | |
| 326 | .date-picker { |
| 327 | padding: 14px 16px 14px 36px; |
| 328 | } |
| 329 | |
| 330 | .sort-button { |
| 331 | color: #18141f; |
| 332 | cursor: pointer; |
| 333 | background: none; |
| 334 | border: none; |
| 335 | align-items: center; |
| 336 | padding: 1px; |
| 337 | display: flex; |
| 338 | } |
| 339 | |
| 340 | .sort-button .dashicons-arrow-up, .sort-button .dashicons-arrow-down { |
| 341 | display: none; |
| 342 | } |
| 343 | |
| 344 | .sort-button .name { |
| 345 | font-weight: 700; |
| 346 | } |
| 347 | |
| 348 | .sort-button .dashicons { |
| 349 | color: #c5c2cc; |
| 350 | } |
| 351 | |
| 352 | .sort-button.asc .dashicons, .sort-button.desc .dashicons { |
| 353 | color: #5123a0; |
| 354 | } |
| 355 | |
| 356 | .sort-button.asc .dashicons-arrow-up { |
| 357 | display: inline-block; |
| 358 | } |
| 359 | |
| 360 | .sort-button.asc .dashicons-arrow-down, .sort-button.asc .dashicons-arrow-right { |
| 361 | display: none; |
| 362 | } |
| 363 | |
| 364 | .sort-button.desc .dashicons-arrow-down { |
| 365 | display: inline-block; |
| 366 | } |
| 367 | |
| 368 | .sort-button.desc .dashicons-arrow-up, .sort-button.desc .dashicons-arrow-right { |
| 369 | display: none; |
| 370 | } |
| 371 | |
| 372 | .delete-button { |
| 373 | z-index: 3; |
| 374 | color: #fff; |
| 375 | cursor: pointer; |
| 376 | background-color: #5123a0; |
| 377 | border: none; |
| 378 | border-radius: 50%; |
| 379 | padding: 2px; |
| 380 | transition: background-color .1s, color .1s; |
| 381 | position: absolute; |
| 382 | top: 12px; |
| 383 | right: -12px; |
| 384 | } |
| 385 | |
| 386 | .delete-button:hover { |
| 387 | background-color: #6c46ae; |
| 388 | } |
| 389 | |
| 390 | #iawp, #iawp * { |
| 391 | box-sizing: border-box; |
| 392 | } |
| 393 | |
| 394 | #iawp .postbox-header .iawp-button { |
| 395 | padding: 6px 8px; |
| 396 | text-decoration: none; |
| 397 | } |
| 398 | |
| 399 | #iawp .inside { |
| 400 | margin-top: 0; |
| 401 | padding: 0; |
| 402 | } |
| 403 | |
| 404 | #iawp .chart-container { |
| 405 | padding: 6px 0 0; |
| 406 | } |
| 407 | |
| 408 | #iawp .chart-inner { |
| 409 | border: none; |
| 410 | padding: 6px 12px 12px; |
| 411 | } |
| 412 | |
| 413 | #iawp .legend-container { |
| 414 | margin-bottom: 10px; |
| 415 | } |
| 416 | |
| 417 | #iawp .legend-item { |
| 418 | margin-left: 8px; |
| 419 | } |
| 420 | |
| 421 | #iawp .legend-item:first-child { |
| 422 | margin-left: 0; |
| 423 | } |
| 424 | |
| 425 | #iawp .legend-item p { |
| 426 | font-size: 11px; |
| 427 | } |
| 428 | |
| 429 | #iawp .legend-item span { |
| 430 | width: 13px; |
| 431 | height: 13px; |
| 432 | } |
| 433 | |
| 434 | #iawp .legend-title { |
| 435 | display: none; |
| 436 | } |
| 437 | |
| 438 | #iawp .quick-stats { |
| 439 | gap: 0; |
| 440 | margin: 0; |
| 441 | display: flex; |
| 442 | } |
| 443 | |
| 444 | #iawp .quick-stats .stat { |
| 445 | width: 50%; |
| 446 | border: none; |
| 447 | border-top: 1px solid #dedae6; |
| 448 | border-radius: 0; |
| 449 | padding: 12px 18px; |
| 450 | } |
| 451 | |
| 452 | #iawp .quick-stats .stat:first-child { |
| 453 | border-right: 1px solid #dedae6; |
| 454 | } |
| 455 | |
| 456 | #iawp .quick-stats .stat .metric { |
| 457 | font-size: 14px; |
| 458 | } |
| 459 | |
| 460 | #iawp .quick-stats .stat .percentage { |
| 461 | padding: 1px 8px 1px 2px; |
| 462 | font-size: 12px; |
| 463 | } |
| 464 | |
| 465 | #iawp .quick-stats .stat .values { |
| 466 | flex-wrap: wrap; |
| 467 | margin: 0; |
| 468 | display: flex; |
| 469 | } |
| 470 | |
| 471 | #iawp .quick-stats .stat .count { |
| 472 | word-break: break-word; |
| 473 | font-size: 24px; |
| 474 | } |
| 475 | |
| 476 | #iawp .quick-stats .stat .period-label { |
| 477 | font-size: 13px; |
| 478 | } |
| 479 | |
| 480 | /*# sourceMappingURL=dashboard_widget.css.map */ |
| 481 |