use @font-size-base (#1752)

This commit is contained in:
afc163 2016-11-08 20:57:07 +08:00
parent 0a48c62dcb
commit e4974ac72a
25 changed files with 46 additions and 46 deletions

View File

@ -53,7 +53,7 @@
}
& > & {
font-size: 12px;
font-size: @font-size-base;
}
}
}

View File

@ -22,7 +22,7 @@
line-height: 18px;
text-align: center;
padding: 0 6px;
font-size: 12px;
font-size: @font-size-base;
white-space: nowrap;
transform-origin: -10% center;
z-index: 10;

View File

@ -54,7 +54,7 @@
z-index: 2;
background: #fff;
top: 50%;
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
width: 12px;
height: 12px;
@ -95,7 +95,7 @@
}
}
&-menus {
font-size: 12px;
font-size: @font-size-base;
background: #fff;
position: absolute;
z-index: @zindex-dropdown;

View File

@ -281,7 +281,7 @@
.@{calendar-prefix-cls}-clear-btn:after {
.iconfont-font("\e62e");
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
display: inline-block;
line-height: 1;

View File

@ -44,7 +44,7 @@
right: 7px;
background: #fff;
top: 50%;
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
width: 14px;
height: 14px;
@ -75,7 +75,7 @@
&:after {
content: "\e6bb";
font-family: "anticon";
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
display: inline-block;
line-height: 1;

View File

@ -16,7 +16,7 @@
position: relative;
outline: none;
list-style: none;
font-size: 12px;
font-size: @font-size-base;
text-align: left;
background-color: #fff;
background-clip: padding-box;
@ -45,7 +45,7 @@
&-select {
float: left;
font-size: 12px;
font-size: @font-size-base;
border: 1px solid @border-color-split;
border-width: 0 1px;
margin-left: -1px;

View File

@ -9,7 +9,7 @@
top: -9999px;
z-index: @zindex-dropdown;
display: block;
font-size: 12px;
font-size: @font-size-base;
font-weight: normal;
line-height: 1.5;
@ -53,7 +53,7 @@
padding: 7px 16px;
margin: 0;
clear: both;
font-size: 12px;
font-size: @font-size-base;
font-weight: normal;
color: @text-color;
white-space: nowrap;
@ -154,7 +154,7 @@
}
.@{dropdown-prefix-cls}-link {
font-size: 12px;
font-size: @font-size-base;
.@{iconfont-css-prefix}-down {
.iconfont-size-under-12px(9px);
}

View File

@ -15,7 +15,7 @@
margin: 0;
padding: 0;
line-height: 28px;
font-size: 12px;
font-size: @font-size-base;
height: 28px;
display: inline-block;
vertical-align: middle;

View File

@ -26,7 +26,7 @@
&-item-group-title {
color: @text-color-secondary;
font-size: 12px;
font-size: @font-size-base;
line-height: 1.5;
padding: 8px 16px;
}
@ -275,7 +275,7 @@
& > .@{menu-prefix-cls}-item,
& > .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {
padding: 0px 16px 0 28px;
font-size: 12px;
font-size: @font-size-base;
line-height: 42px;
height: 42px;
}

View File

@ -3,7 +3,7 @@
@message-prefix-cls: ~"@{ant-prefix}-message";
.@{message-prefix-cls} {
font-size: 12px;
font-size: @font-size-base;
position: fixed;
z-index: @zindex-message;
width: 100%;

View File

@ -86,7 +86,7 @@
&-body {
padding: 16px;
font-size: 12px;
font-size: @font-size-base;
line-height: 1.5;
}

View File

@ -75,7 +75,7 @@
&-message {
padding: 8px 0 16px;
font-size: 12px;
font-size: @font-size-base;
color: @text-color;
> .@{iconfont-css-prefix} {
color: @warning-color;

View File

@ -8,7 +8,7 @@
&-line {
width: 100%;
font-size: 12px;
font-size: @font-size-base;
position: relative;
}
@ -47,7 +47,7 @@
display: inline-block;
font-family: tahoma;
.@{iconfont-css-prefix} {
font-size: 12px;
font-size: @font-size-base;
}
}

View File

@ -17,7 +17,7 @@
z-index: 1;
background: #fff;
top: 50%;
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
width: 12px;
height: 12px;

View File

@ -72,7 +72,7 @@
top: 10px;
left: 0;
width: 100%;
font-size: 12px;
font-size: @font-size-base;
z-index: 3;
}

View File

@ -160,7 +160,7 @@
color: @primary-color;
position: relative;
&.@{iconfont-css-prefix} {
font-size: 12px;
font-size: @font-size-base;
&-cross,
&-check {
font-weight: bold;
@ -190,7 +190,7 @@
}
}
.@{steps-prefix-cls}-description {
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
}
.@{steps-prefix-cls}-tail {
@ -227,7 +227,7 @@
line-height: 15px;
text-align: center;
border-radius: 18px;
font-size: 12px;
font-size: @font-size-base;
margin-right: 10px;
> .@{steps-prefix-cls}-icon.@{iconfont-css-prefix} {
.iconfont-size-under-12px(9px);
@ -238,13 +238,13 @@
margin-top: 0;
}
.@{steps-prefix-cls}-title {
font-size: 12px;
font-size: @font-size-base;
margin-bottom: 4px;
color: @text-color;
font-weight: bold;
}
.@{steps-prefix-cls}-description {
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
}
.@{steps-prefix-cls}-tail {

View File

@ -21,7 +21,7 @@
&-inner {
color: #fff;
font-size: 12px;
font-size: @font-size-base;
margin-left: 24px;
margin-right: 6px;
display: block;

View File

@ -33,7 +33,7 @@
.@{iconfont-css-prefix}-filter {
margin-left: 4px;
font-size: 12px;
font-size: @font-size-base;
cursor: pointer;
color: #aaa;
transition: all 0.3s ease;
@ -292,7 +292,7 @@
text-align: center;
position: relative;
z-index: 2;
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
.@{iconfont-css-prefix} {
margin-right: 4px;

View File

@ -181,7 +181,7 @@
}
&-mini &-nav-container {
font-size: 12px;
font-size: @font-size-base;
}
&-mini &-tab {
@ -376,7 +376,7 @@
cursor: pointer;
border-radius: 3px;
border: 1px solid @border-color-base;
font-size: 12px;
font-size: @font-size-base;
.iconfont-size-under-12px(10px);
color: @text-color-secondary;
transition: color 0.3s ease;

View File

@ -14,7 +14,7 @@
position: relative;
outline: none;
list-style: none;
font-size: 12px;
font-size: @font-size-base;
text-align: left;
background-color: #fff;
border-radius: @border-radius-base;
@ -60,7 +60,7 @@
}
&-clear-btn:after {
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
display: inline-block;
line-height: 1;
@ -79,7 +79,7 @@
&-select {
float: left;
font-size: 12px;
font-size: @font-size-base;
border-left: 1px solid @border-color-split;
box-sizing: border-box;
width: 56px;
@ -218,7 +218,7 @@
&:after {
content: "\e641";
font-family: "anticon";
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
display: inline-block;
line-height: 1;

View File

@ -59,7 +59,7 @@
height: auto;
border-radius: 0;
padding: 3px 0;
font-size: 12px;
font-size: @font-size-base;
transform: translateY(-50%);
}

View File

@ -10,7 +10,7 @@
line-height: @line-height-base;
&-list {
font-size: 12px;
font-size: @font-size-base;
border: 1px solid @border-color-base;
display: inline-block;
border-radius: @border-radius-base;
@ -37,7 +37,7 @@
font-size: 14px;
.@{iconfont-css-prefix} {
transition: all .3s;
font-size: 12px;
font-size: @font-size-base;
color: #ccc;
&:hover {
color: @text-color-secondary;
@ -65,7 +65,7 @@
}
&-body {
font-size: 12px;
font-size: @font-size-base;
position: relative;
height: 100%;

View File

@ -11,7 +11,7 @@
.@{select-tree-prefix-cls} {
margin: 0;
padding: 8px;
font-size: 12px;
font-size: @font-size-base;
li {
padding: 0;
margin: 8px 0;

View File

@ -9,7 +9,7 @@
.@{tree-prefix-cls} {
margin: 0;
padding: 5px;
font-size: 12px;
font-size: @font-size-base;
li {
padding: 0;
margin: 7px 0;

View File

@ -94,7 +94,7 @@
font-size: 14px;
}
p.@{upload-prefix-cls}-hint {
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
}
.@{iconfont-css-prefix}-plus {
@ -116,7 +116,7 @@
&-item {
overflow: hidden;
margin-top: 8px;
font-size: 12px;
font-size: @font-size-base;
&-info {
height: 22px;
@ -126,7 +126,7 @@
.@{iconfont-css-prefix}-paper-clip {
margin-right: 4px;
font-size: 12px;
font-size: @font-size-base;
color: @text-color-secondary;
}
.@{iconfont-css-prefix}-cross {
@ -164,7 +164,7 @@
padding: 0 8px 0 20px;
margin-top: -2px;
margin-bottom: 1px;
font-size: 12px;
font-size: @font-size-base;
.@{ant-prefix}-progress-line-inner {
vertical-align: middle;
}