kui-vue 3.4.4-a → 3.4.4

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.
@@ -154,8 +154,7 @@ export default {
154
154
  className: [`k-${preCls}`, {
155
155
  [`k-${preCls}-${color}`]: color && !/^#/.test(color),
156
156
  [`k-${preCls}-has-color`]: /^#/.test(color),
157
- [`k-${preCls}-has-arrow`]: this.showPlacementArrow,
158
- [`k-${preCls}-dark`]: this.dark
157
+ [`k-${preCls}-has-arrow`]: this.showPlacementArrow
159
158
  }],
160
159
  width: this.width,
161
160
  selection: this.selection,
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
  <Button type="primary">Hover me</Button>
14
14
  </Poptip>
15
- <Poptip dark>
15
+ <Poptip>
16
16
  <template slot="content">
17
17
  <p>明月几时有,把酒问青天!</p>
18
18
  <p>明月几时有,把酒问青天!</p>
@@ -4,8 +4,8 @@
4
4
  display: inline-block;
5
5
  position: relative;
6
6
  // max-width: 300px;
7
- // color: #fff;
8
- color: var(--kui-color-font);
7
+ color: #fff;
8
+ // color: var(--kui-color-font);
9
9
  font-size: 12px;
10
10
  line-height: 1.5;
11
11
  position: absolute;
@@ -158,8 +158,8 @@
158
158
  .k-poptip-title {
159
159
  font-size: 16px;
160
160
  font-weight: 500;
161
- color: var(--kui-color-font);
162
- // color: #fff;
161
+ // color: var(--kui-color-font);
162
+ color: #fff;
163
163
  margin: 0;
164
164
  padding: 8px 16px;
165
165
  position: relative;
@@ -181,18 +181,12 @@
181
181
  }
182
182
 
183
183
  .k-poptip-dark {
184
- .k-poptip-title {
185
- color: #fff;
186
- }
184
+ background: #333;
185
+ // background-color: var(--kui-color-dark);
186
+ color: #fff;
187
187
 
188
- .k-poptip-content {
189
- // background: #333;
190
- color: #fff;
191
- background-color: @dark-back-color-10;
192
- }
193
-
194
- .k-poptip-arrow {
195
- color: @dark-back-color-10;
188
+ .k-poptip-title {
189
+ border-bottom: 1px solid rgba(0, 0, 0, .2);
196
190
  }
197
191
  }
198
192