@query-kit/themes 0.9.0 → 0.10.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/default/main.css +98 -0
- package/package.json +27 -1
package/default/main.css
CHANGED
|
@@ -694,3 +694,101 @@
|
|
|
694
694
|
display: none;
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
|
+
|
|
698
|
+
/* Icon styles */
|
|
699
|
+
:root {
|
|
700
|
+
--qkit-icon-size: 0.75rem;
|
|
701
|
+
}
|
|
702
|
+
.qkit-icon {
|
|
703
|
+
background: currentColor;
|
|
704
|
+
position: relative;
|
|
705
|
+
display: block;
|
|
706
|
+
width: var(--qkit-icon-size);
|
|
707
|
+
height: var(--qkit-icon-size);
|
|
708
|
+
}
|
|
709
|
+
.qkit-icon-minus {
|
|
710
|
+
clip-path: polygon(0% 35%, 100% 35%, 100% 65%, 0% 65%);
|
|
711
|
+
}
|
|
712
|
+
.qkit-icon-plus {
|
|
713
|
+
clip-path: polygon(
|
|
714
|
+
0% 35%,
|
|
715
|
+
35% 35%,
|
|
716
|
+
35% 0%,
|
|
717
|
+
65% 0%,
|
|
718
|
+
65% 35%,
|
|
719
|
+
100% 35%,
|
|
720
|
+
100% 65%,
|
|
721
|
+
65% 65%,
|
|
722
|
+
65% 100%,
|
|
723
|
+
35% 100%,
|
|
724
|
+
35% 65%,
|
|
725
|
+
0% 65%
|
|
726
|
+
);
|
|
727
|
+
}
|
|
728
|
+
.qkit-icon-cross {
|
|
729
|
+
clip-path: polygon(
|
|
730
|
+
20% 0%,
|
|
731
|
+
0% 20%,
|
|
732
|
+
30% 50%,
|
|
733
|
+
0% 80%,
|
|
734
|
+
20% 100%,
|
|
735
|
+
50% 70%,
|
|
736
|
+
80% 100%,
|
|
737
|
+
100% 80%,
|
|
738
|
+
70% 50%,
|
|
739
|
+
100% 20%,
|
|
740
|
+
80% 0%,
|
|
741
|
+
50% 30%
|
|
742
|
+
);
|
|
743
|
+
}
|
|
744
|
+
.qkit-icon-arrow-down {
|
|
745
|
+
clip-path: polygon(25% 15%, 50% 50%, 75% 15%, 100% 15%, 50% 85%, 0 15%);
|
|
746
|
+
}
|
|
747
|
+
.qkit-icon-double-arrow-right {
|
|
748
|
+
clip-path: polygon(45% 45%, 45% 0, 100% 50%, 45% 100%, 45% 55%, 0 100%, 0 0);
|
|
749
|
+
}
|
|
750
|
+
.qkit-icon-double-arrow-left {
|
|
751
|
+
clip-path: polygon(55% 0, 55% 45%, 100% 0, 100% 100%, 55% 55%, 55% 100%, 0 50%);
|
|
752
|
+
}
|
|
753
|
+
.qkit-icon-arrow-full-down {
|
|
754
|
+
clip-path: polygon(50% 80%, 0 20%, 100% 20%);
|
|
755
|
+
}
|
|
756
|
+
.qkit-icon-refresh {
|
|
757
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2 2 20 20'%3E%3Cpath d='M6.35 6.35A7.96 7.96 0 0112 4c4.42 0 7.99 3.58 7.99 8s-3.57 8-7.99 8c-3.73 0-6.84-2.55-7.73-6h2.5A5.99 5.99 0 0012 18c3.31 0 6-2.69 6-6s-2.69-6-6-6c-1.66 0-3.14.69-4.22 1.78L9.5 9.5H4V4l2.35 2.35z' stroke='black' stroke-width='2' fill='black'/%3E%3C/svg%3E");
|
|
758
|
+
mask-size: contain;
|
|
759
|
+
mask-repeat: no-repeat;
|
|
760
|
+
mask-position: center;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/* Collapse wrapper and icon styles */
|
|
764
|
+
.qkit-collapse-wrapper {
|
|
765
|
+
display: grid;
|
|
766
|
+
grid-template-rows: 1fr;
|
|
767
|
+
transition: grid-template-rows 0.3s ease;
|
|
768
|
+
}
|
|
769
|
+
.qkit-collapse-wrapper[collapsed] {
|
|
770
|
+
grid-template-rows: 0fr;
|
|
771
|
+
}
|
|
772
|
+
.qkit-collapse-icon-wrapper {
|
|
773
|
+
transition: transform 0.2s ease;
|
|
774
|
+
}
|
|
775
|
+
.qkit-collapse-icon-wrapper[upsidedown] {
|
|
776
|
+
transform: rotate(-180deg);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/* Focus-only shortcuts styles */
|
|
780
|
+
.qkit-focus-only {
|
|
781
|
+
position: absolute;
|
|
782
|
+
left: 0;
|
|
783
|
+
top: 0;
|
|
784
|
+
background-color: white;
|
|
785
|
+
width: 0;
|
|
786
|
+
height: 0;
|
|
787
|
+
opacity: 0;
|
|
788
|
+
overflow: hidden;
|
|
789
|
+
}
|
|
790
|
+
.qkit-focus-only:focus-visible {
|
|
791
|
+
opacity: 1;
|
|
792
|
+
width: auto;
|
|
793
|
+
height: auto;
|
|
794
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@query-kit/themes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
|
+
"description": "CSS themes for @query-kit/vue components",
|
|
5
|
+
"author": "Jean-Philippe Perrotton <jeanphilippe.perrotton@gmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
4
7
|
"private": false,
|
|
5
8
|
"exports": {
|
|
6
9
|
"./package.json": "./package.json",
|
|
7
10
|
"./default": "./default/main.css"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"default",
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"keywords": [
|
|
18
|
+
"vue",
|
|
19
|
+
"vue3",
|
|
20
|
+
"query-kit",
|
|
21
|
+
"theme",
|
|
22
|
+
"css",
|
|
23
|
+
"styles",
|
|
24
|
+
"query-builder-theme"
|
|
25
|
+
],
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/comhon-project/query-kit.git",
|
|
29
|
+
"directory": "packages/themes"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/comhon-project/query-kit",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/comhon-project/query-kit/issues"
|
|
8
34
|
}
|
|
9
35
|
}
|