next-ui3 1.5.18 → 1.5.19

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.
@@ -2,7 +2,7 @@
2
2
  .nt-flex-radio-group {
3
3
  display: flex;
4
4
  align-items: center;
5
- font-size: 14px;
5
+ // font-size: 14px;
6
6
  }
7
7
 
8
8
  .nt-flex-radio-container {
@@ -23,11 +23,11 @@
23
23
  height: 20px;
24
24
  cursor: pointer;
25
25
  background: #fff;
26
- font-weight: 500;
26
+ // font-weight: 500;
27
27
  box-sizing: content-box;
28
28
  position: relative;
29
- font-size: 16px;
30
- color: #999ebe;
29
+ // font-size: 16px;
30
+ // color: #999ebe;
31
31
  &:before {
32
32
  position: absolute;
33
33
  left: 0;
@@ -36,7 +36,7 @@
36
36
  bottom: 0;
37
37
  pointer-events: none;
38
38
  content: '';
39
- border: solid 1px #eef0f6;
39
+ border: solid 1px var(--el-border-color);
40
40
  border-radius: 8px;
41
41
  }
42
42
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  &.nt-flex-radio-label--active {
48
48
  background: var(--el-color-primary);
49
- font-weight: 500;
49
+ // font-weight: 500;
50
50
  color: #fff;
51
51
  // font-size: 18px;
52
52
  &:before {
@@ -70,12 +70,40 @@
70
70
  }
71
71
 
72
72
  .nt-flex-radio-popover {
73
+ border-radius: 8px !important;
74
+ padding: 0 !important;
73
75
  min-width: auto !important;
76
+ overflow: hidden;
77
+ position: relative;
78
+
79
+ &::before {
80
+ z-index: 1;
81
+ content: '';
82
+ position: absolute;
83
+ left: 0;
84
+ top: 0;
85
+ width: 100%;
86
+ height: 16px;
87
+ pointer-events: none;
88
+ background: linear-gradient(to top, transparent, #ffffff);
89
+ }
90
+
91
+ &::after {
92
+ z-index: 1;
93
+ content: '';
94
+ position: absolute;
95
+ left: 0;
96
+ bottom: 0;
97
+ width: 100%;
98
+ height: 16px;
99
+ pointer-events: none;
100
+ background: linear-gradient(to bottom, transparent, #ffffff);
101
+ }
74
102
 
75
103
  .el-scrollbar {
76
- width: calc(100% + 12px);
77
- margin-right: -12px;
78
- padding-right: 12px;
104
+ // width: calc(100% + 12px);
105
+ // margin-right: -12px;
106
+ // padding-right: 12px;
79
107
  .el-scrollbar__wrap {
80
108
  max-height: 240px;
81
109
  }
@@ -88,11 +116,12 @@
88
116
  gap: 6px;
89
117
  background: #fff;
90
118
  width: fit-content;
119
+ padding: 16px 20px;
91
120
  }
92
121
 
93
122
  .nt-flex-radio-popup-item {
94
123
  padding: 0;
95
- font-weight: 500;
124
+ // font-weight: 500;
96
125
  line-height: 24px;
97
126
  height: 24px;
98
127
  box-sizing: content-box;