Project_MLops / src /app /static /css /style_predict.css
QuanTH02's picture
feat: dir structure
e964b12
body {
font-family: Arial, sans-serif;
justify-content: center;
align-items: center;
/* background-color: #f0f0f0; */
}
.body-predict {
margin: 10px 80px 20px 80px;
}
button:hover {
opacity: 0.8;
}
.multi-input-form {
display: flex;
gap: 20px;
max-width: 2000px;
margin: 0 auto;
background-color: white;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.release-date {
display: flex;
}
#input-year,
#input-month {
width: 50%;
}
.col {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
}
.input-group {
margin-bottom: 4px;
}
.label {
display: block;
margin-bottom: 2px;
font-weight: bold;
}
input[type="text"] {
width: 600px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
/* Style the input fields when they are focused */
input[type="text"]:focus {
outline: none;
border-color: dodgerblue;
box-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
}
.btn-submit {
text-align: right;
}
#input-month,
#input-year,
#input-mpaa {
width: 140px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
margin-right: 20px;
}
.remove-btn {
font-size: 5px;
width: 10px;
height: 10px;
padding: 0px;
position: absolute;
border: none;
border-radius: 50%;
}
.remove-btn:hover {
opacity: 0.8;
cursor: pointer;
}
.label-genres,
.label-country {
display: flex;
margin-right: 20px;
}
#genres-list,
#country-list {
display: flex;
margin-left: 10px;
font-weight: normal;
}
.genre-item,
.country-item {
margin-right: 10px;
border: 1px rgba(0, 0, 0, 0.1) solid;
padding: 3px 13px 3px 5px;
border-radius: 10px;
}
#label-genres,
#label-country {
padding-bottom: 4px;
}
#add-genre-btn,
#add-country-btn {
margin-top: 10px;
background-color: rgb(212, 212, 212);
border: none;
border-radius: 3px;
font-size: 14px;
padding: 3px 6px;
}
#add-genre-btn:hover,
#add-country-btn:hover {
background-color: rgb(192, 192, 192);
cursor: pointer;
}
#genre-suggestions,
#country-suggestions {
display: none;
position: absolute;
width: 200px;
max-height: 150px;
overflow-y: auto;
border: 1px solid #ccc;
border-top: none;
border-radius: 0 0 5px 5px;
background-color: #fff;
z-index: 1;
padding: 5px;
}
.genre-suggestion,
.country-suggestion {
margin-bottom: 5px;
}
.genre-suggestion:hover,
.country-suggestion:hover {
background-color: #f9f9f9;
cursor: pointer;
}
.radio-container {
display: inline-block;
margin-right: 10px;
}
.submit-button {
margin-top: 10px;
background-color: rgb(212, 212, 212);
border: none;
border-radius: 3px;
font-size: 16px;
padding: 5px 10px;
font-weight: 550;
margin-right: 32px;
}
.submit-button:hover {
background-color: rgb(192, 192, 192);
cursor: pointer;
}
#div-inp-opn-week,
#div-inp-user-vote,
#div-inp-ratings {
display: none;
}
.h-result {
color: red;
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
/* Đảm bảo popup nằm trên tất cả các thẻ khác */
}
.popup-result {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
#cancel-popup {
background-color: rgb(212, 212, 212);
border: none;
border-radius: 3px;
font-size: 18px;
padding: 8px 20px;
font-weight: 550;
}
#cancel-popup:hover {
background-color: rgb(192, 192, 192);
cursor: pointer;
}
h3 {
margin-bottom: 3px;
margin-top: 3px;
}
#table-predict th, #table-predict td {
padding: 10px 20px;
}