Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSS-24: corrected the unpublished banner #16

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions lbretransportation_subtheme.theme
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ function check_shuttle_title($title) {
$card_theme = 'red';
$card_theme_label = t('Y');
break;
case "CAX Line":
$card_theme = 'bright-yellow';
$card_theme_label = t('CAX');
break;
default:
break;
}
Expand Down
1 change: 1 addition & 0 deletions src/scss/components/alert/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

.su-alert--warning {
background-color: $su-color-brick-light;
color: $su-color-white;
}

.su-alert--error {
Expand Down
13 changes: 12 additions & 1 deletion src/scss/components/card/_card--shuttle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
--clr-su-light-red: #ec7174;

--clr-su-red: #ED1C24;

--clr-su-bright-yellow: #EDE80C;
}

.shuttle-card {
border-top: 9px solid var(--clr-su-color);
}
Expand Down Expand Up @@ -166,6 +168,15 @@
}
}

.flag-mark--bright-yellow {
--clr-su-color: var(--clr-su-bright-yellow);

h3:after,
&:after {
color: var(--clr-su-text-dark);
}
}

.flag-mark--blue-green {
--clr-su-color: var(--clr-su-blue-green);
}
Expand Down
Loading