Oblicz swoje zarobki dla najpopularniejszych form zatrudnienia.
diff --git a/assets/css/custom.css b/assets/css/custom.css index 27c25cd..3f33614 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,161 +1,123 @@ -/* Basic Reset & Body Styling */ + +/* --- FONT --- */ +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); + +/* --- GENERAL --- */ body { - background-color: #f4f7f9; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; - color: #333; - margin: 0; - padding: 2rem; - display: flex; - justify-content: center; - align-items: flex-start; - min-height: 100vh; + font-family: 'Poppins', sans-serif; + background-color: #f8f9fa; + color: #495057; } -/* Main Calculator Container */ +/* --- CALCULATOR --- */ .calculator-container { - background-color: #ffffff; - padding: 2.5rem; - border-radius: 8px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); - width: 100%; - max-width: 600px; + padding-top: 2rem; + padding-bottom: 2rem; +} + +.calculator-card { + border: none; + border-radius: 1rem; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); + overflow: hidden; transition: all 0.3s ease; } -h1 { - text-align: center; - color: #2c3e50; - margin-bottom: 2rem; - font-weight: 600; +.calculator-card:hover { + box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); + transform: translateY(-5px); } -/* Form Styling */ -.form-group { - margin-bottom: 1.5rem; -} - -label { - display: block; - margin-bottom: 0.5rem; +.calculator-widget .form-label { font-weight: 500; - color: #555; + color: #343a40; } -.input-group { - display: flex; +.calculator-widget .input-group .form-control, +.calculator-widget .input-group .input-group-text { + border-radius: 0.5rem; } -.input-group-prepend .input-group-text { - background-color: #e9ecef; - border: 1px solid #ced4da; - border-right: none; - padding: 0.5rem 1rem; - border-radius: 0.25rem 0 0 0.25rem; +.calculator-widget .form-control { + padding: 1rem; + height: auto; + border: 1px solid #dee2e6; } -input[type="number"], -select { - width: 100%; - padding: 0.75rem; - border: 1px solid #ced4da; - border-radius: 4px; - font-size: 1rem; - transition: border-color 0.2s ease, box-shadow 0.2s ease; -} - -input[type="number"]:focus, -select:focus { - outline: none; +.calculator-widget .form-control:focus { border-color: #80bdff; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } -/* Checkbox Styling */ -.checkbox-group { - display: flex; - align-items: center; - gap: 0.75rem; - margin-top: 1rem; +.calculator-widget .btn-group .btn { + padding: 0.75rem 1rem; + font-weight: 500; + border-radius: 0.5rem !important; /* Override Bootstrap's btn-group radius */ } -input[type="checkbox"] { - width: 1.25em; - height: 1.25em; -} - -/* Calculate Button */ -.btn-calculate { - width: 100%; - padding: 0.85rem; +.calculator-widget .btn-primary { + background-color: #0d6efd; + border-color: #0d6efd; + padding: 1rem; font-size: 1.1rem; font-weight: 600; - color: #fff; - background-color: #007bff; - border: none; - border-radius: 4px; - cursor: pointer; - transition: background-color 0.2s ease; + border-radius: 0.5rem; + transition: background-color 0.2s ease, border-color 0.2s ease; } -.btn-calculate:hover { - background-color: #0056b3; +.calculator-widget .btn-primary:hover { + background-color: #0b5ed7; + border-color: #0a58ca; } -/* Result Card */ -.result-card { - margin-top: 2rem; - background-color: #f8f9fa; - padding: 1.5rem; - border-radius: 8px; - border: 1px solid #e9ecef; - display: none; /* Hidden by default */ +/* --- RESULTS --- */ +#results { + border-top: 1px solid #e9ecef; + padding-top: 1.5rem; } -.result-card h3 { - margin-top: 0; - color: #2c3e50; - border-bottom: 2px solid #e0e0e0; - padding-bottom: 0.5rem; - margin-bottom: 1rem; +#results h3 { + font-weight: 600; + color: #343a40; } -.result-item { +#results-summary .result-item { + padding: 0.75rem 0; display: flex; justify-content: space-between; - padding: 0.75rem 0; - border-bottom: 1px solid #e9ecef; + border-bottom: 1px solid #f1f3f5; } -.result-item:last-child { +#results-summary .result-item:last-child { border-bottom: none; } -.result-item span { +#results-summary .result-item .label { font-weight: 500; + color: #6c757d; } -.result-item .value { - color: #007bff; +#results-summary .result-item .value { font-weight: 600; + color: #212529; + font-size: 1.1rem; } -.result-item.total .value { - color: #28a745; - font-size: 1.2rem; +#results-summary .result-item.total .value { + color: #198754; /* Bootstrap success color */ + font-size: 1.5rem; + font-weight: 700; } -/* Hidden class for dynamic options */ -.hidden { - display: none; -} -/* Footer Links */ +/* --- FOOTER --- */ .footer-links a { color: #6c757d; text-decoration: none; + transition: color 0.2s ease; } .footer-links a:hover { color: #0d6efd; text-decoration: underline; -} \ No newline at end of file +} diff --git a/assets/pasted-20250909-220108-d3c9b032.png b/assets/pasted-20250909-220108-d3c9b032.png new file mode 100644 index 0000000..489089d Binary files /dev/null and b/assets/pasted-20250909-220108-d3c9b032.png differ diff --git a/assets/pasted-20250909-220428-c41305cc.png b/assets/pasted-20250909-220428-c41305cc.png new file mode 100644 index 0000000..a8c8f0a Binary files /dev/null and b/assets/pasted-20250909-220428-c41305cc.png differ diff --git a/index.php b/index.php index 447c303..9bc912f 100644 --- a/index.php +++ b/index.php @@ -4,6 +4,22 @@
Oblicz swoje zarobki dla najpopularniejszych form zatrudnienia.