Commit c57e1dbc authored by pacome's avatar pacome

[client/timeserie] a better style for level switch on index

parent 17f03123
......@@ -207,6 +207,7 @@ ul.group__list {
.switch {
width: 100%;
margin: @margin 0;
height: 2.5em;
border-radius: 2.5em;
display: flex;
......@@ -215,33 +216,36 @@ ul.group__list {
background-color: @bgLightColor;
border: 2px solid @greyMedium;
cursor: default;
box-sizing: border-box;
.label {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
height: 2.5em;
color: @disabledColor;
height: calc(~'2.5em - 4px');
font-weight: @fwSemiBold;
color: @inactiveColor;
border-radius: 2.5em;
border: 2px solid transparent;
box-sizing: border-box;
&.active {
color: @activeColor;
background-color: @bodyBgColor;
border: 2px solid @greyMedium;
color: @bodyBgColor;
background-color: @activeColor;
border: 2px solid @bgLightColor;
}
&.inactive:hover {
color: @activeColor;
}
&.ground {
margin-left: -2px;
}
&.surface {
margin-right: -2px;
}
// &.ground {
// margin-left: -2px;
// }
// &.surface {
// margin-right: -2px;
// }
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment