tabs.css 976 Bytes
Newer Older
1 2
.content {
    display: grid;
3 4 5
    grid-template-areas:
        "tabs"
        "window";
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 55 56 57
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: calc(100vh);
}

.nav-tabs-container {
    grid-area: tabs;
    padding: 0px;
    background-color: #999999;
    border-bottom: 4px solid #CCCCCC;
}

.tab-content {
    grid-area: window;
    background-color: white;
    padding: 0px;
    display:none;
}

.tab-content.tab-default {
    display: block;
}

ul.nav-tabs {
    padding: 0px;
    margin: 0px;
    overflow: auto;
    display: table-row;
    min-height: 2ex;
}

.nav-tabs li {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    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;
}