Skip to content

Commit

Permalink
Merge pull request #16 from SU-SWS/TSS-24--unpublished
Browse files Browse the repository at this point in the history
TSS-24: corrected the unpublished banner
  • Loading branch information
jenbreese authored Oct 28, 2024
2 parents 9cddea0 + 5c8f9d6 commit 0989a2d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
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

0 comments on commit 0989a2d

Please sign in to comment.