You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

197 lines
3.9 KiB
CSS

/** Px -> rem size **/
.menu .icon {
width: 2.75rem;
height: 2.75rem;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -ms-grid;
display: grid;
background-color: #2e2e2e;
justify-items: center;
border-top-left-radius: 0.3125rem;
border-bottom-left-radius: 0.3125rem;
}
.menu .icon svg path {
fill: #1A73E8;
}
.menu .icon img {
width: 30px;
height: 30px;
}
.main .menu .sub-menu {
display: none;
position: absolute;
bottom: 0;
-webkit-transform: translateY(100%);
transform: translateY(100%);
padding: 0.5rem;
padding-top: 1.5rem;
padding-left: 1.25rem;
padding-right: 0.9375rem;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
z-index: 90;
font-size: 0.8125rem;
font-family: monospace;
font-weight: 400;
letter-spacing: 0;
text-align: left;
-webkit-box-align: left;
-ms-flex-align: left;
align-items: left;
color: #4e4e4e;
background-color: transparent;
border: 0;
}
.item:last-child .sub-menu {
right: 0;
}
.main .menu .sub-menu::after {
position: absolute;
content: "";
left: 0;
top: 0.8125rem;
width: 100%;
height: 100%;
border: 0;
z-index: -1;
border: 1px solid rgba(78, 78, 78, 0.3137254902);
border-top: 0;
background-color: #ffffff;
}
.main .menu .item {
position: relative;
display: -ms-grid;
display: grid;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: #ffffff;
font-weight: 700;
padding: 0.75rem;
padding-right: 1.5625rem;
padding-left: 1.5625rem;
height: 2.75rem;
font-family: monospace;
background-color: #2e2e2e;
text-transform: uppercase;
font-size: 0.8125rem;
border-left: 1px solid rgba(153, 153, 153, 0.2509803922);
}
.main .menu .item:last-child {
border-top-right-radius: 0.3125rem;
border-bottom-right-radius: 0.3125rem;
}
.main .menu .item::after {
position: absolute;
content: "+";
margin-top: -0.1875rem;
margin-right: 1.25rem;
-ms-grid-column-align: end;
justify-self: end;
color: #1A73E8;
font-size: 1rem;
z-index: 1;
visibility: hidden;
}
.main .menu .item:has(div:last-child)::after {
visibility: visible;
}
.main .menu .item:has(div:last-child) {
padding-right: 2.1875rem;
}
.main .menu .item:hover .sub-menu {
display: block;
height: auto;
}
.main .menu {
position: fixed;
top: 0;
z-index: 100;
width: 100%;
height: 4.5rem;
left: 0;
right: 0;
background-color: #ffffff;
border-bottom: 1px solid rgba(62, 62, 62, 0.3137254902);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.main .menu .icon .button {
border: 1px solid #CAD5E0;
border-radius: 8px;
padding: 2px;
}
/**
* TAB SPECIFICATIONS WITH RADIO BUTTONS AND LABELS
*/
.tab-content table {
width: 99%;
border-radius: 8px;
padding: 8px;
border: 1px solid #d3d3d3;
}
.tab-content table tr:nth-child(even) {
background-color: #f3f3f3;
}
/* .tab-content {width:80%;} */
.tabs {
display: -ms-grid;
display: grid;
grid-template-columns: repeat(auto-fit, 209px);
gap: 0px;
-ms-flex-line-pack: center;
align-content: center;
/* background-color: #f3f3f3; */
padding-top: 4px;
padding-left: 4px;
padding-right: 4px;
}
.tabs input[type=radio] {
display: none;
}
.tabs input[type=radio] + label {
font-weight: lighter;
border: 1px solid transparent;
border-bottom-color: #CAD5E0;
background-color: #f3f3f3;
padding: 8px;
padding-right: 10px;
padding-left: 10px;
cursor: pointer;
}
.tabs input[type=radio]:checked + label {
background-color: #ffffff;
border-top-right-radius: 8px;
border-top-left-radius: 8px;
font-weight: bold;
border-color: #CAD5E0;
border-bottom-color: #FFFFFF;
}