html, body {
width: 100%;
margin: 0;
padding: 0;
}
#root {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px 50px;
}
div.nav {
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid gray;
}
div.nav-item {
width: 30%;
line-height: 2em;
font-size: 1.1em;
font-weight: bold;
text-align: center;
cursor: pointer;
user-select: none;
}
div.nav-item.active {
background-color: aqua;
}
div.nav-body {
width: 100%;
margin-top: 20px;
}
div.control {
width: 100%;
display: flex;
justify-content: space-between;
margin-bottom: 10px;
}
div.search-box > label {
display: flex;
align-items: center;
border: 1px solid #000000;
border-radius: 50px;
box-sizing: border-box;
padding: 2px 10px;
}
div.search-box > label > input {
width: 250px;
line-height: 25px;
outline: none;
border: none;
font-size: 20px;
}
div.search-box > label > img {
width: 25px;
height: 25px;
}
div.buttons {
display: flex;
}
div.buttons > button {
margin-left: 15px;
}
button {
--color: black;
background-color: transparent;
border: 1px solid var(--color);
color: var(--color);
outline: none;
border-radius: 4px;
padding: 5px 15px;
cursor: pointer;
user-select: none;
}
button:hover {
background-color: var(--color);
color: white;
transition: all 200ms;
}
button.blue {
--color: deepskyblue !important;
}
button.green {
--color: darkgreen !important;
}
button.red {
--color: darkred !important;
}
table {
width: 100%;
border: none;
background-color: black;
}
tr {
line-height: 1.5em;
}
th, td {
background-color: white;
text-align: center;
}
td > label > input {
width: 90%;
outline: none;
border: none;
background-color: rgba(245, 222, 179, 0.5);
border-radius: 5px;
line-height: 1.6em;
text-align: center;
}
input.left {
text-align: left;
text-indent: 1em;
}
view {
cursor: pointer;
user-select: none;
}
view:hover {
color: blue;
}
div.icon-view-layer {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
div.icon-view-box {
width: 400px;
height: 300px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 20px 40px;
border-radius: 6px;
background-color: white;
}
div.icon-img-box {
width: 100px;
height: 100px;
position: relative;
background-color: black;
}
div.icon-img-box > img {
width: 100%;
height: 100%;
}
div.icon-img-box > label {
width: 100%;
height: 100%;
display: none;
position: absolute;
top: 0;
left: 0;
cursor: pointer;
user-select: none;
}
div.icon-img-box:hover > label {
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(255, 255, 255, 0.5);
}
div.icon-view-box input {
width: 100%;
outline: none;
border: 1px solid gray;
border-radius: 4px;
line-height: 1.6em;
text-align: center;
}
div.btns {
width: 100%;
display: flex;
justify-content: space-evenly;
}