mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +08:00
test: fix lint
This commit is contained in:
parent
ab8fc12fa7
commit
578aaad7f2
@ -30,7 +30,7 @@
|
|||||||
top: 100%;
|
top: 100%;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
border: 4px solid;
|
border: 4px solid;
|
||||||
transform: scaleY(0.75);
|
transform: scaleY(0.75);
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
@ -66,7 +66,7 @@
|
|||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
.@{ribbon-prefix-cls}-corner {
|
.@{ribbon-prefix-cls}-corner {
|
||||||
right: 0;
|
right: 0;
|
||||||
border-color: currentColor transparent transparent currentColor;
|
border-color: currentcolor transparent transparent currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,7 +75,7 @@
|
|||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
.@{ribbon-prefix-cls}-corner {
|
.@{ribbon-prefix-cls}-corner {
|
||||||
left: 0;
|
left: 0;
|
||||||
border-color: currentColor currentColor transparent transparent;
|
border-color: currentcolor currentcolor transparent transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,10 +42,10 @@
|
|||||||
.@{ribbon-prefix-cls}-corner {
|
.@{ribbon-prefix-cls}-corner {
|
||||||
right: unset;
|
right: unset;
|
||||||
left: 0;
|
left: 0;
|
||||||
border-color: currentColor currentColor transparent transparent;
|
border-color: currentcolor currentcolor transparent transparent;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
border-color: currentColor currentColor transparent transparent;
|
border-color: currentcolor currentcolor transparent transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -57,10 +57,10 @@
|
|||||||
.@{ribbon-prefix-cls}-corner {
|
.@{ribbon-prefix-cls}-corner {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: unset;
|
left: unset;
|
||||||
border-color: currentColor transparent transparent currentColor;
|
border-color: currentcolor transparent transparent currentcolor;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
border-color: currentColor transparent transparent currentColor;
|
border-color: currentcolor transparent transparent currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -153,7 +153,7 @@
|
|||||||
&.@{iconfont-css-prefix}-plus,
|
&.@{iconfont-css-prefix}-plus,
|
||||||
&.@{iconfont-css-prefix}-minus {
|
&.@{iconfont-css-prefix}-minus {
|
||||||
> svg {
|
> svg {
|
||||||
shape-rendering: optimizeSpeed;
|
shape-rendering: optimizespeed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
}
|
}
|
||||||
// http://stackoverflow.com/a/17253457
|
// http://stackoverflow.com/a/17253457
|
||||||
> a:only-child {
|
> a:only-child {
|
||||||
color: currentColor;
|
color: currentcolor;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: @picker-arrow-size;
|
width: @picker-arrow-size;
|
||||||
height: @picker-arrow-size;
|
height: @picker-arrow-size;
|
||||||
border: 0 solid currentColor;
|
border: 0 solid currentcolor;
|
||||||
border-width: 1.5px 0 0 1.5px;
|
border-width: 1.5px 0 0 1.5px;
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
@ -116,7 +116,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: @picker-arrow-size;
|
width: @picker-arrow-size;
|
||||||
height: @picker-arrow-size;
|
height: @picker-arrow-size;
|
||||||
border: 0 solid currentColor;
|
border: 0 solid currentcolor;
|
||||||
border-width: 1.5px 0 0 1.5px;
|
border-width: 1.5px 0 0 1.5px;
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
@ -315,7 +315,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 6px;
|
width: 6px;
|
||||||
height: 1.5px;
|
height: 1.5px;
|
||||||
background-color: currentColor;
|
background-color: currentcolor;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
transition: background @animation-duration-slow @ease-in-out,
|
transition: background @animation-duration-slow @ease-in-out,
|
||||||
transform @animation-duration-slow @ease-in-out, top @animation-duration-slow @ease-in-out,
|
transform @animation-duration-slow @ease-in-out, top @animation-duration-slow @ease-in-out,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
|
vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizelegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
|
||||||
|
@ -508,13 +508,13 @@
|
|||||||
&:focus,
|
&:focus,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active {
|
&:active {
|
||||||
border-color: currentColor;
|
border-color: currentcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before,
|
&::before,
|
||||||
&::after {
|
&::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: currentColor;
|
background: currentcolor;
|
||||||
transition: transform 0.3s ease-out;
|
transition: transform 0.3s ease-out;
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
@ -171,7 +171,7 @@
|
|||||||
|
|
||||||
&&-active &-btn {
|
&&-active &-btn {
|
||||||
color: @tabs-highlight-color;
|
color: @tabs-highlight-color;
|
||||||
text-shadow: 0 0 0.25px currentColor;
|
text-shadow: 0 0 0.25px currentcolor;
|
||||||
}
|
}
|
||||||
|
|
||||||
&&-disabled {
|
&&-disabled {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/* eslint-disable no-console */
|
||||||
const fetch = require('isomorphic-fetch');
|
const fetch = require('isomorphic-fetch');
|
||||||
const semver = require('semver');
|
const semver = require('semver');
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
|
Loading…
Reference in New Issue
Block a user