mirror of
https://github.com/arthur-pbty/calculatrice.git
synced 2026-06-21 13:54:50 +02:00
Refactor Dockerfile, update README, and enhance Calculator component
- Refactored Dockerfile for improved multi-stage builds and added development and production configurations. - Updated README with clearer project description, local development instructions, and added contact information. - Enhanced Calculator component to manage theme and history using localStorage, improving user experience. - Added new pages for legal mentions and privacy policy, including relevant metadata. - Updated docker-compose.yml for better service management and added environment variables. - Introduced a new LICENSE file outlining usage rights and responsibilities.
This commit is contained in:
+6
-1
@@ -285,6 +285,7 @@ body {
|
||||
.mode-toggle {
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-width: 210px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: 10px;
|
||||
@@ -292,9 +293,11 @@ body {
|
||||
}
|
||||
|
||||
.mode-toggle button {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
padding: 6px 16px;
|
||||
text-align: center;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
color: var(--muted);
|
||||
@@ -311,10 +314,12 @@ body {
|
||||
.mode-slider {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
bottom: 2px;
|
||||
width: calc(50% - 2px);
|
||||
border-radius: 8px;
|
||||
background: var(--primary);
|
||||
transition: left 0.3s ease, width 0.3s ease;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
/* ══════════════════════════════════════════════
|
||||
|
||||
Reference in New Issue
Block a user