@quazardous/qdadm 2.53.0 → 2.54.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.
- package/dist/node/cards/tools/cardsTool.js +2 -1
- package/dist/styles/qdadm.css +1 -1
- package/package.json +1 -1
- package/src/cards/QdCard.vue +4 -0
- package/src/cards/QdCardView.vue +7 -2
- package/src/cards/QdFavoritesCard.vue +73 -14
- package/src/cards/builtin/agenda/meta.json +1 -0
- package/src/cards/builtin/cards-index.json +19 -1
- package/src/cards/builtin/favorites/FavoritesCard.vue +69 -10
- package/src/cards/builtin/favorites/meta.json +4 -2
- package/src/cards/builtin/favorites/schema.json +3 -1
- package/src/cards/builtin/feed/meta.json +1 -0
- package/src/cards/builtin/queue/meta.json +1 -0
- package/src/cards/builtin/recent/meta.json +1 -0
- package/src/cards/tools/cardsTool.ts +2 -1
- package/src/cards/types.ts +4 -0
- package/src/components/edit/FormPage.vue +1 -1
- package/src/components/layout/PageHeader.vue +8 -0
- package/src/components/show/ShowPage.vue +1 -1
- package/src/i18n/defaults/core.en.generated.ts +3 -0
- package/src/i18n/defaults/core.en.yml +3 -0
- package/src/i18n/defaults/core.fr.generated.ts +3 -0
- package/src/i18n/defaults/core.fr.yml +3 -0
- package/src/styles/_qd-cards.scss +93 -0
|
@@ -118,6 +118,12 @@
|
|
|
118
118
|
line-height: 1.3;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
// The card's icon, before its title (#5392)
|
|
122
|
+
.qd-card-icon {
|
|
123
|
+
margin-right: 0.4em;
|
|
124
|
+
font-size: 0.95em;
|
|
125
|
+
}
|
|
126
|
+
|
|
121
127
|
// The surface: the title's link, stretched over the whole card
|
|
122
128
|
.qd-card-surface {
|
|
123
129
|
color: inherit;
|
|
@@ -729,6 +735,93 @@
|
|
|
729
735
|
}
|
|
730
736
|
}
|
|
731
737
|
|
|
738
|
+
.qd-favorites-item {
|
|
739
|
+
display: flex;
|
|
740
|
+
align-items: center;
|
|
741
|
+
gap: 0.35rem;
|
|
742
|
+
min-width: 0;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.qd-favorites-link {
|
|
746
|
+
min-width: 0;
|
|
747
|
+
max-width: 100%;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
// A long label is cut, the whole of it in the title (#5392)
|
|
751
|
+
.qd-favorites-label {
|
|
752
|
+
overflow: hidden;
|
|
753
|
+
text-overflow: ellipsis;
|
|
754
|
+
white-space: nowrap;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
// The ×: on hover and focus, always on a touch screen
|
|
758
|
+
.qd-favorites-remove,
|
|
759
|
+
.qd-favorites-undo {
|
|
760
|
+
position: relative;
|
|
761
|
+
z-index: 1; // above the card's stretched surface link
|
|
762
|
+
flex-shrink: 0;
|
|
763
|
+
border: 0;
|
|
764
|
+
background: none;
|
|
765
|
+
cursor: pointer;
|
|
766
|
+
color: var(--qd-card-muted);
|
|
767
|
+
border-radius: 3px;
|
|
768
|
+
|
|
769
|
+
&:focus-visible {
|
|
770
|
+
outline: 2px solid var(--qd-card-accent);
|
|
771
|
+
outline-offset: 1px;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.qd-favorites-remove {
|
|
776
|
+
display: inline-flex;
|
|
777
|
+
align-items: center;
|
|
778
|
+
justify-content: center;
|
|
779
|
+
width: 1.4rem;
|
|
780
|
+
height: 1.4rem;
|
|
781
|
+
margin-left: auto;
|
|
782
|
+
padding: 0;
|
|
783
|
+
opacity: 0;
|
|
784
|
+
|
|
785
|
+
i {
|
|
786
|
+
font-size: 0.7rem;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
&:hover {
|
|
790
|
+
color: var(--qd-card-ink);
|
|
791
|
+
background: color-mix(in srgb, var(--qd-card-muted) 15%, transparent);
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.qd-favorites-item:hover .qd-favorites-remove,
|
|
796
|
+
.qd-favorites-item:focus-within .qd-favorites-remove {
|
|
797
|
+
opacity: 1;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
@media (hover: none) {
|
|
801
|
+
.qd-favorites-remove {
|
|
802
|
+
opacity: 1;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.qd-favorites-removed {
|
|
807
|
+
overflow: hidden;
|
|
808
|
+
min-width: 0;
|
|
809
|
+
text-overflow: ellipsis;
|
|
810
|
+
white-space: nowrap;
|
|
811
|
+
font-size: 0.8125rem;
|
|
812
|
+
font-style: italic;
|
|
813
|
+
color: var(--qd-card-muted);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.qd-favorites-undo {
|
|
817
|
+
padding: 0 0.25rem;
|
|
818
|
+
font: inherit;
|
|
819
|
+
font-size: 0.8125rem;
|
|
820
|
+
font-weight: 600;
|
|
821
|
+
color: var(--qd-card-accent);
|
|
822
|
+
text-decoration: underline;
|
|
823
|
+
}
|
|
824
|
+
|
|
732
825
|
.qd-favorites-more {
|
|
733
826
|
margin: 0;
|
|
734
827
|
font-size: 0.8125rem;
|