Initial commit
This commit is contained in:
150
public/style.css
Normal file
150
public/style.css
Normal file
@@ -0,0 +1,150 @@
|
||||
/* Général */
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f4f4f4;
|
||||
color: #333;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* En-tête fixe */
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: #555;
|
||||
color: white;
|
||||
padding: 10px 15px;
|
||||
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.header-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#datetime {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Bouton "+" */
|
||||
.add-row-button {
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
right: 15px;
|
||||
z-index: 2000;
|
||||
padding: 10px 22px;
|
||||
background-color: #007bff; /* Bleu */
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.add-row-button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
/* Section centrale défilante */
|
||||
.articles {
|
||||
position: relative;
|
||||
top: 120px;
|
||||
bottom: 60px;
|
||||
padding: 10px;
|
||||
overflow-y: auto;
|
||||
background-color: #e9ecef;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#articles-scroll {
|
||||
overflow-x: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#articles-table {
|
||||
width: calc(100% - 20px);
|
||||
max-width: 600px;
|
||||
border-collapse: collapse;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
#articles-table th, #articles-table td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 12px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#articles-table th {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#articles-table td input {
|
||||
padding: 5px;
|
||||
width: 90%;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#articles-table td button {
|
||||
background-color: #ffc107;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
padding: 5px 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#articles-table tbody tr:nth-child(even) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
/* Pied de page fixe */
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
background-color: #555;
|
||||
color: white;
|
||||
padding: 15px 20px;
|
||||
box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.totals p {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#save {
|
||||
margin-right: 20px;
|
||||
padding: 12px 25px;
|
||||
background-color: #28a745;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#save:hover {
|
||||
background-color: #218838;
|
||||
}
|
||||
Reference in New Issue
Block a user