Unified border radius, close #4772 (#4773)

This commit is contained in:
偏右 2017-02-08 14:21:29 +08:00 committed by ddcat1115
parent f9ee19ae05
commit 75a4b06e44
8 changed files with 5 additions and 10 deletions

View File

@ -4,7 +4,7 @@
.@{card-prefix-cls} { .@{card-prefix-cls} {
background: @component-background; background: @component-background;
border-radius: @border-radius-sm; border-radius: @border-radius-base;
font-size: @font-size-base; font-size: @font-size-base;
position: relative; position: relative;
overflow: hidden; overflow: hidden;

View File

@ -28,7 +28,7 @@
width: 14px; width: 14px;
height: 14px; height: 14px;
border: @border-width-base @border-style-base @border-color-base; border: @border-width-base @border-style-base @border-color-base;
border-radius: 3px; border-radius: @border-radius-sm;
background-color: #fff; background-color: #fff;
transition: all .3s; transition: all .3s;

View File

@ -292,7 +292,7 @@
.@{calendar-prefix-cls}-ok-btn { .@{calendar-prefix-cls}-ok-btn {
.btn; .btn;
.btn-primary; .btn-primary;
.button-size(@btn-padding-sm; @font-size-base; @border-radius-sm); .button-size(@btn-padding-sm; @font-size-base; @border-radius-base);
position: absolute; position: absolute;
bottom: 8px; bottom: 8px;
right: 9px; right: 9px;

View File

@ -85,7 +85,6 @@
.@{calendar-prefix-cls}-input, .@{calendar-prefix-cls}-input,
.@{calendar-timepicker-prefix-cls}-input { .@{calendar-timepicker-prefix-cls}-input {
.input; .input;
border-radius: @border-radius-sm;
height: @input-height-sm; height: @input-height-sm;
border: 0; border: 0;
box-shadow: none; box-shadow: none;

View File

@ -12,7 +12,6 @@
.input-sm() { .input-sm() {
padding: @input-padding-vertical-sm @input-padding-horizontal; padding: @input-padding-vertical-sm @input-padding-horizontal;
height: @input-height-sm; height: @input-height-sm;
border-radius: @border-radius-sm;
} }
// input status // input status

View File

@ -177,9 +177,6 @@
} }
&-sm { &-sm {
.@{select-prefix-cls}-selection {
border-radius: @border-radius-sm;
}
.@{select-prefix-cls}-selection--single { .@{select-prefix-cls}-selection--single {
height: @input-height-sm; height: @input-height-sm;
} }

View File

@ -91,7 +91,7 @@
// Buttons // Buttons
@btn-font-weight : 500; @btn-font-weight : 500;
@btn-border-radius-base : @border-radius-base; @btn-border-radius-base : @border-radius-base;
@btn-border-radius-sm : @border-radius-sm; @btn-border-radius-sm : @border-radius-base;
@btn-primary-color : #fff; @btn-primary-color : #fff;
@btn-primary-bg : @primary-color; @btn-primary-bg : @primary-color;

View File

@ -209,7 +209,7 @@
height: 48px; height: 48px;
display: block; display: block;
overflow: hidden; overflow: hidden;
border-radius: @border-radius-sm; border-radius: @border-radius-base;
} }
.@{upload-item}-thumbnail.@{iconfont-css-prefix}:before { .@{upload-item}-thumbnail.@{iconfont-css-prefix}:before {