digital-zen-pack 0.3.0 → 0.4.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/style.css +34 -0
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
background-color: var(--color-component-bg-light);
|
|
74
74
|
color: var(--color-component-text-light);
|
|
75
75
|
justify-content: center;
|
|
76
|
+
transition: transform 0.1s ease, filter 0.1s ease;
|
|
76
77
|
}
|
|
77
78
|
.dz-button--xs {
|
|
78
79
|
height: var(--btn-size-xs);
|
|
@@ -133,6 +134,17 @@
|
|
|
133
134
|
pointer-events: none;
|
|
134
135
|
filter: grayscale(50%);
|
|
135
136
|
}
|
|
137
|
+
.dz-button--pointerless {
|
|
138
|
+
cursor: auto;
|
|
139
|
+
pointer-events: none;
|
|
140
|
+
}
|
|
141
|
+
.dz-button:active:not(disabled):not(.dz-button--pointerless) {
|
|
142
|
+
transform: scale(0.98) translateY(1px);
|
|
143
|
+
}
|
|
144
|
+
.dz-button:hover:not(:disabled):not(.dz-button--pointerless) {
|
|
145
|
+
filter: brightness(1.1);
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
}
|
|
136
148
|
|
|
137
149
|
.dz-icon {
|
|
138
150
|
height: var(--icon-height);
|
|
@@ -545,3 +557,25 @@
|
|
|
545
557
|
padding: 0 !important;
|
|
546
558
|
overflow: hidden !important;
|
|
547
559
|
}
|
|
560
|
+
|
|
561
|
+
@keyframes shake-vertical {
|
|
562
|
+
0%, 100% {
|
|
563
|
+
transform: translateY(0);
|
|
564
|
+
}
|
|
565
|
+
10%, 30%, 50%, 70%, 90% {
|
|
566
|
+
transform: translateY(-5px);
|
|
567
|
+
}
|
|
568
|
+
20%, 40%, 60%, 80% {
|
|
569
|
+
transform: translateY(5px);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
.shake {
|
|
573
|
+
animation: shake-vertical 1.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.unselectable {
|
|
577
|
+
-webkit-user-select: none;
|
|
578
|
+
-moz-user-select: none;
|
|
579
|
+
-ms-user-select: none;
|
|
580
|
+
user-select: none;
|
|
581
|
+
}
|