scss 文件调整

Change-Id: Ifb191e4a46dac563eda6d1fd131b999810d0f06f
This commit is contained in:
2betop 2020-11-03 12:05:42 +08:00
parent 39f016f6d8
commit 3d701007c1
7 changed files with 107 additions and 301 deletions

View File

@ -33,7 +33,7 @@
&.is-disabled {
background: $gray200;
>&-input {
> .#{$ns}DateRangePicker-input {
color: $text--muted-color;
}
}
@ -110,7 +110,7 @@
margin-top: $gap-sm;
}
.#{$ns}DateRangeControl:not(.is-inline)>.#{$ns}DateRangePicker {
.#{$ns}DateRangeControl:not(.is-inline) > .#{$ns}DateRangePicker {
display: flex;
}
@ -139,4 +139,4 @@
border: $DatePicker-borderWidth solid $DatePicker-borderColor;
background-color: $DatePicker-bg;
border-radius: $DatePicker-borderRadius;
}
}

View File

@ -33,7 +33,7 @@
&.is-disabled {
background: $gray200;
> &-input {
> .#{$ns}DatePicker-input {
color: $text--muted-color;
}
}

View File

@ -34,7 +34,7 @@
&.is-disabled {
background: $gray200;
> &-input {
> #{$ns}LocationPicker-input {
color: $text--muted-color;
}
}

99
scss/themes/_common.scss Normal file
View File

@ -0,0 +1,99 @@
@import '../mixins';
@import '../base/reset';
@import '../base/normalize';
@import '../base/typography';
@import '../layout/layout';
@import '../layout/grid';
@import '../layout/aside';
@import '../layout/hbox';
@import '../layout/vbox';
@import '../components/button'; // 这个要放在最前面
@import '../components/modal';
@import '../components/drawer';
@import '../components/tooltip';
@import '../components/tpl';
@import '../components/popover';
@import '../components/toast';
@import '../components/alert';
@import '../components/array-input';
@import '../components/tabs';
@import '../components/nav';
@import '../components/page';
@import '../components/remark';
@import '../components/chart';
@import '../components/video';
@import '../components/audio';
@import '../components/panel';
@import '../components/service';
@import '../components/spinner';
@import '../components/button-group';
@import '../components/dropdown';
@import '../components/each';
@import '../components/collapse';
@import '../components/color';
@import '../components/condition-builder';
@import '../components/context-menu';
@import '../components/wizard';
@import '../components/crud';
@import '../components/table';
@import '../components/list';
@import '../components/cards';
@import '../components/card';
@import '../components/quick-edit';
@import '../components/popoverable';
@import '../components/progress';
@import '../components/copyable';
@import '../components/divider';
@import '../components/pagination';
@import '../components/wrapper';
@import '../components/status';
@import '../components/carousel';
@import '../components/image-gallery';
@import '../components/images';
@import '../components/input-box';
@import '../components/result-box';
@import '../components/search-box';
@import '../components/list-menu';
@import '../components/json';
@import '../components/form/fieldset';
@import '../components/form/group';
@import '../components/form/input-group';
@import '../components/form/text';
@import '../components/form/textarea';
@import '../components/form/checks';
@import '../components/form/city';
@import '../components/form/switch';
@import '../components/form/number';
@import '../components/form/select';
@import '../components/form/result-list';
@import '../components/form/list';
@import '../components/form/location';
@import '../components/form/matrix';
@import '../components/form/color';
@import '../components/form/date';
@import '../components/form/date-range';
@import '../components/form/image';
@import '../components/form/file';
@import '../components/form/editor';
@import '../components/form/rich-text';
@import '../components/form/tinymce';
@import '../components/form/range';
@import '../components/form/repeat';
@import '../components/form/tree';
@import '../components/form/tree-select';
@import '../components/form/combo';
@import '../components/form/sub-form';
@import '../components/form/chained-select';
@import '../components/form/picker';
@import '../components/form/qr-code';
@import '../components/form/tag';
@import '../components/form/rating';
@import '../components/form/transfer';
@import '../components/form/nested-select';
@import '../components/form/icon-picker';
@import '../components/form/form';
@import '../utilities';

View File

@ -2,102 +2,4 @@
// 更新时间: 2019-08-14 14:31:00
@import './cxd-variables';
@import '../mixins';
@import '../base/reset';
@import '../base/normalize';
@import '../base/typography';
@import '../layout/layout';
@import '../layout/grid';
@import '../layout/aside';
@import '../layout/hbox';
@import '../layout/vbox';
@import '../components/button'; // 这个要放在最前面
@import '../components/modal';
@import '../components/drawer';
@import '../components/tooltip';
@import '../components/tpl';
@import '../components/popover';
@import '../components/toast';
@import '../components/alert';
@import '../components/array-input';
@import '../components/tabs';
@import '../components/nav';
@import '../components/page';
@import '../components/remark';
@import '../components/chart';
@import '../components/video';
@import '../components/audio';
@import '../components/panel';
@import '../components/service';
@import '../components/spinner';
@import '../components/button-group';
@import '../components/dropdown';
@import '../components/each';
@import '../components/collapse';
@import '../components/color';
@import '../components/condition-builder';
@import '../components/context-menu';
@import '../components/wizard';
@import '../components/crud';
@import '../components/table';
@import '../components/list';
@import '../components/cards';
@import '../components/card';
@import '../components/quick-edit';
@import '../components/popoverable';
@import '../components/progress';
@import '../components/copyable';
@import '../components/divider';
@import '../components/pagination';
@import '../components/wrapper';
@import '../components/status';
@import '../components/carousel';
@import '../components/image-gallery';
@import '../components/images';
@import '../components/input-box';
@import '../components/result-box';
@import '../components/search-box';
@import '../components/list-menu';
@import '../components/json';
@import '../components/form/fieldset';
@import '../components/form/group';
@import '../components/form/input-group';
@import '../components/form/text';
@import '../components/form/textarea';
@import '../components/form/checks';
@import '../components/form/city';
@import '../components/form/switch';
@import '../components/form/number';
@import '../components/form/select';
@import '../components/form/result-list';
@import '../components/form/list';
@import '../components/form/location';
@import '../components/form/matrix';
@import '../components/form/color';
@import '../components/form/date';
@import '../components/form/date-range';
@import '../components/form/image';
@import '../components/form/file';
@import '../components/form/editor';
@import '../components/form/rich-text';
@import '../components/form/tinymce';
@import '../components/form/range';
@import '../components/form/repeat';
@import '../components/form/tree';
@import '../components/form/tree-select';
@import '../components/form/combo';
@import '../components/form/sub-form';
@import '../components/form/chained-select';
@import '../components/form/picker';
@import '../components/form/qr-code';
@import '../components/form/tag';
@import '../components/form/rating';
@import '../components/form/transfer';
@import '../components/form/nested-select';
@import '../components/form/icon-picker';
@import '../components/form/form';
@import '../utilities';
@import './common';

View File

@ -1,101 +1,3 @@
@import './dark-variables';
@import '../mixins';
@import '../base/reset';
@import '../base/normalize';
@import '../base/typography';
@import '../layout/layout';
@import '../layout/grid';
@import '../layout/aside';
@import '../layout/hbox';
@import '../layout/vbox';
@import '../components/button'; // 这个要放在最前面
@import '../components/modal';
@import '../components/drawer';
@import '../components/tooltip';
@import '../components/tpl';
@import '../components/popover';
@import '../components/toast';
@import '../components/alert';
@import '../components/array-input';
@import '../components/tabs';
@import '../components/nav';
@import '../components/page';
@import '../components/remark';
@import '../components/chart';
@import '../components/video';
@import '../components/audio';
@import '../components/panel';
@import '../components/service';
@import '../components/spinner';
@import '../components/button-group';
@import '../components/dropdown';
@import '../components/each';
@import '../components/collapse';
@import '../components/color';
@import '../components/condition-builder';
@import '../components/context-menu';
@import '../components/wizard';
@import '../components/crud';
@import '../components/table';
@import '../components/list';
@import '../components/cards';
@import '../components/card';
@import '../components/quick-edit';
@import '../components/popoverable';
@import '../components/progress';
@import '../components/copyable';
@import '../components/divider';
@import '../components/pagination';
@import '../components/wrapper';
@import '../components/status';
@import '../components/carousel';
@import '../components/image-gallery';
@import '../components/images';
@import '../components/input-box';
@import '../components/result-box';
@import '../components/search-box';
@import '../components/list-menu';
@import '../components/json';
@import '../components/form/fieldset';
@import '../components/form/group';
@import '../components/form/input-group';
@import '../components/form/text';
@import '../components/form/textarea';
@import '../components/form/checks';
@import '../components/form/city';
@import '../components/form/switch';
@import '../components/form/number';
@import '../components/form/select';
@import '../components/form/result-list';
@import '../components/form/list';
@import '../components/form/location';
@import '../components/form/matrix';
@import '../components/form/color';
@import '../components/form/date';
@import '../components/form/date-range';
@import '../components/form/image';
@import '../components/form/file';
@import '../components/form/editor';
@import '../components/form/rich-text';
@import '../components/form/tinymce';
@import '../components/form/range';
@import '../components/form/repeat';
@import '../components/form/tree';
@import '../components/form/tree-select';
@import '../components/form/combo';
@import '../components/form/sub-form';
@import '../components/form/chained-select';
@import '../components/form/picker';
@import '../components/form/qr-code';
@import '../components/form/tag';
@import '../components/form/rating';
@import '../components/form/transfer';
@import '../components/form/nested-select';
@import '../components/form/icon-picker';
@import '../components/form/form';
@import '../utilities';
@import './common';

View File

@ -1,101 +1,4 @@
// 默认主题
@import './default-variables';
@import '../mixins';
@import '../base/reset';
@import '../base/normalize';
@import '../base/typography';
@import '../layout/layout';
@import '../layout/grid';
@import '../layout/aside';
@import '../layout/hbox';
@import '../layout/vbox';
@import '../components/button'; // 这个要放在最前面
@import '../components/modal';
@import '../components/drawer';
@import '../components/tooltip';
@import '../components/tpl';
@import '../components/popover';
@import '../components/toast';
@import '../components/alert';
@import '../components/array-input';
@import '../components/tabs';
@import '../components/nav';
@import '../components/page';
@import '../components/remark';
@import '../components/chart';
@import '../components/video';
@import '../components/audio';
@import '../components/panel';
@import '../components/service';
@import '../components/spinner';
@import '../components/button-group';
@import '../components/dropdown';
@import '../components/each';
@import '../components/collapse';
@import '../components/color';
@import '../components/condition-builder';
@import '../components/context-menu';
@import '../components/wizard';
@import '../components/crud';
@import '../components/table';
@import '../components/list';
@import '../components/cards';
@import '../components/card';
@import '../components/quick-edit';
@import '../components/popoverable';
@import '../components/progress';
@import '../components/copyable';
@import '../components/divider';
@import '../components/pagination';
@import '../components/wrapper';
@import '../components/status';
@import '../components/carousel';
@import '../components/image-gallery';
@import '../components/images';
@import '../components/input-box';
@import '../components/result-box';
@import '../components/search-box';
@import '../components/list-menu';
@import '../components/json';
@import '../components/form/fieldset';
@import '../components/form/group';
@import '../components/form/input-group';
@import '../components/form/text';
@import '../components/form/textarea';
@import '../components/form/checks';
@import '../components/form/city';
@import '../components/form/switch';
@import '../components/form/number';
@import '../components/form/select';
@import '../components/form/result-list';
@import '../components/form/list';
@import '../components/form/location';
@import '../components/form/matrix';
@import '../components/form/color';
@import '../components/form/date';
@import '../components/form/date-range';
@import '../components/form/image';
@import '../components/form/file';
@import '../components/form/editor';
@import '../components/form/rich-text';
@import '../components/form/tinymce';
@import '../components/form/range';
@import '../components/form/repeat';
@import '../components/form/tree';
@import '../components/form/tree-select';
@import '../components/form/combo';
@import '../components/form/sub-form';
@import '../components/form/chained-select';
@import '../components/form/picker';
@import '../components/form/qr-code';
@import '../components/form/tag';
@import '../components/form/rating';
@import '../components/form/transfer';
@import '../components/form/nested-select';
@import '../components/form/icon-picker';
@import '../components/form/form';
@import '../utilities';
@import './common';