PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
55 lines
831 B
CSS
55 lines
831 B
CSS
.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;
|
|
}
|