fradrive/static/css/tabber.css
2018-04-16 21:10:45 +02:00

43 lines
860 B
CSS

.tab-group {
box-shadow: 0 0 0 18px white, 0 0 0 20px #b3b7c1;
margin-top: 40px;
}
.tab-group-openers {
display: flex;
justify-content: stretch;
line-height: 40px;
font-size: 14px;
margin-bottom: 40px;
}
.tab-opener {
display: inline-block;
flex: 1;
text-align: center;
padding: 0 13px;
margin: 0 2px;
background-color: #b3b7c1;
color: white;
font-size: 16px;
text-transform: uppercase;
font-weight: 600;
transition: all .2s ease;
box-shadow: inset 0 -4px 4px rgba(0, 0, 0, 0.1);
border-top: 5px solid transparent;
}
.tab-opener:not(.tab-visible):hover {
cursor: pointer;
background-color: transparent;
color: rgb(52, 48, 58);
box-shadow: none;
border-top-color: grey;
}
.tab-opener.tab-visible {
background-color: transparent;
color: rgb(52, 48, 58);
border-top-color: #5F98C2;
box-shadow: none;
}