demarches-normaliennes/app/assets/stylesheets/new_design/_tabs.scss
Pierre de La Morinerie f5f7a47de3 stylesheet: make the selected tab more visible
Tabs are notoriously hard to notice. Make them stand out more.
2020-07-07 11:02:15 +02:00

51 lines
788 B
SCSS

@import "colors";
@import "mixins";
.tabs {
li {
display: inline-block;
line-height: 36px;
position: relative;
text-align: center;
font-size: 14px;
border-radius: 3px 3px 0 0;
border: 1px solid transparent;
a {
display: block;
padding-left: 20px;
padding-right: 20px;
color: $black;
}
&.active {
background-color: #FFFFFF;
border-top: 2px solid $blue;
border-left: 1px solid $border-grey;
border-right: 1px solid $border-grey;
a {
color: $blue;
}
.badge {
color: $blue;
}
}
&:hover {
a {
color: $blue;
}
.badge {
color: $blue;
}
}
.notifications {
top: 3px;
right: 3px;
}
}
}