1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
.content {
display: grid;
grid-template-areas:
"tabs"
"window";
grid-template-columns: 1fr;
grid-template-rows: auto 1fr;
min-height: calc(100vh);
}
.nav-tabs-container {
grid-area: tabs;
padding: 0;
background-color: #999999;
border-bottom: 4px solid #CCCCCC;
}
.tab-content {
grid-area: window;
background-color: white;
padding: 0;
display: none;
}
.tab-content.tab-default {
display: block;
}
ul.nav-tabs {
padding: 0;
margin: 0;
overflow: auto;
display: table-row;
min-height: 2ex;
}
.nav-tabs li {
display: inline-block;
padding: 4px 10px;
min-width: 20px;
text-decoration: none;
color: black;
text-align: center;
user-select: none;
cursor: pointer;
}
.nav-tabs li:hover {
background-color: #EEEEEE;
}
.nav-tabs li.active {
background-color: #CCCCCC;
}
|