[Improvement] Progress: support gradient color (#1098)

This commit is contained in:
neverland
2018-05-18 14:28:33 +08:00
committed by GitHub
parent e9508262b7
commit eee44f0d7c
8 changed files with 87 additions and 56 deletions

View File

@@ -10,20 +10,22 @@
left: 0;
height: 100%;
position: absolute;
border-radius: 4px;
border-radius: inherit;
}
&__pivot {
top: 50%;
min-width: 28px;
right: 0;
min-width: 2em;
padding: 0 5px;
font-size: 8px;
margin-top: -6px;
font-size: 10px;
position: absolute;
border-radius: 6px;
line-height: 12px;
line-height: 1.6;
text-align: center;
border-radius: 1em;
word-break: keep-all;
box-sizing: border-box;
background-color: $gray-light;
transform: translate(50%, -50%);
}
}