2019-06-14 14:46:13 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2020-02-11 14:44:29 +08:00
|
|
|
|
2020-02-09 19:21:31 +08:00
|
|
|
@mixin input-group-label-size-mixin ($size) {
|
|
|
|
$font-size: map-get($map: $--n-font-size, $key: $size);
|
|
|
|
$height: map-get($map: $--n-height, $key: $size);
|
|
|
|
@include m($size + '-size') {
|
|
|
|
font-size: $font-size;
|
|
|
|
line-height: $height;
|
|
|
|
height: $height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-10 18:24:51 +08:00
|
|
|
@mixin input-size-mixin ($size) {
|
|
|
|
$font-size: map-get($map: $--n-font-size, $key: $size);
|
|
|
|
$height: map-get($map: $--n-height, $key: $size);
|
|
|
|
$line-height: round($font-size * 1.5);
|
|
|
|
@include m($size + "-size") {
|
|
|
|
font-size: $font-size;
|
|
|
|
line-height: $line-height;
|
2019-09-13 16:17:46 +08:00
|
|
|
@include e(input) {
|
2019-10-10 18:24:51 +08:00
|
|
|
height: $height;
|
2019-09-13 16:17:46 +08:00
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(input, textarea, textarea-mirror, splitor, placeholder) {
|
2019-10-30 16:21:16 +08:00
|
|
|
padding-left: 14px;
|
|
|
|
padding-right: 14px;
|
2019-10-10 18:24:51 +08:00
|
|
|
line-height: $line-height;
|
|
|
|
font-size: $font-size;
|
|
|
|
padding-top: ($height - $line-height) / 2;
|
|
|
|
padding-bottom: ($height - $line-height) / 2;
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
left: 14px;
|
|
|
|
right: 14px;
|
|
|
|
}
|
2020-02-29 20:59:29 +08:00
|
|
|
@include m(suffix, clearable) {
|
2019-10-30 16:21:16 +08:00
|
|
|
@include not-m(split) {
|
|
|
|
@include e(input) {
|
2020-02-29 20:59:29 +08:00
|
|
|
@include m(first) {
|
|
|
|
padding-right: 38px!important;
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
}
|
2020-03-02 13:06:37 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
right: 38px!important;
|
|
|
|
}
|
2019-10-30 16:21:16 +08:00
|
|
|
}
|
|
|
|
@include m(split) {
|
2020-02-29 20:59:29 +08:00
|
|
|
@include e(input) {
|
|
|
|
@include m(second) {
|
2019-10-30 16:21:16 +08:00
|
|
|
padding-right: 38px!important;
|
2020-02-29 20:59:29 +08:00
|
|
|
& + {
|
|
|
|
@include e(placeholder) {
|
|
|
|
right: 38px!important;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
}
|
2019-10-30 16:21:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include m(prefix) {
|
2020-02-29 20:59:29 +08:00
|
|
|
@include e(input) {
|
|
|
|
@include m(first) {
|
2019-10-30 16:21:16 +08:00
|
|
|
padding-left: 38px!important;
|
2020-03-02 13:06:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include not-m(split) {
|
|
|
|
@include e(placeholder) {
|
|
|
|
left: 38px!important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include m(split) {
|
|
|
|
@include e(input) {
|
|
|
|
@include m(first) {
|
|
|
|
& + {
|
|
|
|
@include e(placeholder) {
|
|
|
|
left: 38px!important;
|
|
|
|
}
|
2020-02-29 20:59:29 +08:00
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
}
|
2019-10-30 16:21:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
@include m(round) {
|
2019-10-17 14:03:09 +08:00
|
|
|
@include not-m(textarea) {
|
2019-10-30 16:21:16 +08:00
|
|
|
@include e(input) {
|
|
|
|
padding-left: $height / 2;
|
|
|
|
padding-right: $height / 2;
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
left: $height / 2;
|
|
|
|
right: $height / 2;
|
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
border-radius: $height / 2;
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-radius: $height / 2;
|
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
}
|
2019-06-18 18:09:42 +08:00
|
|
|
}
|
2019-06-14 14:46:13 +08:00
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@include themes-mixin {
|
|
|
|
@include b(input) {
|
2019-10-10 18:39:51 +08:00
|
|
|
@include once {
|
2020-02-08 23:19:30 +08:00
|
|
|
z-index: auto;
|
2019-10-30 16:21:16 +08:00
|
|
|
outline: none;
|
2019-10-17 14:03:09 +08:00
|
|
|
box-sizing: border-box;
|
2019-10-10 18:39:51 +08:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
display: inline-block;
|
2020-02-21 14:59:17 +08:00
|
|
|
border-radius: $--n-input-border-radius;
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: box-shadow .3s $--n-ease-in-out-cubic-bezier, background-color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-10 18:39:51 +08:00
|
|
|
@include input-size-mixin("small");
|
|
|
|
@include input-size-mixin("medium");
|
|
|
|
@include input-size-mixin("large");
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
z-index: 1;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
pointer-events: none;
|
2020-02-21 14:59:17 +08:00
|
|
|
border-radius: $--n-input-border-radius;
|
2020-02-08 23:19:30 +08:00
|
|
|
transition: border-color .3s $--n-ease-in-out-cubic-bezier, box-shadow .3s $--n-ease-in-out-cubic-bezier;
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
white-space: nowrap;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include e(suffix, prefix) {
|
2019-10-10 18:39:51 +08:00
|
|
|
position: absolute;
|
2020-02-22 14:11:34 +08:00
|
|
|
line-height: 1.75;
|
2020-02-10 22:07:02 +08:00
|
|
|
height: 0;
|
2020-02-21 14:59:17 +08:00
|
|
|
width: $--n-input-icon-size;
|
2020-02-10 22:07:02 +08:00
|
|
|
white-space: nowrap;
|
2020-02-05 22:20:34 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-02-10 22:07:02 +08:00
|
|
|
top: 50%;
|
2019-10-25 11:00:22 +08:00
|
|
|
@include b(icon) {
|
2020-02-10 22:07:02 +08:00
|
|
|
justify-self: center;
|
2020-02-21 14:59:17 +08:00
|
|
|
font-size: $--n-input-icon-size;
|
2019-10-10 18:39:51 +08:00
|
|
|
}
|
|
|
|
}
|
2019-10-25 11:00:22 +08:00
|
|
|
@include e(suffix) {
|
2020-02-10 22:07:02 +08:00
|
|
|
@include fade-in-scale-up-transition(button-suffix);
|
|
|
|
justify-content: flex-end;
|
2019-10-25 11:00:22 +08:00
|
|
|
right: 12px;
|
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include e(prefix) {
|
|
|
|
justify-content: flex-start;
|
2019-10-25 11:00:22 +08:00
|
|
|
left: 12px;
|
|
|
|
}
|
2020-02-14 22:42:53 +08:00
|
|
|
@include b(input-clear) {
|
2020-02-10 22:07:02 +08:00
|
|
|
display: flex;
|
|
|
|
margin-right: 4px;
|
2019-10-10 18:39:51 +08:00
|
|
|
}
|
|
|
|
@include e(textarea, textarea-mirror) {
|
2019-12-31 21:01:24 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
2019-10-10 18:39:51 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
2020-02-22 14:11:34 +08:00
|
|
|
line-height: 1.75;
|
2019-10-10 18:39:51 +08:00
|
|
|
margin: 0;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
@include e(textarea) {
|
|
|
|
@include m(autosize) {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
2019-10-15 18:55:49 +08:00
|
|
|
resize: none;
|
2019-10-10 18:39:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include e(textarea-mirror) {
|
2019-10-15 18:55:49 +08:00
|
|
|
overflow: hidden;
|
2019-10-10 18:39:51 +08:00
|
|
|
visibility: hidden;
|
|
|
|
position: static;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
@include m(split) {
|
|
|
|
display: inline-flex;
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(input, placeholder) {
|
2019-10-17 14:03:09 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
color: map-get($--input-placeholder-color, 'default');
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
background-color: map-get($--input-background-color, 'default');
|
|
|
|
box-shadow: map-get($--input-box-shadow, 'default');
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border: 1px solid map-get($--input-border-mask-border-color, 'default');
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
&:hover {
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-color: map-get($--input-border-mask-border-color, 'hover');
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
}
|
|
|
|
@include m(focus) {
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-color: map-get($--input-border-mask-border-color, 'focus');
|
|
|
|
box-shadow: map-get($--input-border-mask-box-shadow, 'focus');
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
background-color: map-get($--input-background-color, 'focus');
|
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include once {
|
|
|
|
@include m(textarea) {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
@include e(textarea, textarea-mirror) {
|
|
|
|
padding-left: 14px;
|
|
|
|
padding-right: 14px;
|
|
|
|
}
|
2020-02-28 19:59:47 +08:00
|
|
|
@include e(placeholder) {
|
|
|
|
white-space: unset;
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include e(suffix, prefix) {
|
2019-10-25 11:00:22 +08:00
|
|
|
@include b(icon) {
|
2020-02-19 22:37:20 +08:00
|
|
|
fill: map-get($--input-icon-color, 'default');
|
|
|
|
stroke: map-get($--input-icon-color, 'default');
|
2019-10-11 17:23:39 +08:00
|
|
|
}
|
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
@include e(input, textarea) {
|
2019-10-10 18:39:51 +08:00
|
|
|
@include once {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: none;
|
|
|
|
font-size: inherit;
|
|
|
|
outline: none;
|
2020-02-22 14:11:34 +08:00
|
|
|
font-family: inherit;
|
2019-10-10 18:39:51 +08:00
|
|
|
width: 100%;
|
2019-12-30 19:37:55 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier, text-decoration-color .3s $--n-ease-in-out-cubic-bezier;
|
2020-02-10 22:07:02 +08:00
|
|
|
background-color: transparent;
|
2020-02-28 19:59:47 +08:00
|
|
|
min-width: 0;
|
2019-10-10 18:39:51 +08:00
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
color: map-get($--input-color, 'default');
|
2019-11-06 13:48:05 +08:00
|
|
|
caret-color: map-get($--input-caret-color, 'default');
|
2019-10-10 18:24:51 +08:00
|
|
|
&::placeholder {
|
2020-02-28 19:59:47 +08:00
|
|
|
color: transparent;
|
2019-08-23 14:20:10 +08:00
|
|
|
}
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
@include e(splitor) {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-17 14:03:09 +08:00
|
|
|
color: map-get($--input-color, 'default');
|
2020-02-10 22:07:02 +08:00
|
|
|
@include once {
|
2020-02-10 22:27:13 +08:00
|
|
|
padding-left: 0 !important;
|
|
|
|
padding-right: 0 !important;
|
2020-02-10 22:07:02 +08:00
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
@include m(disabled) {
|
2020-02-10 22:07:02 +08:00
|
|
|
@include once {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
box-shadow: map-get($--input-box-shadow, 'disabled') !important;
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-color: map-get($--input-border-mask-border-color, 'disabled') !important;
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
background-color: map-get($--input-background-color, 'disabled');
|
2019-10-10 18:24:51 +08:00
|
|
|
@include e(input, textarea) {
|
2020-02-10 22:07:02 +08:00
|
|
|
@include once {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2019-10-10 18:24:51 +08:00
|
|
|
color: map-get($--input-color, 'disabled');
|
2020-02-28 19:59:47 +08:00
|
|
|
}
|
|
|
|
@include e(placeholder) {
|
|
|
|
color: map-get($--input-placeholder-color, 'disabled');
|
2019-08-23 14:20:10 +08:00
|
|
|
}
|
2020-02-10 22:07:02 +08:00
|
|
|
@include e(suffix, prefix) {
|
2019-10-25 11:00:22 +08:00
|
|
|
@include b(icon) {
|
2020-02-19 22:37:20 +08:00
|
|
|
fill: map-get($--input-icon-color, 'disabled');
|
|
|
|
stroke: map-get($--input-icon-color, 'disabled');
|
2019-10-25 11:00:22 +08:00
|
|
|
}
|
|
|
|
}
|
2019-10-17 14:03:09 +08:00
|
|
|
@include e(splitor) {
|
|
|
|
color: map-get($--input-color, 'disabled');
|
|
|
|
}
|
2019-06-21 11:49:15 +08:00
|
|
|
}
|
2019-09-13 16:17:46 +08:00
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
@include b(input-group-label) {
|
|
|
|
@include once {
|
|
|
|
user-select: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: inline-block;
|
2020-02-21 14:59:17 +08:00
|
|
|
border-radius: $--n-input-border-radius;
|
2020-02-09 19:21:31 +08:00
|
|
|
transition:
|
|
|
|
color .3s $--n-ease-in-out-cubic-bezier,
|
|
|
|
background-color .3s $--n-ease-in-out-cubic-bezier,
|
|
|
|
box-shadow .3s $--n-ease-in-out-cubic-bezier;
|
|
|
|
@include input-group-label-size-mixin("small");
|
|
|
|
@include input-group-label-size-mixin("medium");
|
|
|
|
@include input-group-label-size-mixin("large");
|
|
|
|
}
|
|
|
|
background-color: $--input-group-label-background-color;
|
|
|
|
color: map-get($--input-color, 'default');
|
|
|
|
box-shadow: map-get($--input-box-shadow, 'default');
|
|
|
|
}
|
2019-11-06 13:48:05 +08:00
|
|
|
@include as-form-item {
|
|
|
|
@include with-status(error) {
|
|
|
|
@include b(input) {
|
2020-03-04 23:38:19 +08:00
|
|
|
@include m(stateful) {
|
|
|
|
box-shadow: map-get($--input-box-shadow, 'error-default');
|
2020-02-08 23:19:30 +08:00
|
|
|
@include e(border-mask) {
|
2020-03-04 23:38:19 +08:00
|
|
|
border-color: map-get($--input-border-mask-border-color, 'error-default');
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
2020-03-04 23:38:19 +08:00
|
|
|
&:hover {
|
|
|
|
@include e(border-mask) {
|
|
|
|
border-color: map-get($--input-border-mask-border-color, 'error-hover');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include m(focus) {
|
|
|
|
@include e(border-mask) {
|
|
|
|
border-color: map-get($--input-border-mask-border-color, 'error-focus');
|
|
|
|
box-shadow: map-get($--input-border-mask-box-shadow, 'error-focus');
|
|
|
|
}
|
2020-03-05 13:46:03 +08:00
|
|
|
background-color: map-get($--input-background-color, 'error-focus');
|
2020-03-04 23:38:19 +08:00
|
|
|
}
|
|
|
|
@include e(input, textarea) {
|
|
|
|
caret-color: map-get($--input-caret-color, 'error');
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
2019-11-06 13:48:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
@include once {
|
|
|
|
@include b(input-group) {
|
|
|
|
display: inline-flex;
|
|
|
|
width: 100%;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
vertical-align: bottom;
|
|
|
|
& > {
|
|
|
|
@include b(input) {
|
|
|
|
&:not(:last-child) {
|
2020-02-08 23:19:30 +08:00
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
2020-02-09 19:21:31 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
&:not(:first-child) {
|
2020-02-08 23:19:30 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
2020-02-09 19:21:31 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
|
|
|
margin-left: -1px!important;
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
@include b(input-number) {
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
@include e(input, add-button, border-mask) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
2020-03-07 22:47:22 +08:00
|
|
|
@include b(input-number-button-boundary) {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
@include e(input, minus-button, border-mask) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
2020-03-07 22:47:22 +08:00
|
|
|
@include b(input-number-button-boundary) {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
}
|
|
|
|
}
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
@include b(button) {
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:not(:first-child) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
* {
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
& > {
|
|
|
|
@include b(input) {
|
2020-02-09 14:14:32 +08:00
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
2020-02-09 19:21:31 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
2020-02-09 14:14:32 +08:00
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection) {
|
|
|
|
@include b(base-selection-label) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection-tags) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection-border-mask) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-right-radius: 0!important;
|
|
|
|
border-bottom-right-radius: 0!important;
|
|
|
|
}
|
2020-02-09 14:14:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-09 19:21:31 +08:00
|
|
|
&:not(:first-child) {
|
2020-02-13 20:24:09 +08:00
|
|
|
margin-left: -1px!important;
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
& > {
|
|
|
|
@include b(input) {
|
2020-02-09 14:14:32 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
2020-02-09 19:21:31 +08:00
|
|
|
@include e(border-mask) {
|
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
2020-02-09 14:14:32 +08:00
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection) {
|
|
|
|
@include b(base-selection-label) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection-tags) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
2020-02-14 23:01:06 +08:00
|
|
|
@include b(base-selection-border-mask) {
|
2020-02-09 19:21:31 +08:00
|
|
|
border-top-left-radius: 0!important;
|
|
|
|
border-bottom-left-radius: 0!important;
|
|
|
|
}
|
2020-02-09 14:14:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-08 23:19:30 +08:00
|
|
|
}
|
|
|
|
}
|
2019-06-14 14:46:13 +08:00
|
|
|
}
|