element-sim 1.0.8 → 1.0.9

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/CHANGELOG.es.md CHANGED
@@ -18,4 +18,8 @@
18
18
 
19
19
  #### 优化了级联选择器样式
20
20
 
21
- #### 优化了单选框样式
21
+ #### 优化了单选框样式
22
+
23
+ ### 1.0.9
24
+
25
+ #### 优化了多选框样式
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-sim",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "A Component Library for Vue.js.",
5
5
  "main": "lib/element-sim.common.js",
6
6
  "files": [
@@ -158,7 +158,7 @@
158
158
  }
159
159
 
160
160
  & + .el-checkbox__label {
161
- color: $--checkbox-checked-font-color;
161
+ // color: $--checkbox-checked-font-color;
162
162
  }
163
163
  }
164
164
  @include when(focus) { /*focus时 视觉上区分*/
@@ -168,19 +168,19 @@
168
168
  }
169
169
  @include when(indeterminate) {
170
170
  .el-checkbox__inner {
171
- background-color: $--checkbox-checked-background-color;
172
- border-color: $--checkbox-checked-input-border-color;
171
+ background-color: $--checkbox-background-color;
172
+ border-color: $--border-color-base;
173
173
 
174
174
  &::before {
175
175
  content: '';
176
176
  position: absolute;
177
177
  display: block;
178
- background-color: $--checkbox-checked-icon-color;
179
- height: 2px;
180
- transform: scale(0.5);
181
- left: 0;
182
- right: 0;
183
- top: 5px;
178
+ background-color: $--color-primary;
179
+ height: 8.75px;
180
+ width: 8.75px;
181
+ transform: translate(-50%, -50%) scale(1);
182
+ left: 50%;
183
+ top: 50%;
184
184
  }
185
185
 
186
186
  &::after {
@@ -156,7 +156,7 @@ $--checkbox-font-size: 14px !default;
156
156
  /// fontWeight||Font|1
157
157
  $--checkbox-font-weight: $--font-weight-primary !default;
158
158
  /// color||Color|0
159
- $--checkbox-font-color: $--color-text-regular !default;
159
+ $--checkbox-font-color: $--color-text-primary !default;
160
160
  $--checkbox-input-height: 14px !default;
161
161
  $--checkbox-input-width: 14px !default;
162
162
  /// borderRadius||Border|2