@jiaozhiye/qm-design-react 1.7.6 → 1.7.7

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.
@@ -1,69 +1,72 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2023-06-04 09:42:40
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2023-06-05 16:47:52
6
- */
7
- @import '../../style/common';
8
-
9
- @prefix-scrollbar: ~'@{qm-prefix}-scrollbar';
10
-
11
- .@{prefix-scrollbar} {
12
- position: relative;
13
- &__wrap {
14
- display: grid;
15
- height: 100%;
16
- overflow: auto;
17
- &--hidden {
18
- scrollbar-width: none;
19
- &::-webkit-scrollbar {
20
- display: none;
21
- }
22
- }
23
- }
24
- &__bar {
25
- position: absolute;
26
- right: 2px;
27
- bottom: 2px;
28
- z-index: 2;
29
- border-radius: 4px;
30
- &.is-vertical {
31
- width: 6px;
32
- top: 2px;
33
- & > div {
34
- width: 100%;
35
- }
36
- }
37
- &.is-horizontal {
38
- height: 6px;
39
- left: 2px;
40
- & > div {
41
- height: 100%;
42
- }
43
- }
44
- // fade-transition
45
- &.fade {
46
- transition: all 0.3s ease;
47
- }
48
- &.fade.preEnter,
49
- &.fade.exiting {
50
- opacity: 0;
51
- }
52
- &.fade.exited {
53
- display: none;
54
- }
55
- }
56
- &__thumb {
57
- position: relative;
58
- display: block;
59
- width: 0;
60
- height: 0;
61
- cursor: pointer;
62
- border-radius: inherit;
63
- background-color: #909090;
64
- opacity: 0.3;
65
- &:hover {
66
- opacity: 0.5;
67
- }
68
- }
69
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2023-06-04 09:42:40
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2023-06-05 16:47:52
6
+ */
7
+ @import '../../style/common';
8
+
9
+ @prefix-scrollbar: ~'@{qm-prefix}-scrollbar';
10
+
11
+ .@{prefix-scrollbar} {
12
+ position: relative;
13
+ &__wrap {
14
+ display: grid;
15
+ height: 100%;
16
+ overflow: auto;
17
+ &--hidden {
18
+ scrollbar-width: none;
19
+ &::-webkit-scrollbar {
20
+ display: none;
21
+ }
22
+ }
23
+ }
24
+ &__view {
25
+ display: block;
26
+ }
27
+ &__bar {
28
+ position: absolute;
29
+ right: 2px;
30
+ bottom: 2px;
31
+ z-index: 2;
32
+ border-radius: 4px;
33
+ &.is-vertical {
34
+ width: 6px;
35
+ top: 2px;
36
+ & > div {
37
+ width: 100%;
38
+ }
39
+ }
40
+ &.is-horizontal {
41
+ height: 6px;
42
+ left: 2px;
43
+ & > div {
44
+ height: 100%;
45
+ }
46
+ }
47
+ // fade-transition
48
+ &.fade {
49
+ transition: all 0.3s ease;
50
+ }
51
+ &.fade.preEnter,
52
+ &.fade.exiting {
53
+ opacity: 0;
54
+ }
55
+ &.fade.exited {
56
+ display: none;
57
+ }
58
+ }
59
+ &__thumb {
60
+ position: relative;
61
+ display: block;
62
+ width: 0;
63
+ height: 0;
64
+ cursor: pointer;
65
+ border-radius: inherit;
66
+ background-color: #909090;
67
+ opacity: 0.3;
68
+ &:hover {
69
+ opacity: 0.5;
70
+ }
71
+ }
72
+ }
@@ -27482,6 +27482,9 @@ table {
27482
27482
  .qm-scrollbar__wrap--hidden::-webkit-scrollbar {
27483
27483
  display: none;
27484
27484
  }
27485
+ .qm-scrollbar__view {
27486
+ display: block;
27487
+ }
27485
27488
  .qm-scrollbar__bar {
27486
27489
  position: absolute;
27487
27490
  right: 2px;