mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +08:00
fix: lint:style
This commit is contained in:
parent
872ada07e7
commit
649e8127c5
@ -61,9 +61,9 @@
|
||||
}
|
||||
|
||||
.@{ant-prefix}-col {
|
||||
position: relative;
|
||||
// Prevent columns from collapsing when empty
|
||||
min-height: 1px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.make-grid-columns();
|
||||
|
@ -40,6 +40,7 @@
|
||||
background-color: @input-disabled-bg;
|
||||
cursor: not-allowed;
|
||||
opacity: 1;
|
||||
|
||||
&:hover {
|
||||
.hover(@input-border-color);
|
||||
}
|
||||
@ -116,6 +117,7 @@
|
||||
|
||||
>[class*='col-'] {
|
||||
padding-right: 8px;
|
||||
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
@ -147,10 +149,12 @@
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
text-align: inherit;
|
||||
|
||||
&:focus {
|
||||
z-index: 1; // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
z-index: 1;
|
||||
border-right-width: 1px;
|
||||
@ -229,6 +233,7 @@
|
||||
&-addon:first-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
&-addon:last-child {
|
||||
border-left: 0;
|
||||
}
|
||||
@ -280,9 +285,11 @@
|
||||
>.@{inputClass} {
|
||||
&:not(:first-child):not(:last-child) {
|
||||
border-right-width: @border-width-base;
|
||||
|
||||
&:hover {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
z-index: 1;
|
||||
}
|
||||
@ -315,9 +322,11 @@
|
||||
&>.@{ant-prefix}-time-picker .@{ant-prefix}-time-picker-input {
|
||||
border-right-width: @border-width-base;
|
||||
border-radius: 0;
|
||||
|
||||
&:hover {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
z-index: 1;
|
||||
}
|
||||
@ -383,6 +392,7 @@
|
||||
color: @input-color;
|
||||
line-height: 0;
|
||||
transform: translateY(-50%);
|
||||
|
||||
:not(.anticon) {
|
||||
line-height: @line-height-base;
|
||||
}
|
||||
@ -403,6 +413,7 @@
|
||||
.@{inputClass}:not(:last-child) {
|
||||
padding-right: @input-padding-horizontal-base + @input-affix-width;
|
||||
}
|
||||
|
||||
&.@{inputClass}-affix-wrapper-with-clear-btn .@{inputClass}:not(:last-child) {
|
||||
padding-right: @input-padding-horizontal-base + @input-affix-with-clear-btn-width;
|
||||
}
|
||||
|
@ -34,10 +34,10 @@
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
background-color: @progress-remaining-color;
|
||||
border-radius: @progress-radius;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&-circle-trail {
|
||||
|
@ -69,22 +69,22 @@
|
||||
display: block;
|
||||
width: @tooltip-arrow-rotate-width;
|
||||
height: @tooltip-arrow-rotate-width;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
|
||||
&::before {
|
||||
width: @tooltip-arrow-width;
|
||||
height: @tooltip-arrow-width;
|
||||
content: '';
|
||||
display: block;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: block;
|
||||
width: @tooltip-arrow-width;
|
||||
height: @tooltip-arrow-width;
|
||||
margin: auto;
|
||||
background-color: @tooltip-bg;
|
||||
position: absolute;
|
||||
content: '';
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
@ -95,8 +95,8 @@
|
||||
bottom: @tooltip-distance - @tooltip-arrow-rotate-width;
|
||||
|
||||
&::before {
|
||||
transform: translateY(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
box-shadow: @tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
||||
transform: translateY(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
}
|
||||
}
|
||||
|
||||
@ -119,8 +119,8 @@
|
||||
left: @tooltip-distance - @tooltip-arrow-rotate-width;
|
||||
|
||||
&::before {
|
||||
transform: translateX(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
box-shadow: -@tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
||||
transform: translateX(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
}
|
||||
}
|
||||
|
||||
@ -143,8 +143,8 @@
|
||||
right: @tooltip-distance - @tooltip-arrow-rotate-width;
|
||||
|
||||
&::before {
|
||||
transform: translateX(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
box-shadow: @tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
||||
transform: translateX(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
}
|
||||
}
|
||||
|
||||
@ -167,8 +167,8 @@
|
||||
top: @tooltip-distance - @tooltip-arrow-rotate-width;
|
||||
|
||||
&::before {
|
||||
transform: translateY(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
box-shadow: -@tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
||||
transform: translateY(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user