@conduction/nextcloud-vue 2.121.0 → 2.122.0

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.
@@ -634,16 +634,36 @@
634
634
  width: 18%;
635
635
  }
636
636
 
637
- /* The board's data cells sit 12px apart (PqTickets), the first one 18px from
638
- the selection column; the selection and menu columns keep 16px. */
639
- .cn-look-board .cn-index-page__main--table .cn-table-container--board .cn-data-table th:not(.cn-table-col--checkbox):not(.cn-table-col--actions):not(.cn-table-col--icon),
640
- .cn-look-board .cn-index-page__main--table .cn-table-container--board .cn-data-table td:not(.cn-table-col--checkbox):not(.cn-table-col--actions):not(.cn-table-col--icon) {
637
+ /* An index table pads every cell 16px at the sides (DqZaken). The plain-title
638
+ table (`rowTitle: "plain"`: PqTickets, OcPublicaties) sets its data cells
639
+ 12px apart and its title column 18px from the selection column; the
640
+ selection and menu columns keep 16px. The title column is left out of the
641
+ 12px rule, which would otherwise outrank the 18px one.
642
+ @spec openspec/changes/board-table-density/specs/board-table-density/spec.md#requirement-a-board-table-pads-its-cells-as-the-boards-draw-them */
643
+ .cn-look-board .cn-index-page__main--table .cn-table-container--board.cn-table-container--title-plain .cn-data-table th:not(.cn-table-col--checkbox):not(.cn-table-col--actions):not(.cn-table-col--icon):not(.cn-table-head--title),
644
+ .cn-look-board .cn-index-page__main--table .cn-table-container--board.cn-table-container--title-plain .cn-data-table td:not(.cn-table-col--checkbox):not(.cn-table-col--actions):not(.cn-table-col--icon):not(.cn-table-col--title) {
641
645
  padding-inline: 12px;
642
646
  }
643
647
 
644
- .cn-look-board .cn-index-page__main--table .cn-table-container--board .cn-data-table th.cn-table-head--title,
645
- .cn-look-board .cn-index-page__main--table .cn-table-container--board .cn-data-table td.cn-table-col--title {
646
- padding-inline-start: 18px;
648
+ .cn-look-board .cn-index-page__main--table .cn-table-container--board.cn-table-container--title-plain .cn-data-table th.cn-table-head--title,
649
+ .cn-look-board .cn-index-page__main--table .cn-table-container--board.cn-table-container--title-plain .cn-data-table td.cn-table-col--title {
650
+ padding-inline: 18px 12px;
651
+ }
652
+
653
+ /* A table that is not an index page's main list sits in a card and is the
654
+ compact one: 10px 12px in the header, 11px 12px in the cells
655
+ (DqInstellingen, DqVthInstellingen, DqZaaktype, DqTermijnen). The selection
656
+ column keeps its 16px, so it stays 60px wide. */
657
+ .cn-look-board .cn-table-container--board:not(.cn-index-page__main--table > *) .cn-data-table th {
658
+ padding: 10px 12px;
659
+ }
660
+
661
+ .cn-look-board .cn-table-container--board:not(.cn-index-page__main--table > *) .cn-data-table td {
662
+ padding: 11px 12px;
663
+ }
664
+
665
+ .cn-look-board .cn-table-container--board:not(.cn-index-page__main--table > *) .cn-data-table .cn-table-col--checkbox {
666
+ padding-inline: 16px;
647
667
  }
648
668
 
649
669
  .cn-look-board .cn-index-page__main--table .cn-table-container--board .cn-data-table td > .cn-cell-renderer {
@@ -873,12 +893,15 @@
873
893
  }
874
894
 
875
895
  /* A page link is a <button>: Nextcloud's `button` rule sets it bold, the
876
- boards set the links at the regular weight and only the current page at 600. */
896
+ boards set the links at the regular weight and only the current page at 600.
897
+ The boards size a link's content box at 34px, so a bordered link is 36px
898
+ and the borderless current page 34px (DqZaken "2", "Volgende", "1").
899
+ @spec openspec/changes/board-pagination-links/specs/board-pagination-links/spec.md#requirement-a-board-page-link-is-sized-as-the-boards-draw-it */
877
900
  .cn-look-board .cn-pagination--board .cn-pagination__board-link {
878
901
  box-sizing: border-box;
879
- min-width: 34px;
880
- height: 34px;
881
- min-height: 34px;
902
+ min-width: 36px;
903
+ height: 36px;
904
+ min-height: 36px;
882
905
  margin: 0;
883
906
  padding: 0 8px;
884
907
  border: 1px solid var(--color-border);
@@ -903,7 +926,10 @@
903
926
  }
904
927
 
905
928
  .cn-look-board .cn-pagination--board .cn-pagination__board-link--current {
906
- border-color: var(--color-primary-element);
929
+ min-width: 34px;
930
+ height: 34px;
931
+ min-height: 34px;
932
+ border: 0;
907
933
  background: var(--color-primary-element);
908
934
  color: var(--color-primary-element-text);
909
935
  font-weight: 600;
@@ -1406,3 +1432,73 @@
1406
1432
  border-bottom: none;
1407
1433
  padding-block: 2px;
1408
1434
  }
1435
+
1436
+ /* ---- The index side panel (CnIndexSidebar, board IndexZijpaneel) -------- */
1437
+ /* The panel's title is 20px bold without the schema icon, and its tabs are
1438
+ one row of 40px labels, 14px weight 600 in the soft ink, the open one in
1439
+ the deep primary ink and underlined 2px in the primary colour on the
1440
+ strip's rule (DqFilterBeheren). NcAppSidebar stacks the icon over the
1441
+ label in a 54px tile with a highlight bar; the board does neither. The
1442
+ header rule repeats NcAppSidebar's own chain to outrank it.
1443
+ @spec openspec/changes/board-index-sidebar-tabs/specs/board-index-sidebar-tabs/spec.md#requirement-the-board-index-side-panel-draws-the-boards-header-and-tab-row */
1444
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-header__desc .app-sidebar-header__name-container .app-sidebar-header__mainname-container h2.app-sidebar-header__mainname {
1445
+ font-size: 20px;
1446
+ font-weight: 700;
1447
+ line-height: 1.2;
1448
+ min-height: 0;
1449
+ }
1450
+
1451
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-header__figure:has(> .cn-index-sidebar__header-icon) {
1452
+ display: none;
1453
+ }
1454
+
1455
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__nav[role="tablist"] {
1456
+ justify-content: flex-start;
1457
+ gap: 4px;
1458
+ margin: 0;
1459
+ padding: 14px 12px 0;
1460
+ border-bottom: 1px solid var(--color-border);
1461
+ }
1462
+
1463
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__highlight {
1464
+ display: none;
1465
+ }
1466
+
1467
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__tab[role="tab"] {
1468
+ flex: 0 0 auto;
1469
+ flex-direction: row;
1470
+ align-items: center;
1471
+ gap: 6px;
1472
+ box-sizing: border-box;
1473
+ height: 40px;
1474
+ min-height: 40px;
1475
+ margin: 0 0 -1px;
1476
+ padding: 0 10px;
1477
+ border: 0;
1478
+ border-bottom: 2px solid transparent;
1479
+ border-radius: 0;
1480
+ background: transparent;
1481
+ color: var(--cn-board-text-soft);
1482
+ font-size: 14px;
1483
+ font-weight: 600;
1484
+ }
1485
+
1486
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__tab[role="tab"] * {
1487
+ font-weight: inherit;
1488
+ }
1489
+
1490
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__tab[role="tab"]::after {
1491
+ content: none;
1492
+ }
1493
+
1494
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__tab[role="tab"]:hover {
1495
+ background: transparent;
1496
+ border-bottom-color: var(--color-border-dark);
1497
+ color: var(--color-main-text);
1498
+ }
1499
+
1500
+ .cn-look-board .cn-index-sidebar-panel .app-sidebar-tabs__tab[role="tab"][aria-selected="true"] {
1501
+ background: transparent;
1502
+ border-bottom-color: var(--color-primary-element);
1503
+ color: var(--color-primary-element-light-text);
1504
+ }
@@ -228,9 +228,15 @@
228
228
  look sets 600 on each button, so every NcButton on a board page draws the
229
229
  board's weight without a rule per surface. Breadcrumb buttons keep the
230
230
  crumb weight.
231
- @spec openspec/changes/board-button-weight/specs/board-button-weight/spec.md#requirement-a-board-button-draws-at-600 */
231
+ The boards also draw a button's text at 14px, against Nextcloud's 15px.
232
+ NcButton reads its size from --default-font-size, so the look sets that
233
+ variable on the button: a surface that sets its own `font-size` (the next
234
+ step card's 15px) keeps it.
235
+ @spec openspec/changes/board-button-weight/specs/board-button-weight/spec.md#requirement-a-board-button-draws-at-600
236
+ @spec openspec/changes/board-control-text/specs/board-control-text/spec.md#requirement-a-board-button-draws-its-text-at-14px */
232
237
  .cn-look-board .button-vue:not(.cn-look-nextcloud *):not(.vue-crumb *) {
233
238
  --font-weight-element: 600;
239
+ --default-font-size: 14px;
234
240
  }
235
241
 
236
242
  /* ---- A button with an icon and a label --------------------------------- */
@@ -393,6 +399,26 @@
393
399
  background: var(--color-background-hover);
394
400
  }
395
401
 
402
+ /* ---- A secondary button --------------------------------------------------- */
403
+ /* The boards draw every secondary button neutral: the main background, a 1px
404
+ control border, the main text, the hover ground on hover (DqFlow "Testen
405
+ met een zaak", DqFunctionaliteiten "Documentatie", DqTaak "Afronden").
406
+ NcButton draws its secondary from the primary-light variables, on a 2px
407
+ bottom edge; the look points those variables at the neutral colours on the
408
+ button itself. The selector weighs (0,3,0): it outranks NcButton's border
409
+ (0,2,0), and a surface rule of the same weight later in the cascade (a
410
+ dialog's cancel) still decides for its surface.
411
+ @spec openspec/changes/board-secondary-neutral/specs/board-secondary-neutral/spec.md#requirement-a-board-secondary-button-is-neutral */
412
+ .cn-look-board .button-vue.button-vue--secondary:where(:not(.cn-look-nextcloud *):not(.vue-crumb *)),
413
+ .cn-look-board .button-vue.button-vue--vue-secondary:where(:not(.cn-look-nextcloud *):not(.vue-crumb *)) {
414
+ --color-primary-element-light: var(--color-main-background);
415
+ --color-primary-element-light-hover: var(--color-background-hover);
416
+ --color-primary-element-light-text: var(--color-main-text);
417
+ --nldesign-color-on-surface: var(--color-main-text);
418
+ border: 1px solid var(--cn-board-control-border);
419
+ color: var(--color-main-text);
420
+ }
421
+
396
422
  /* ---- Header action buttons (CnActionButtons) ----------------------------- */
397
423
  /* The board draws a page's secondary actions as neutral 40px buttons: the
398
424
  main background, a grey border, the main text at 600 (DqZaak "Bericht",