@parallelogram-js/dashboard 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,42 @@ section can be taken with a version bump and a rebuild.
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.1.3] - 2026-10-16
15
+
16
+ ### Added
17
+
18
+ - `btn--warning`, `btn--success` and `btn--info`, coloured buttons beside `btn--destructive` for
19
+ an action that matches a status, such as a Fix button next to a Warning badge. They read the
20
+ new `--warning-hover`, `--success-hover` and `--info-hover` tokens.
21
+ - Record Grid, the picture view of a record list: a `.recordgrid` of `recordgrid__item` tiles
22
+ (`recordgrid--sm`, `recordgrid--square`), each led by a `recordgrid__thumb` (`--contain` for
23
+ logos and product shots, or an icon when there is no image), with `recordgrid__title`,
24
+ `recordgrid__meta` and a `recordgrid__footer` holding `recordgrid__status` badges and the action
25
+ menu. A `recordgrid__select` checkbox lets the grid share the table's bulk actions; checked tiles
26
+ are outlined and `aria-disabled="true"` dims a tile.
27
+ - Bulk Actions, the bar for acting on selected rows: `.bulkactions` (`--inline` to sit in the flow
28
+ rather than float over the bottom of the viewport) with `bulkactions__count`,
29
+ `bulkactions__actions` and `bulkactions__clear`. The page toggles it with `hidden` and it slides
30
+ in when shown. It was in the demo stylesheet, so a site had to copy it; it now ships in the
31
+ library. Both have a component page, and the Records demo uses them for its grid view and
32
+ selection bar.
33
+
34
+ ### Changed
35
+
36
+ - `--success-fg` is dark in the light theme too, as it already was in dark, and `--info-fg` is
37
+ dark in both. Light text on green-500 and blue-500 fell short of WCAG AA contrast, so
38
+ `badge--success` and `badge--info` now have dark text.
39
+
40
+ ## [0.1.2] - 2026-10-16
41
+
42
+ ### Added
43
+
44
+ - Auth, a component for signing in and the other screens shown before the dashboard shell: `.auth`
45
+ centres an `.auth__container` (`--wide` for a longer form) holding a header (`auth__logo`,
46
+ `auth__title`, `auth__description`), the form and an `auth__footer` with `auth__back`, and
47
+ `auth__icon` (`--success`, `--error`) heads a screen that reports an outcome. It was in the demo
48
+ stylesheet, so a site had to copy it; it now ships in the library, with a component page.
49
+
14
50
  ## [0.1.1] - 2026-10-16
15
51
 
16
52
  Ready to publish on npm as a public package.
@@ -108,6 +144,8 @@ The first tagged release, covering everything on `main` to date.
108
144
  `overflow-y: auto`; the page itself scrolls. Templates that relied on the content area
109
145
  scrolling inside a fixed-height shell need their own scrolling wrapper.
110
146
 
111
- [Unreleased]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.1...HEAD
147
+ [Unreleased]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.3...HEAD
148
+ [0.1.3]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.2...v0.1.3
149
+ [0.1.2]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.1...v0.1.2
112
150
  [0.1.1]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.0...v0.1.1
113
151
  [0.1.0]: https://github.com/parallelogram-dev/parallelogram-dashboard/releases/tag/v0.1.0
package/README.md CHANGED
@@ -103,10 +103,12 @@ parallelogram-dashboard/
103
103
  │ ├── components/ # Component styles
104
104
  │ │ ├── _accordion.scss
105
105
  │ │ ├── _alert.scss
106
+ │ │ ├── _auth.scss
106
107
  │ │ ├── _avatar.scss
107
108
  │ │ ├── _badge.scss
108
109
  │ │ ├── _banner.scss
109
110
  │ │ ├── _breadcrumb.scss
111
+ │ │ ├── _bulkactions.scss
110
112
  │ │ ├── _button.scss
111
113
  │ │ ├── _card.scss
112
114
  │ │ ├── _command.scss
@@ -121,6 +123,7 @@ parallelogram-dashboard/
121
123
  │ │ ├── _pageheader.scss
122
124
  │ │ ├── _pagination.scss
123
125
  │ │ ├── _progress.scss
126
+ │ │ ├── _recordgrid.scss
124
127
  │ │ ├── _separator.scss
125
128
  │ │ ├── _sheet.scss
126
129
  │ │ ├── _sidebar.scss
@@ -420,6 +423,9 @@ warns when a playground spec or demo page renders one. The list lives in
420
423
  <button class="btn btn--primary">Primary</button>
421
424
  <button class="btn btn--secondary">Secondary</button>
422
425
  <button class="btn btn--destructive">Destructive</button>
426
+ <button class="btn btn--warning">Warning</button>
427
+ <button class="btn btn--success">Success</button>
428
+ <button class="btn btn--info">Info</button>
423
429
  <button class="btn btn--outline">Outline</button>
424
430
  <button class="btn btn--ghost">Ghost</button>
425
431
  <button class="btn btn--link">Link</button>
@@ -703,6 +709,56 @@ Form parts are elements of the `.form` block. A `.form__field` bundles a label,
703
709
  </th>
704
710
  ```
705
711
 
712
+ ### Record Grid `.recordgrid`
713
+
714
+ The picture view of a record list. Tiles fill the row at a minimum of 14rem (`recordgrid--sm`:
715
+ 10rem); thumbnails are 4:3 (`recordgrid--square`: 1:1) and fill the frame, or sit whole with
716
+ `recordgrid__thumb--contain`. A record with no image puts an `.icon` in the thumbnail instead.
717
+
718
+ ```html
719
+ <ul class="recordgrid">
720
+ <li class="recordgrid__item">
721
+ <label class="checkbox recordgrid__select">
722
+ <input type="checkbox" class="checkbox__input" value="42" aria-label="Select Spring launch">
723
+ </label>
724
+ <a href="/records/42" class="recordgrid__thumb" tabindex="-1" aria-hidden="true"><img src="..." alt=""></a>
725
+ <div class="recordgrid__body">
726
+ <a href="/records/42" class="recordgrid__title">Spring launch</a>
727
+ <p class="recordgrid__meta">News &middot; Modified 2 hours ago</p>
728
+ <div class="recordgrid__footer">
729
+ <div class="recordgrid__status"><span class="badge badge--success-muted">Published</span></div>
730
+ <div class="dropdown dropdown--right">...</div>
731
+ </div>
732
+ </div>
733
+ </li>
734
+ </ul>
735
+ ```
736
+
737
+ The selection checkbox shows while a tile is hovered or focused, and on every tile once any is
738
+ checked. A checked tile is outlined, and `aria-disabled="true"` on `recordgrid__item` dims an
739
+ unpublished or locked record while its controls stay usable.
740
+
741
+ ### Bulk Actions `.bulkactions`
742
+
743
+ Acts on the rows selected in a table or record grid. Keep it in the page with `hidden`; the
744
+ page's script sets the count and toggles `hidden` as the selection changes, and the bar slides in
745
+ each time it appears. It floats over the bottom of the viewport, so dropdowns in it open upwards
746
+ (`dropdown--top`); `bulkactions--inline` sits in the flow instead, e.g. above the table.
747
+
748
+ ```html
749
+ <div class="bulkactions" role="region" aria-label="Bulk actions" hidden>
750
+ <span class="bulkactions__count"><strong>3</strong>&nbsp;selected</span>
751
+ <div class="bulkactions__actions">
752
+ <div class="dropdown dropdown--top">...</div>
753
+ <button type="button" class="btn btn--ghost btn--sm">Archive</button>
754
+ <button type="button" class="btn btn--destructive btn--sm">Delete</button>
755
+ </div>
756
+ <button type="button" class="btn btn--ghost btn--icon btn--sm bulkactions__clear" aria-label="Clear selection">
757
+ <svg class="icon">...</svg>
758
+ </button>
759
+ </div>
760
+ ```
761
+
706
762
  ### Tabs `.tabs`
707
763
 
708
764
  ```html
@@ -1229,7 +1285,7 @@ Use these as starting templates:
1229
1285
  |------|------|-------------|
1230
1286
  | Component Library | `index.html` | All components showcase |
1231
1287
  | Dashboard | `dashboard.html` | Stats, charts, activity feed |
1232
- | Records List | `records.html` | Data table with search, filters, pagination |
1288
+ | Records List | `records.html` | Data table and picture grid with search, filters, bulk actions, pagination |
1233
1289
  | Record Form | `record-form.html` | Create/edit form with validation |
1234
1290
  | Record Delete | `record-delete.html` | Confirmation pattern |
1235
1291
  | Settings Index | `settings.html` | Settings category cards |
@@ -21,15 +21,18 @@
21
21
  --destructive-muted: light-dark(#fef2f2, #7f1d1d);
22
22
  --destructive-muted-fg: light-dark(#7f1d1d, #fee2e2);
23
23
  --success: #22c55e;
24
- --success-fg: light-dark(#fafafa, #09090b);
24
+ --success-fg: #09090b;
25
+ --success-hover: light-dark(#16a34a, #4ade80);
25
26
  --success-muted: light-dark(#f0fdf4, #14532d);
26
27
  --success-muted-fg: light-dark(#14532d, #dcfce7);
27
28
  --warning: #f59e0b;
28
29
  --warning-fg: #09090b;
30
+ --warning-hover: light-dark(#d97706, #fbbf24);
29
31
  --warning-muted: light-dark(#fffbeb, #78350f);
30
32
  --warning-muted-fg: light-dark(#78350f, #fef3c7);
31
33
  --info: #3b82f6;
32
- --info-fg: #fafafa;
34
+ --info-fg: #09090b;
35
+ --info-hover: #60a5fa;
33
36
  --info-muted: light-dark(#eff6ff, #1e3a8a);
34
37
  --info-muted-fg: light-dark(#1e3a8a, #dbeafe);
35
38
  --accent: light-dark(#f4f4f5, #27272a);
@@ -246,7 +249,7 @@
246
249
  --tracking-tight: -0.025em;
247
250
  }
248
251
 
249
- .filebrowser__search .form__control:focus, .filebrowser__checkbox:focus-visible + .filebrowser__label, .asset__input:focus, .media__remove:focus-visible, .media__copy:focus-visible, .media__btn:focus-visible, .chart__plot:focus-visible, .accordion__trigger:focus-visible, .toolbar__input:focus, .filter__label:focus-visible, .pagination__item:focus-visible, .pagination__prev:focus-visible, .pagination__next:focus-visible, .navmenu__item:focus-visible, .navmenu__avatar:focus-visible, .subnav__action:focus-visible, .subnav__search-input:focus, .subnav__section-action:focus-visible, .subnav__item:focus-visible, .subnav__subitem:focus-visible, .breadcrumb__link:focus-visible, .breadcrumb__ellipsis:focus-visible, .breadcrumb__dropdown-trigger:focus-visible, .breadcrumb__dropdown-item:focus-visible, .tabs__trigger:focus-visible, .segmented-control__item:focus-visible, .modal__close:focus-visible, .dropdown__item:focus-visible, .contextmenu__item:focus-visible, .navbar__item:focus-visible, .navbar__toggle:focus-visible, .navbar__search-input:focus, .navbarmobile__close:focus-visible, .navbarmobile__item:focus-visible, .sidebar__item:focus-visible, .table__head--sortable:focus-visible, .table__control:focus, .alert__close:focus-visible, .card--interactive:focus-visible, .input:focus, .textarea:focus, .select:focus, .checkbox__input:focus-visible,
252
+ .recordgrid__title:is(a):focus-visible, .filebrowser__search .form__control:focus, .filebrowser__checkbox:focus-visible + .filebrowser__label, .asset__input:focus, .media__remove:focus-visible, .media__copy:focus-visible, .media__btn:focus-visible, .chart__plot:focus-visible, .accordion__trigger:focus-visible, .toolbar__input:focus, .filter__label:focus-visible, .pagination__item:focus-visible, .pagination__prev:focus-visible, .pagination__next:focus-visible, .navmenu__item:focus-visible, .navmenu__avatar:focus-visible, .subnav__action:focus-visible, .subnav__search-input:focus, .subnav__section-action:focus-visible, .subnav__item:focus-visible, .subnav__subitem:focus-visible, .breadcrumb__link:focus-visible, .breadcrumb__ellipsis:focus-visible, .breadcrumb__dropdown-trigger:focus-visible, .breadcrumb__dropdown-item:focus-visible, .tabs__trigger:focus-visible, .segmented-control__item:focus-visible, .modal__close:focus-visible, .dropdown__item:focus-visible, .contextmenu__item:focus-visible, .navbar__item:focus-visible, .navbar__toggle:focus-visible, .navbar__search-input:focus, .navbarmobile__close:focus-visible, .navbarmobile__item:focus-visible, .sidebar__item:focus-visible, .table__head--sortable:focus-visible, .table__control:focus, .alert__close:focus-visible, .card--interactive:focus-visible, .input:focus, .textarea:focus, .select:focus, .checkbox__input:focus-visible,
250
253
  .radio__input:focus-visible, .switch__input:focus-visible, .btn:focus-visible {
251
254
  outline: var(--framework-focus-width) solid var(--framework-focus-color);
252
255
  outline-offset: var(--framework-focus-offset);
@@ -1448,6 +1451,27 @@ code.code--sm {
1448
1451
  .btn--destructive:hover:not(:disabled) {
1449
1452
  background-color: var(--destructive-hover);
1450
1453
  }
1454
+ .btn--warning {
1455
+ background-color: var(--warning);
1456
+ color: var(--warning-fg);
1457
+ }
1458
+ .btn--warning:hover:not(:disabled) {
1459
+ background-color: var(--warning-hover);
1460
+ }
1461
+ .btn--success {
1462
+ background-color: var(--success);
1463
+ color: var(--success-fg);
1464
+ }
1465
+ .btn--success:hover:not(:disabled) {
1466
+ background-color: var(--success-hover);
1467
+ }
1468
+ .btn--info {
1469
+ background-color: var(--info);
1470
+ color: var(--info-fg);
1471
+ }
1472
+ .btn--info:hover:not(:disabled) {
1473
+ background-color: var(--info-hover);
1474
+ }
1451
1475
  .btn--link {
1452
1476
  background-color: transparent;
1453
1477
  color: var(--primary);
@@ -6580,6 +6604,83 @@ p-modal {
6580
6604
  gap: 0.75rem;
6581
6605
  }
6582
6606
 
6607
+ .auth {
6608
+ display: flex;
6609
+ align-items: center;
6610
+ justify-content: center;
6611
+ min-height: 100vh;
6612
+ padding: 1rem;
6613
+ }
6614
+ .auth__container {
6615
+ width: 100%;
6616
+ max-width: 24rem;
6617
+ }
6618
+ .auth__container--wide {
6619
+ max-width: 42rem;
6620
+ }
6621
+ .auth__header {
6622
+ text-align: center;
6623
+ margin-bottom: 1.5rem;
6624
+ }
6625
+ .auth__logo {
6626
+ display: inline-flex;
6627
+ align-items: center;
6628
+ justify-content: center;
6629
+ width: 3rem;
6630
+ height: 3rem;
6631
+ margin-bottom: 1rem;
6632
+ color: var(--primary);
6633
+ }
6634
+ .auth__title {
6635
+ font-size: 1.5rem;
6636
+ font-weight: 600;
6637
+ letter-spacing: -0.025em;
6638
+ color: var(--fg);
6639
+ }
6640
+ .auth__description {
6641
+ font-size: 0.875rem;
6642
+ color: var(--fg-muted);
6643
+ margin-top: 0.25rem;
6644
+ }
6645
+ .auth__footer {
6646
+ text-align: center;
6647
+ margin-top: 1.5rem;
6648
+ padding-top: 1.5rem;
6649
+ border-top: 1px solid var(--border);
6650
+ font-size: 0.875rem;
6651
+ color: var(--fg-muted);
6652
+ }
6653
+ .auth__back {
6654
+ display: inline-flex;
6655
+ align-items: center;
6656
+ justify-content: center;
6657
+ gap: 0.5rem;
6658
+ font-size: 0.875rem;
6659
+ color: var(--fg-muted);
6660
+ text-decoration: none;
6661
+ }
6662
+ .auth__back:hover {
6663
+ color: var(--fg);
6664
+ }
6665
+ .auth__icon {
6666
+ display: inline-flex;
6667
+ align-items: center;
6668
+ justify-content: center;
6669
+ width: 4rem;
6670
+ height: 4rem;
6671
+ border-radius: 9999px;
6672
+ background-color: var(--bg-muted);
6673
+ color: var(--fg-muted);
6674
+ }
6675
+ .auth__icon--success {
6676
+ background-color: var(--success-muted);
6677
+ color: var(--success);
6678
+ }
6679
+ .auth__icon--error {
6680
+ background-color: var(--destructive-muted);
6681
+ color: var(--destructive);
6682
+ }
6683
+
6583
6684
  .accordion {
6584
6685
  display: flex;
6585
6686
  flex-direction: column;
@@ -9398,4 +9499,271 @@ dl.descriptionlist dd {
9398
9499
  background-color: var(--primary-hover);
9399
9500
  }
9400
9501
 
9502
+ /**
9503
+ * Record grid
9504
+ *
9505
+ * The picture view of a record list: a responsive grid of tiles, each led by a thumbnail
9506
+ * (.recordgrid__thumb, an image or a placeholder icon), with a title, a meta line and a footer
9507
+ * holding the status badges and the record's action menu.
9508
+ *
9509
+ * A tile can carry a selection checkbox (.recordgrid__select) over its thumbnail, so the same
9510
+ * bulk actions work as in the table view. It shows while the tile is hovered or focused, and on
9511
+ * every tile once anything in the grid is selected. A checked tile is outlined; a tile with
9512
+ * aria-disabled="true" (unpublished, locked) is dimmed but its controls stay usable.
9513
+ *
9514
+ * Tiles never clip their contents, so the action menu can open past the tile's edge.
9515
+ */
9516
+ .recordgrid {
9517
+ --recordgrid-min: 14rem;
9518
+ --recordgrid-ratio: 4 / 3;
9519
+ display: grid;
9520
+ grid-template-columns: repeat(auto-fill, minmax(min(var(--recordgrid-min), 100%), 1fr));
9521
+ gap: 1rem;
9522
+ margin: 0;
9523
+ padding: 0;
9524
+ list-style: none;
9525
+ }
9526
+ .recordgrid--sm {
9527
+ --recordgrid-min: 10rem;
9528
+ gap: 0.75rem;
9529
+ }
9530
+ .recordgrid--square {
9531
+ --recordgrid-ratio: 1;
9532
+ }
9533
+ .recordgrid__item {
9534
+ position: relative;
9535
+ display: flex;
9536
+ flex-direction: column;
9537
+ min-width: 0;
9538
+ color: var(--card-fg);
9539
+ background-color: var(--card);
9540
+ border: 1px solid var(--border);
9541
+ border-radius: var(--radius-lg);
9542
+ transition: var(--transition-colors);
9543
+ }
9544
+ .recordgrid__item:hover {
9545
+ border-color: var(--fg-subtle);
9546
+ }
9547
+ .recordgrid__item:has(.recordgrid__select :checked) {
9548
+ border-color: var(--primary);
9549
+ box-shadow: 0 0 0 1px var(--primary);
9550
+ }
9551
+ .recordgrid__item[aria-disabled=true] :is(.recordgrid__thumb, .recordgrid__title) {
9552
+ opacity: 0.55;
9553
+ }
9554
+ .recordgrid__thumb {
9555
+ position: relative;
9556
+ display: flex;
9557
+ align-items: center;
9558
+ justify-content: center;
9559
+ aspect-ratio: var(--recordgrid-ratio);
9560
+ margin: 0;
9561
+ overflow: hidden;
9562
+ color: var(--fg-subtle);
9563
+ background-color: var(--bg-muted);
9564
+ border-bottom: 1px solid var(--border);
9565
+ border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
9566
+ }
9567
+ .recordgrid__thumb img,
9568
+ .recordgrid__thumb picture {
9569
+ display: block;
9570
+ width: 100%;
9571
+ height: 100%;
9572
+ }
9573
+ .recordgrid__thumb img {
9574
+ object-fit: cover;
9575
+ }
9576
+ .recordgrid__thumb > .icon {
9577
+ width: 1.5rem;
9578
+ height: 1.5rem;
9579
+ }
9580
+ .recordgrid__thumb:is(a):focus-visible {
9581
+ outline: 2px solid var(--ring);
9582
+ outline-offset: -2px;
9583
+ }
9584
+ .recordgrid__thumb--contain img {
9585
+ padding: 0.75rem;
9586
+ object-fit: contain;
9587
+ }
9588
+ .recordgrid__select {
9589
+ position: absolute;
9590
+ top: 0.5rem;
9591
+ left: 0.5rem;
9592
+ z-index: 1;
9593
+ display: inline-flex;
9594
+ padding: 0.25rem;
9595
+ background-color: var(--card);
9596
+ border-radius: var(--radius-sm);
9597
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
9598
+ opacity: 0;
9599
+ transition: var(--transition-opacity);
9600
+ }
9601
+ @media (hover: none) {
9602
+ .recordgrid__select {
9603
+ opacity: 1;
9604
+ }
9605
+ }
9606
+ .recordgrid__item:is(:hover, :focus-within) .recordgrid__select, .recordgrid:has(.recordgrid__select :checked) .recordgrid__select {
9607
+ opacity: 1;
9608
+ }
9609
+ .recordgrid__body {
9610
+ display: flex;
9611
+ flex: 1;
9612
+ flex-direction: column;
9613
+ gap: 0.25rem;
9614
+ min-width: 0;
9615
+ padding: 0.75rem;
9616
+ }
9617
+ .recordgrid__title {
9618
+ margin: 0;
9619
+ font-size: 0.875rem;
9620
+ font-weight: 500;
9621
+ line-height: 1.375;
9622
+ color: inherit;
9623
+ text-decoration: none;
9624
+ display: -webkit-box;
9625
+ -webkit-line-clamp: 2;
9626
+ -webkit-box-orient: vertical;
9627
+ overflow: hidden;
9628
+ }
9629
+ .recordgrid__title:is(a):hover {
9630
+ text-decoration: underline;
9631
+ }
9632
+ .recordgrid__meta {
9633
+ margin: 0;
9634
+ font-size: 0.75rem;
9635
+ color: var(--fg-muted);
9636
+ overflow: hidden;
9637
+ text-overflow: ellipsis;
9638
+ white-space: nowrap;
9639
+ }
9640
+ .recordgrid__footer {
9641
+ display: flex;
9642
+ align-items: center;
9643
+ justify-content: space-between;
9644
+ gap: 0.5rem;
9645
+ margin-top: auto;
9646
+ padding-top: 0.5rem;
9647
+ }
9648
+ .recordgrid__status {
9649
+ display: flex;
9650
+ flex-wrap: wrap;
9651
+ gap: 0.25rem;
9652
+ min-width: 0;
9653
+ }
9654
+
9655
+ /**
9656
+ * Bulk actions bar
9657
+ *
9658
+ * Acts on the records selected in a table or record grid: a count of the selection
9659
+ * (.bulkactions__count), then buttons and dropdowns (.bulkactions__actions), and optionally a
9660
+ * button to clear the selection (.bulkactions__clear).
9661
+ *
9662
+ * The bar is markup on the page from the start, kept out of sight with the hidden attribute. The
9663
+ * page's script updates the count and removes hidden once something is selected, and puts it back
9664
+ * when the selection empties; the bar slides in each time it appears.
9665
+ *
9666
+ * By default it floats over the bottom of the viewport, so dropdowns inside it should open
9667
+ * upwards (dropdown--top). .bulkactions--inline sits in the flow instead, such as above the table in
9668
+ * place of its toolbar.
9669
+ */
9670
+ .bulkactions {
9671
+ position: fixed;
9672
+ bottom: 1.5rem;
9673
+ left: 50%;
9674
+ z-index: 200;
9675
+ display: flex;
9676
+ flex-wrap: wrap;
9677
+ align-items: center;
9678
+ gap: 0.5rem 0.75rem;
9679
+ width: max-content;
9680
+ max-width: calc(100vw - 2rem);
9681
+ padding: 0.5rem 0.75rem;
9682
+ color: var(--card-fg);
9683
+ background-color: var(--card);
9684
+ border: 1px solid var(--border);
9685
+ border-radius: var(--radius-lg);
9686
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
9687
+ transform: translateX(-50%);
9688
+ animation: bulkactions-float-in 200ms cubic-bezier(0.4, 0, 0.2, 1);
9689
+ }
9690
+ @media (max-width: 639px) {
9691
+ .bulkactions {
9692
+ right: 1rem;
9693
+ left: 1rem;
9694
+ width: auto;
9695
+ max-width: none;
9696
+ transform: none;
9697
+ animation-name: bulkactions-in;
9698
+ }
9699
+ .bulkactions .bulkactions__count {
9700
+ border-right: 0;
9701
+ }
9702
+ .bulkactions .bulkactions__actions {
9703
+ order: 1;
9704
+ flex-basis: 100%;
9705
+ }
9706
+ }
9707
+ @media (max-width: 767px) {
9708
+ .dashboard .bulkactions {
9709
+ bottom: calc(4rem + 0.5rem);
9710
+ }
9711
+ }
9712
+ .bulkactions--inline {
9713
+ position: static;
9714
+ width: auto;
9715
+ max-width: none;
9716
+ background-color: color-mix(in srgb, var(--primary) 6%, var(--card));
9717
+ box-shadow: none;
9718
+ transform: none;
9719
+ animation-name: bulkactions-in;
9720
+ }
9721
+ .bulkactions__count {
9722
+ display: inline-flex;
9723
+ align-items: center;
9724
+ align-self: stretch;
9725
+ padding-right: 0.75rem;
9726
+ font-size: 0.875rem;
9727
+ white-space: nowrap;
9728
+ border-right: 1px solid var(--border);
9729
+ }
9730
+ .bulkactions__count strong {
9731
+ font-weight: 600;
9732
+ }
9733
+ .bulkactions__actions {
9734
+ display: flex;
9735
+ flex-wrap: wrap;
9736
+ align-items: center;
9737
+ gap: 0.25rem;
9738
+ }
9739
+ .bulkactions__clear {
9740
+ margin-left: auto;
9741
+ }
9742
+ @media (prefers-reduced-motion: reduce) {
9743
+ .bulkactions {
9744
+ animation: none;
9745
+ }
9746
+ }
9747
+
9748
+ @keyframes bulkactions-float-in {
9749
+ from {
9750
+ opacity: 0;
9751
+ transform: translateX(-50%) translateY(1rem);
9752
+ }
9753
+ to {
9754
+ opacity: 1;
9755
+ transform: translateX(-50%) translateY(0);
9756
+ }
9757
+ }
9758
+ @keyframes bulkactions-in {
9759
+ from {
9760
+ opacity: 0;
9761
+ translate: 0 0.5rem;
9762
+ }
9763
+ to {
9764
+ opacity: 1;
9765
+ translate: 0 0;
9766
+ }
9767
+ }
9768
+
9401
9769
  /*# sourceMappingURL=parallelogram-dashboard.css.map */