DataTools3/menu.css

136 lines
2.1 KiB
CSS

#menu {
z-index: 100;
width: 100%;
background-color: #222;
box-shadow: 0px 0px 20px 0px black;
}
#menuBar {
display: flex;
flex-direction: row;
align-items: flex-start;
background-color: var(--blue);
}
.menuBarItem {
display: inline-block;
padding-left: 20px;
padding-right: 20px;
padding-top: 5px;
padding-bottom: 5px;
cursor: pointer;
user-select: none;
border-right: 2px solid var(--bg-dark);
}
.menuBarItem:hover:not(.selected) {
background-color: rgba(255,255,255,0.1);
box-shadow: inset 0px 0px 10px -5px rgba(255,255,255,0.3);
}
.menuBarItem.selected {
background-color: var(--bg);
}
.menuContentBox {
display: none;
padding: 10px;
box-sizing: border-box;
width: 100%;
}
#elementsWrapper {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: flex-start;
gap: 20px;
}
.elementsGroup {
display: flex;
flex-direction: column;
gap: 10px;
justify-content: flex-start;
align-items: center;
}
.elementsGroup span {
font-size: 1.2em;
}
.bigIconButton {
display: inline-flex;
flex-direction: column;
align-items: center;
padding: 10px;
gap: 10px;
}
.bigIcon {
width: 50px;
height: 50px;
background-size: contain;
background-position: 50% 50%;
background-repeat: no-repeat;
}
#saveIcon {
background-image: url("./img/save-icon.svg");
}
#downloadIcon {
background-image: url("./img/download-icon.svg");
}
#openIcon {
background-image: url("./img/open-icon.svg");
}
#uploadIcon {
background-image: url("./img/download-icon.svg");
rotate: 180deg;
}
#loadWrapper {
position: fixed;
top: 0px;
bottom: 0px;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
z-index: 200;
display: none;
}
#loadDialogue {
background-color: #222;
min-width: 300px;
min-height: 300px;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
gap: 20px;
}
#loadList {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
max-height: 700px;
overflow-y: auto;
gap: 10px;
}
strong {
font-weight: 700;
}
ul {
margin-left: 20px;
}