Update Segment styles
Notably, there's a nice transition now
This commit is contained in:
parent
3fbd4aac69
commit
c8fccc9a13
1 changed files with 6 additions and 1 deletions
|
|
@ -22,13 +22,18 @@
|
||||||
|
|
||||||
& label {
|
& label {
|
||||||
border-radius: $unit * 3;
|
border-radius: $unit * 3;
|
||||||
display: block;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: all 0.15s ease-in-out;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue