aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-05-26 10:48:43 +0200
commit5ced7f916d94e86e9a7ec164bee56f9a8e3a2a3a (patch)
treeb1ef5afa17b4a2f9fb2cbd683afc2fb6d905b5e1 /src/styles
parent4637373b50636e78dc2c7b6f99be879edb4ff7dc (diff)
Replace Azure SWA with custom server
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/Estimates.css105
-rw-r--r--src/styles/Map.css86
-rw-r--r--src/styles/Pages.css364
-rw-r--r--src/styles/Settings.css94
4 files changed, 0 insertions, 649 deletions
diff --git a/src/styles/Estimates.css b/src/styles/Estimates.css
deleted file mode 100644
index 86ca09b..0000000
--- a/src/styles/Estimates.css
+++ /dev/null
@@ -1,105 +0,0 @@
-.table-responsive {
- overflow-x: auto;
- margin-bottom: 1.5rem;
-}
-
-.table {
- width: 100%;
- border-collapse: collapse;
-}
-
-.table caption {
- margin-bottom: 0.5rem;
- font-weight: 500;
-}
-
-.table th,
-.table td {
- padding: 0.75rem;
- text-align: left;
- border-bottom: 1px solid #eee;
-}
-
-.table th {
- border-bottom: 2px solid #ddd;
-}
-
-.table tfoot td {
- text-align: center;
-}
-
-/* Estimates page specific styles */
-.estimates-header {
- display: flex;
- align-items: center;
- margin-bottom: 1rem;
-}
-
-.estimates-stop-id {
- font-size: 1rem;
- color: var(--subtitle-color);
- margin-left: 0.5rem;
-}
-
-.estimates-arrival {
- color: #28a745;
- font-weight: 500;
-}
-
-.estimates-delayed {
- color: #dc3545;
-}
-
-.button-group {
- display: flex;
- gap: 1rem;
- margin-bottom: 1.5rem;
- flex-wrap: wrap;
-}
-
-.button {
- padding: 0.75rem 1rem;
- background-color: var(--button-background-color);
- color: white;
- border: none;
- border-radius: 8px;
- font-size: 1rem;
- font-weight: 500;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- display: inline-block;
-}
-
-.button:hover {
- background-color: var(--button-hover-background-color);
-}
-
-.button:disabled {
- background-color: var(--button-disabled-background-color);
- cursor: not-allowed;
-}
-
-.star-icon {
- margin-right: 0.5rem;
- color: #ccc;
- fill: none;
-}
-
-.star-icon.active {
- color: var(--star-color);
- /* Yellow color for active star */
- fill: var(--star-color);
-}
-
-/* Pencil (edit) icon next to header */
-.edit-icon {
- margin-right: 0.5rem;
- color: #ccc;
- cursor: pointer;
- stroke-width: 2px;
-}
-
-.edit-icon:hover {
- color: var(--star-color);
-} \ No newline at end of file
diff --git a/src/styles/Map.css b/src/styles/Map.css
deleted file mode 100644
index 3af112a..0000000
--- a/src/styles/Map.css
+++ /dev/null
@@ -1,86 +0,0 @@
-/* Map page specific styles */
-.map-container {
- height: calc(100vh - 140px);
- margin: -16px;
- margin-bottom: 1rem;
- position: relative;
-}
-
-/* Fullscreen map styles */
-.fullscreen-container {
- position: absolute;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- padding: 0;
- margin: 0;
- max-width: none;
- overflow: hidden;
-}
-
-.fullscreen-map {
- width: 100%;
- height: 100%;
-}
-
-.fullscreen-loading {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100vh;
- width: 100vw;
- font-size: 1.8rem;
- font-weight: 600;
- color: var(--text-color);
-}
-
-/* Map marker and popup styles */
-.stop-marker {
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- transition: all 0.2s ease-in-out;
-}
-
-.stop-marker:hover {
- transform: scale(1.2);
-}
-
-.maplibregl-popup {
- max-width: 250px;
-}
-
-.maplibregl-popup-content {
- padding: 12px;
- border-radius: 8px;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
-}
-
-.popup-line-icons {
- display: flex;
- flex-wrap: wrap;
- margin: 6px 0;
- gap: 5px;
-}
-
-.popup-line {
- display: inline-block;
- background-color: var(--button-background-color);
- color: white;
- padding: 2px 6px;
- margin-right: 4px;
- border-radius: 4px;
- font-size: 0.8rem;
- font-weight: 500;
-}
-
-.popup-link {
- display: block;
- margin-top: 8px;
- color: var(--button-background-color);
- text-decoration: none;
- font-weight: 500;
-}
-
-.popup-link:hover {
- text-decoration: underline;
-} \ No newline at end of file
diff --git a/src/styles/Pages.css b/src/styles/Pages.css
deleted file mode 100644
index 90ffad2..0000000
--- a/src/styles/Pages.css
+++ /dev/null
@@ -1,364 +0,0 @@
-:root {
- --background-color: #ffffff;
- --text-color: #333333;
- --subtitle-color: #444444;
- --border-color: #eeeeee;
- --button-background-color: #007bff;
- --button-hover-background-color: #0069d9;
- --button-disabled-background-color: #cccccc;
- --star-color: #ffcc00;
- --message-background-color: #f8f9fa;
-
- font-family: 'Outfit Variable', Roboto, Arial, sans-serif;
-}
-
-[data-theme='dark'] {
- --background-color: #121212;
- --text-color: #ffffff;
- --subtitle-color: #bbbbbb;
- --border-color: #444444;
- --button-background-color: #1e88e5;
- --button-hover-background-color: #1565c0;
- --button-disabled-background-color: #555555;
- --star-color: #ffcc00;
- --message-background-color: #333333;
-}
-
-body {
- background-color: var(--background-color);
- color: var(--text-color);
-}
-
-/* Mobile-first page styles */
-
-/* Common page styles */
-.page-container {
- max-width: 100%;
- padding: 0 16px;
- background-color: var(--background-color);
- color: var(--text-color);
-}
-
-.page-title {
- font-size: 1.8rem;
- margin-bottom: 1rem;
- font-weight: 600;
- color: var(--text-color);
-}
-
-.page-subtitle {
- font-size: 1.4rem;
- margin-top: 1.5rem;
- margin-bottom: 0.75rem;
- font-weight: 500;
- color: var(--subtitle-color);
-}
-
-/* Form styles */
-.search-form {
- margin-bottom: 1.5rem;
-}
-
-.form-group {
- margin-bottom: 1rem;
- display: flex;
- flex-direction: column;
-}
-
-.form-label {
- font-size: 0.9rem;
- margin-bottom: 0.25rem;
- font-weight: 500;
-}
-
-.form-input {
- padding: 0.75rem;
- font-size: 1rem;
- border: 1px solid var(--border-color);
- border-radius: 8px;
-}
-
-.form-button {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 1rem;
-
- padding: 0.75rem 1rem;
- background-color: var(--button-background-color);
- color: white;
- border: none;
- border-radius: 8px;
- font-size: 1rem;
- font-weight: 500;
- cursor: pointer;
- width: 100%;
- margin-top: 0.5rem;
-}
-
-.form-button:hover {
- background-color: var(--button-hover-background-color);
-}
-
-/* List styles */
-.list-container {
- margin-bottom: 1.5rem;
-}
-
-.list {
- list-style: none;
- padding: 0;
- margin: 0;
-}
-
-.list-item {
- padding: 1rem;
- border-bottom: 1px solid var(--border-color);
-}
-
-.list-item-link {
- display: block;
- color: var(--text-color);
- text-decoration: none;
- font-size: 1.1rem; /* Increased font size for stop name */
-}
-
-.list-item-link:hover {
- color: var(--button-background-color);
-}
-
-.list-item-link:hover .line-icon {
- color: var(--text-color);
-}
-
-.distance-info {
- font-size: 0.9rem;
- color: var(--subtitle-color);
-}
-
-/* Message styles */
-.message {
- padding: 1rem;
- background-color: var(--message-background-color);
- border-radius: 8px;
- margin-bottom: 1rem;
-}
-
-/* About page specific styles */
-.about-page {
- text-align: center;
- padding: 1rem;
-}
-
-.about-version {
- color: var(--subtitle-color);
- font-size: 0.9rem;
- margin-top: 2rem;
-}
-
-.about-description {
- margin-top: 1rem;
- line-height: 1.6;
-}
-
-/* Map page specific styles */
-.map-container {
- height: calc(100vh - 140px);
- margin: -16px;
- margin-bottom: 1rem;
- position: relative;
-}
-
-/* Fullscreen map styles */
-.fullscreen-container {
- position: absolute;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- padding: 0;
- margin: 0;
- max-width: none;
- overflow: hidden;
-}
-
-.fullscreen-map {
- width: 100%;
- height: 100%;
-}
-
-.fullscreen-loading {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100vh;
- width: 100vw;
- font-size: 1.8rem;
- font-weight: 600;
- color: var(--text-color);
-}
-
-/* Map marker and popup styles */
-.stop-marker {
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
- transition: all 0.2s ease-in-out;
-}
-
-.stop-marker:hover {
- transform: scale(1.2);
-}
-
-.maplibregl-popup {
- max-width: 250px;
-}
-
-.maplibregl-popup-content {
- padding: 12px;
- border-radius: 8px;
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
-}
-
-.popup-line-icons {
- display: flex;
- flex-wrap: wrap;
- margin: 6px 0;
- gap: 5px;
-}
-
-.popup-line {
- display: inline-block;
- background-color: var(--button-background-color);
- color: white;
- padding: 2px 6px;
- margin-right: 4px;
- border-radius: 4px;
- font-size: 0.8rem;
- font-weight: 500;
-}
-
-.popup-link {
- display: block;
- margin-top: 8px;
- color: var(--button-background-color);
- text-decoration: none;
- font-weight: 500;
-}
-
-.popup-link:hover {
- text-decoration: underline;
-}
-
-/* Estimates page specific styles */
-.estimates-header {
- display: flex;
- align-items: center;
- margin-bottom: 1rem;
-}
-
-.estimates-stop-id {
- font-size: 1rem;
- color: var(--subtitle-color);
- margin-left: 0.5rem;
-}
-
-.estimates-arrival {
- color: #28a745;
- font-weight: 500;
-}
-
-.estimates-delayed {
- color: #dc3545;
-}
-
-.button-group {
- display: flex;
- gap: 1rem;
- margin-bottom: 1.5rem;
- flex-wrap: wrap;
-}
-
-.button {
- padding: 0.75rem 1rem;
- background-color: var(--button-background-color);
- color: white;
- border: none;
- border-radius: 8px;
- font-size: 1rem;
- font-weight: 500;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- display: inline-block;
-}
-
-.button:hover {
- background-color: var(--button-hover-background-color);
-}
-
-.button:disabled {
- background-color: var(--button-disabled-background-color);
- cursor: not-allowed;
-}
-
-.star-icon {
- margin-right: 0.5rem;
- color: #ccc;
- fill: none;
-}
-
-.star-icon.active {
- color: var(--star-color); /* Yellow color for active star */
- fill: var(--star-color);
-}
-
-/* Tablet and larger breakpoint */
-@media (min-width: 768px) {
- .page-container {
- width: 90%;
- max-width: 768px;
- margin: 0 auto;
- }
-
- .page-title {
- font-size: 2.2rem;
- }
-
- .search-form {
- display: flex;
- align-items: flex-end;
- gap: 1rem;
- }
-
- .form-group {
- flex: 1;
- margin-bottom: 0;
- }
-
- .form-button {
- width: auto;
- margin-top: 0;
- }
-
- .list {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
- gap: 1rem;
- }
-
- .list-item {
- border: 1px solid var(--border-color);
- border-radius: 8px;
- margin-bottom: 0;
- }
-}
-
-/* Desktop breakpoint */
-@media (min-width: 1024px) {
- .page-container {
- max-width: 1024px;
- }
-
- .list {
- grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
- }
-} \ No newline at end of file
diff --git a/src/styles/Settings.css b/src/styles/Settings.css
deleted file mode 100644
index 934577d..0000000
--- a/src/styles/Settings.css
+++ /dev/null
@@ -1,94 +0,0 @@
-/* About page specific styles */
-.about-page {
- text-align: center;
- padding: 1rem;
-}
-
-.about-version {
- color: var(--subtitle-color);
- font-size: 0.9rem;
- margin-top: 2rem;
-}
-
-.about-description {
- margin-top: 1rem;
- line-height: 1.6;
-}
-
-.settings-section {
- margin-bottom: 2em;
- padding: 1rem;
- border: 1px solid var(--border-color);
- border-radius: 8px;
- background-color: var(--message-background-color);
- text-align: left;
-}
-
-.settings-section h2 {
- margin-bottom: 1em;
-}
-
-.settings-content {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- margin-bottom: 1em;
-}
-
-.settings-content-inline {
- display: flex;
- align-items: center;
- margin-bottom: 1em;
-}
-
-.settings-section .form-button {
- margin-bottom: 1em;
- padding: 0.75rem 1.5rem;
- font-size: 1.1rem;
-}
-
-.settings-section .form-select-inline {
- margin-left: 0.5em;
- padding: 0.5rem;
- font-size: 1rem;
- border: 1px solid var(--border-color);
- border-radius: 8px;
-}
-
-.settings-section .form-label-inline {
- font-weight: 500;
-}
-
-.settings-section .form-label {
- display: block;
- margin-bottom: 0.5em;
- font-weight: 500;
-}
-
-.settings-section .form-description {
- margin-top: 0.5em;
- font-size: 0.9rem;
- color: var(--subtitle-color);
-}
-
-.settings-section .form-details {
- margin-top: 0.5em;
- font-size: 0.9rem;
- color: var(--subtitle-color);
- border: 1px solid var(--border-color);
- border-radius: 8px;
- padding: 0.5rem;
-}
-
-.settings-section .form-details summary {
- cursor: pointer;
- font-weight: 500;
-}
-
-.settings-section .form-details p {
- margin-top: 0.5em;
-}
-
-.settings-section p {
- margin-top: 0.5em;
-} \ No newline at end of file