1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 13:49:42 +02:00
documize/gui/app/styles/widget/widget-tabnav.scss

36 lines
645 B
SCSS
Raw Normal View History

.tabnav-control {
padding: 0;
margin: 0;
> .tab {
@include ease-in();
display: inline-block;
margin: 0;
padding: 5px 15px;
background-color: $color-white;
color: $color-primary;
font-weight: bold;
font-size: 1.1rem;
text-align: center;
cursor: pointer;
border: 1px solid $color-border;
margin: -1px 0 0 -5px; // handles border overlap when tabs wrap onto 2nd line
&:first-of-type {
@include border-radius-left(3px);
}
&:last-of-type {
@include border-radius-right(3px);
}
&:hover {
background-color: $color-primary-light;
}
}
> .selected {
background-color: $color-primary-light;
}
}