Redesign the tabs so that they look more like tabs

This commit is contained in:
gregoirenovel 2017-08-28 10:50:48 +02:00 committed by Mathieu Magnin
parent 7c1eed760a
commit cc54fec629
3 changed files with 34 additions and 18 deletions

View file

@ -4,19 +4,35 @@
.tabs {
li {
display: inline-block;
margin-right: 40px;
}
line-height: 36px;
position: relative;
text-align: center;
font-size: 14px;
border-radius: 3px 3px 0 0;
border: 1px solid transparent;
a {
@include vertical-padding(14px);
display: block;
color: $black;
font-size: 22px;
a {
display: block;
padding-left: 20px;
padding-right: 20px;
color: $black;
}
&.active {
background-color: #FFFFFF;
border-top: 1px solid $border-grey;
border-left: 1px solid $border-grey;
border-right: 1px solid $border-grey;
a {
color: $blue;
}
}
&.selected,
&:hover {
border-bottom: 2px solid $blue;
padding-bottom: 12px;
a {
color: $blue;
}
}
}
}