mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[Improvement] Progress: support gradient color (#1098)
This commit is contained in:
@@ -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%);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user