@ew-color-picker/style 2.0.9 → 2.0.11
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/checkbox.css +9 -9
- package/dist/checkbox.min.css +1 -1
- package/dist/index.css +646 -103
- package/dist/index.min.css +1 -1
- package/dist/input-number.css +15 -14
- package/dist/input-number.min.css +1 -1
- package/dist/select.css +16 -16
- package/dist/select.min.css +1 -1
- package/dist/tooltip.css +85 -0
- package/dist/tooltip.min.css +1 -0
- package/package.json +1 -1
- package/src/checkbox.scss +9 -9
- package/src/index.scss +777 -104
- package/src/input-number.scss +16 -14
- package/src/select.scss +16 -16
- package/src/tooltip.scss +98 -0
package/dist/checkbox.css
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
5
|
-
gap: 6px;
|
|
5
|
+
gap: var(--checkbox-gap, 6px);
|
|
6
6
|
color: #666;
|
|
7
7
|
font-family: inherit;
|
|
8
|
-
font-size: 12px;
|
|
8
|
+
font-size: var(--checkbox-font-size, 12px);
|
|
9
9
|
line-height: 1;
|
|
10
10
|
white-space: nowrap;
|
|
11
11
|
cursor: pointer;
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
display: inline-flex;
|
|
32
32
|
align-items: center;
|
|
33
33
|
justify-content: center;
|
|
34
|
-
flex: 0 0 16px;
|
|
35
|
-
width: 16px;
|
|
36
|
-
height: 16px;
|
|
37
|
-
border: 1.5px solid #d9d9d9;
|
|
38
|
-
border-radius: 4px;
|
|
34
|
+
flex: 0 0 var(--checkbox-box-size, 16px);
|
|
35
|
+
width: var(--checkbox-box-size, 16px);
|
|
36
|
+
height: var(--checkbox-box-size, 16px);
|
|
37
|
+
border: var(--checkbox-border-width, 1.5px) solid #d9d9d9;
|
|
38
|
+
border-radius: var(--checkbox-box-radius, 4px);
|
|
39
39
|
background: #fff;
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
|
|
44
44
|
.ew-checkbox__check-icon {
|
|
45
45
|
display: block;
|
|
46
|
-
width: 10px;
|
|
47
|
-
height: 10px;
|
|
46
|
+
width: var(--checkbox-icon-size, 10px);
|
|
47
|
+
height: var(--checkbox-icon-size, 10px);
|
|
48
48
|
color: #fff;
|
|
49
49
|
opacity: 0;
|
|
50
50
|
pointer-events: none;
|
package/dist/checkbox.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ew-checkbox{position:relative;display:inline-flex;align-items:center;gap:6px;color:#666;font-family:inherit;font-size:12px;line-height:1;white-space:nowrap;cursor:pointer;user-select:none;box-sizing:border-box}.ew-checkbox__input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}.ew-checkbox__box{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;border:1.5px solid #d9d9d9;border-radius:4px;background:#fff;box-sizing:border-box;transition:border-color .2s,background .2s,box-shadow .2s}.ew-checkbox__check-icon{display:block;width:10px;height:10px;color:#fff;opacity:0;pointer-events:none;transition:opacity .15s}.ew-checkbox__input:checked+.ew-checkbox__box{border-color:#4096ef;background:#4096ef}.ew-checkbox__input:checked+.ew-checkbox__box .ew-checkbox__check-icon{opacity:1}.ew-checkbox__input:focus-visible+.ew-checkbox__box{box-shadow:0 0 0 2px rgba(64,150,239,.18)}.ew-checkbox--disabled{color:#ccc;cursor:not-allowed}.ew-checkbox--disabled .ew-checkbox__box{border-color:#e5e6eb;background:#f7f8fa}.ew-checkbox--disabled .ew-checkbox__input:checked+.ew-checkbox__box{border-color:#c8c9cc;background:#c8c9cc}.ew-checkbox--small{gap:4px;font-size:12px}.ew-checkbox--small .ew-checkbox__box{flex:0 0 14px;width:14px;height:14px;border-radius:3px}.ew-checkbox--small .ew-checkbox__check-icon{width:9px;height:9px}.ew-checkbox--large{gap:8px;font-size:14px}.ew-checkbox--large .ew-checkbox__box{flex:0 0 18px;width:18px;height:18px}.ew-checkbox--large .ew-checkbox__check-icon{width:12px;height:12px}
|
|
1
|
+
.ew-checkbox{position:relative;display:inline-flex;align-items:center;gap:var(--checkbox-gap, 6px);color:#666;font-family:inherit;font-size:var(--checkbox-font-size, 12px);line-height:1;white-space:nowrap;cursor:pointer;user-select:none;box-sizing:border-box}.ew-checkbox__input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;opacity:0}.ew-checkbox__box{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 var(--checkbox-box-size, 16px);width:var(--checkbox-box-size, 16px);height:var(--checkbox-box-size, 16px);border:var(--checkbox-border-width, 1.5px) solid #d9d9d9;border-radius:var(--checkbox-box-radius, 4px);background:#fff;box-sizing:border-box;transition:border-color .2s,background .2s,box-shadow .2s}.ew-checkbox__check-icon{display:block;width:var(--checkbox-icon-size, 10px);height:var(--checkbox-icon-size, 10px);color:#fff;opacity:0;pointer-events:none;transition:opacity .15s}.ew-checkbox__input:checked+.ew-checkbox__box{border-color:#4096ef;background:#4096ef}.ew-checkbox__input:checked+.ew-checkbox__box .ew-checkbox__check-icon{opacity:1}.ew-checkbox__input:focus-visible+.ew-checkbox__box{box-shadow:0 0 0 2px rgba(64,150,239,.18)}.ew-checkbox--disabled{color:#ccc;cursor:not-allowed}.ew-checkbox--disabled .ew-checkbox__box{border-color:#e5e6eb;background:#f7f8fa}.ew-checkbox--disabled .ew-checkbox__input:checked+.ew-checkbox__box{border-color:#c8c9cc;background:#c8c9cc}.ew-checkbox--small{gap:4px;font-size:12px}.ew-checkbox--small .ew-checkbox__box{flex:0 0 14px;width:14px;height:14px;border-radius:3px}.ew-checkbox--small .ew-checkbox__check-icon{width:9px;height:9px}.ew-checkbox--large{gap:8px;font-size:14px}.ew-checkbox--large .ew-checkbox__box{flex:0 0 18px;width:18px;height:18px}.ew-checkbox--large .ew-checkbox__check-icon{width:12px;height:12px}
|