Archived
251 lines
4.7 KiB
CSS
251 lines
4.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
:root {
|
|
--color-green: #80c671;
|
|
--color-red: #d56161;
|
|
--add-item-window-title-height: 60px;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 40px 0 40px;
|
|
background-color: rgba(236, 236, 236, 0.39);
|
|
}
|
|
|
|
.title-container {
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.title-container .title {
|
|
letter-spacing: 5px;
|
|
}
|
|
|
|
.main-container {
|
|
min-height: 0;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.tools-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-content: center;
|
|
padding-top: 40px;
|
|
padding-bottom: 20px;
|
|
padding-left: 50px;
|
|
padding-right: 50px;
|
|
}
|
|
|
|
.tools-container .add-item-button {
|
|
width: 60px;
|
|
height: 40px;
|
|
background-color: var(--color-green);
|
|
border: none;
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
color: white;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.tools-container .add-item-button:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tools-container input {
|
|
width: 40%;
|
|
height: 40px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
font-size: 16px;
|
|
border: 1px solid black;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.tools-container input:focus {
|
|
outline: 2px solid var(--color-green);
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.tools-container .count {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: end;
|
|
}
|
|
|
|
.tools-container .count span {
|
|
color: blue;
|
|
}
|
|
|
|
.table-container {
|
|
min-height: 0;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.table-header {
|
|
height: 50px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: var(--color-green);
|
|
}
|
|
|
|
.table-header div {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
|
|
.table-outer-scrollable-container {
|
|
min-height: 0;
|
|
flex: 1;
|
|
/*height: 700px;*/
|
|
overflow-y: scroll;
|
|
scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89);
|
|
}
|
|
|
|
.table-container div {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.table-items-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 3px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.table-items-container .more-platform-container {
|
|
display: flex;
|
|
justify-content: start;
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
white-space: nowrap;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--color-green) rgba(236, 236, 236, 0.89);
|
|
}
|
|
|
|
.table-items-container .more-platform-container div {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.table-items-container div {
|
|
width: 100%;
|
|
height: 50px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.table-items-container .change-item-button {
|
|
width: 50px;
|
|
height: 30px;
|
|
border: none;
|
|
background-color: var(--color-green);
|
|
color: white;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.table-items-container .change-item-button:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.table-items-container .white-space {
|
|
width: 10px;
|
|
}
|
|
|
|
.table-items-container .delete-item-button {
|
|
width: 50px;
|
|
height: 30px;
|
|
border: none;
|
|
background-color: var(--color-red);
|
|
color: white;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.table-items-container .delete-item-button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.add-item-dialog {
|
|
width: 60vw;
|
|
height: 70vh;
|
|
margin: auto;
|
|
border: none;
|
|
background-color: #f2f2f2f7;
|
|
border-top-left-radius: 20px;
|
|
border-top-right-radius: 20px;
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
}
|
|
|
|
.add-item-dialog .title-bar-container {
|
|
height: var(--add-item-window-title-height);
|
|
background-color: #68686869;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.add-item-dialog .title-bar-container .close-button {
|
|
width: 25px;
|
|
height: 25px;
|
|
border-radius: 180px;
|
|
margin-left: 8px;
|
|
background-color: #d56161;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.add-item-dialog .title-bar-container .close-button:hover::after {
|
|
content: "\2A2F";
|
|
}
|
|
|
|
.add-item-dialog .title-bar-container .title {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%, 0%);
|
|
font-size: 18px;
|
|
}
|
|
|
|
.add-item-dialog .main-container {
|
|
width: 100%;
|
|
height:calc(100% - var(--add-item-window-title-height) - 10px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.add-item-dialog .main-container label{
|
|
width: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 20px;
|
|
}
|
|
.add-item-dialog .main-container label .label{
|
|
text-align: end;
|
|
flex: 1;
|
|
}
|
|
|
|
.add-item-dialog .main-container label .form{
|
|
flex: 1;
|
|
margin-left: 10px;
|
|
}
|