redesign avec edmée, super déçue car pas bouboule orange

This commit is contained in:
arussac
2025-03-22 23:33:43 +01:00
parent 88becb43cf
commit e9610878ac
9 changed files with 699 additions and 372 deletions

View File

@@ -1,121 +1,140 @@
main {
flex: 1 0 auto;
}
footer {
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
background-color: #f8f9fa;
padding: 10px;
border-top: 1px solid #e7e7e7;
}
.row {
margin-top: 20px;
display: flex;
justify-content: space-between;
}
.col-md-6 {
flex: 0 0 50%;
max-width: 50%;
}
.col-md-12 {
flex: 0 0 100%;
max-width: 100%;
}
.hiddenTable {
max-height: 400px; /* Adjust this value as needed */
overflow-y: hidden;
}
.full-view {
max-height: none;
overflow-y: visible;
}
.sticky-header thead {
position: sticky;
top: 0;
z-index: 1;
background-color: #fff;
}
#addVideoHandler {
display: flex;
align-items: center;
}
#show-form-button {
margin-left: 20px;
}
.form-container {
z-index: 25;
display: none;
position: fixed;
body::before {
content: "";
position: fixed; /* Use fixed positioning to keep the image in place */
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-image: url("../image/camera-image");
background-position: center;
background-size: cover;
filter: blur(1px) brightness(0.3);
z-index: -100; /* Ensure the background image stays behind other content */
}
.container {
max-width: 1140px;
margin: auto;
padding: 15px;
}
.mt-5 {
margin-top: 5rem;
}
.mb-4 {
margin-bottom: 4rem;
}
.text-center {
text-align: center;
}
.modal,
.form-container {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}
.modal-content,
.form-content {
background-color: #1e1e1e;
padding: 20px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
width: 80%;
max-width: 600px;
margin: auto;
color: #e0e0e0;
}
.form-content {
background-color: #fff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
text-align: left;
display: flex;
flex-direction: column;
width: 90%;
max-width: 600px;
max-height: 90vh; /* Adjust the max-height as needed */
max-height: 90vh;
overflow-y: auto;
}
.modal-buttons {
text-align: center;
margin-top: 20px;
}
.default-button {
background-color: #248f99;
z-index: 15;
color: white;
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
margin-bottom: 15px;
white-space: nowrap;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}
.default-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}
.buttons-container {
display: flex;
gap: 10px; /* Space between buttons */
margin-bottom: 20px;
}
.form-content h1 {
margin: 0;
margin-bottom: 20px;
font-size: 1.5rem;
color: #333;
color: #f0f0f0;
}
.form-content label {
margin-bottom: 10px;
font-weight: bold;
color: #555;
color: #cccccc;
}
.form-content input,
.form-content select,
.form-content .duration-input,
.form-content .fraction-input {
.form-content select {
margin-bottom: 20px;
padding: 12px;
font-size: 1rem;
border: 1px solid #ccc;
border: 1px solid #555;
border-radius: 4px;
width: 100%;
box-sizing: border-box;
background-color: #333;
color: #e0e0e0;
}
.form-content .duration-input,
.form-content .fraction-input {
.duration-input,
.fraction-input {
display: flex;
align-items: center;
justify-content: center;
}
.form-content .duration-input button,
.form-content .fraction-input button {
.duration-input button,
.fraction-input button {
width: 40px;
height: 40px;
margin: 0 10px;
@@ -127,149 +146,101 @@ footer {
transition: background-color 0.3s;
}
.form-content .duration-input button:hover,
.form-content .fraction-input button:hover {
.duration-input button:hover,
.fraction-input button:hover {
background-color: #0056b3;
}
.form-content .duration-input input {
.duration-input input {
width: 60px;
text-align: center;
}
.form-content #submit {
margin-top: 20px;
padding: 12px;
font-size: 1rem;
width: 100%;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
.form-content #submit:hover{
background-color: #0056b3;
}
#number-board {
display: grid;
gap: 10px;
justify-content: center;
max-height: 40vh; /* Adjust the max-height as needed */
overflow-y: auto;
}
.number-button {
padding: 10px;
font-size: 1rem;
background-color: #f0f0f0;
border: 1px solid #ccc;
cursor: pointer;
transition: background-color 0.3s;
margin: 5px;
border-radius: 4px;
}
.number-button.highlight {
background-color: red;
color: #fff;
}
#numerator, #denominator {
width: 30%;
text-align: center;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
width: 30px;
height: 30px;
background-color: red;
color: white;
border: none;
border-radius: 5px;
font-size: 1.5rem;
cursor: pointer;
.frequency-control {
display: flex;
justify-content: center;
align-items: center;
z-index: 30;
}
.close-button:hover {
background-color: darkred;
}
footer{
margin-top: 15px;
}
#video-container{
margin-bottom: 15px;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.6); /* Darker background */
}
.modal-content {
background-color: #fff;
padding: 20px;
border: 2px solid #ff0000; /* Red border */
width: 40% !important; /* Fixed width for a smaller modal */
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow for emphasis */
border-radius: 8px; /* Rounded corners */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%); /* Center the modal */
}
.modal-buttons {
text-align: center; /* Center buttons */
margin-top: 20px;
}
.modal-buttons button {
background-color: #ff0000; /* Red buttons */
color: white;
border: none;
padding: 10px 20px;
margin: 5px;
cursor: pointer;
border-radius: 5px;
font-size: 16px;
}
.modal-buttons button:hover {
background-color: #cc0000; /* Darker red on hover */
}
#alertMessage {
color: #ff0000; /* Red text */
font-size: 18px;
text-align: center;
}
.buttons-container2{
float: left;
width:20%;
margin-bottom: 20px;
}
.frequency-control label {
margin-right: 10px;
color: #e0e0e0;
}
.frequency-control input[type="number"] {
width: 50px;
text-align: center;
background-color: #333;
border: 1px solid #555;
color: #e0e0e0;
}
.frequency-control button {
margin: 0 5px;
.hiddenTable {
max-height: 65vh;
overflow-y: hidden;
}
.full-view {
max-height: none;
overflow-y: visible;
}
footer {
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
background-color: #1e1e1e;
padding: 1.5vh;
border-top: 1px solid #333;
color: #e0e0e0;
}
#metric_viewer {
background-color: rgb(227, 216, 216);
}
.default-access-button {
background-color: #182b3f;
z-index: 15;
color: white;
border: 1px solid yellow;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
margin-bottom: 15px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-access-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.8); /* Increase shadow on hover */
}
.default-access-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}
.default-delete-button {
background-color: #7e2416;
z-index: 15;
color: white;
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
font-size: 18px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.default-delete-button:hover {
transform: translateY(-4px); /* Lift the button more on hover */
box-shadow: 0 6px 8px rgba(0, 0, 0, 1); /* Increase shadow on hover */
}
.default-delete-button:active {
transform: translateY(0); /* Remove lift on click */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow on click */
}