aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-04-20 20:15:55 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-04-20 20:15:55 +0200
commit3676b1d1d9216a676c7d5a40affa5b3256ca8df3 (patch)
treeefa63a0d21ae52e32e405fe7b4ce56b02d782e86 /src/styles
parentc86b4655f72c86362c064dd50bb701782b39e6eb (diff)
Refactor stop data handling with caching and custom names support
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/Estimates.css80
1 files changed, 47 insertions, 33 deletions
diff --git a/src/styles/Estimates.css b/src/styles/Estimates.css
index 1fce445..86ca09b 100644
--- a/src/styles/Estimates.css
+++ b/src/styles/Estimates.css
@@ -13,7 +13,8 @@
font-weight: 500;
}
-.table th, .table td {
+.table th,
+.table td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #eee;
@@ -29,63 +30,76 @@
/* Estimates page specific styles */
.estimates-header {
- display: flex;
- align-items: center;
- margin-bottom: 1rem;
+ display: flex;
+ align-items: center;
+ margin-bottom: 1rem;
}
.estimates-stop-id {
- font-size: 1rem;
- color: var(--subtitle-color);
- margin-left: 0.5rem;
+ font-size: 1rem;
+ color: var(--subtitle-color);
+ margin-left: 0.5rem;
}
.estimates-arrival {
- color: #28a745;
- font-weight: 500;
+ color: #28a745;
+ font-weight: 500;
}
.estimates-delayed {
- color: #dc3545;
+ color: #dc3545;
}
.button-group {
- display: flex;
- gap: 1rem;
- margin-bottom: 1.5rem;
- flex-wrap: wrap;
+ 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;
+ 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);
+ background-color: var(--button-hover-background-color);
}
.button:disabled {
- background-color: var(--button-disabled-background-color);
- cursor: not-allowed;
+ background-color: var(--button-disabled-background-color);
+ cursor: not-allowed;
}
.star-icon {
- margin-right: 0.5rem;
- color: #ccc;
- fill: none;
+ margin-right: 0.5rem;
+ color: #ccc;
+ fill: none;
}
.star-icon.active {
- color: var(--star-color); /* Yellow color for active star */
- fill: var(--star-color);
+ 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