Skip to content

Commit

Permalink
Add Terms of Service banner styling for admin V3
Browse files Browse the repository at this point in the history
  • Loading branch information
rioug committed Nov 16, 2023
1 parent 29c64ab commit 106bbb8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/webpacker/css/admin_v3/all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,5 @@
@import "app/components/help_modal_component/help_modal_component";
@import "app/components/confirm_modal_component/confirm_modal_component";
@import "app/webpacker/css/admin/trix.scss";

@import "terms_of_service_banner"; // admin_v3
31 changes: 31 additions & 0 deletions app/webpacker/css/admin_v3/terms_of_service_banner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.banner-container {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 1000;
padding: 0 1.5%;

.terms-of-service-banner {
background-color: $fair-pink;
border: none;
border-left: 4px solid $red;
border-radius: 4px;
margin: 0.5em 0;
padding: 0;
display: flex;

.column-left {
width: 70%;
font-size: 1rem;
font-weight: bold;
padding: 0.75em 1em;
}

.column-right {
width: 30%;
padding: 0.5em 1em;
text-align: right;
}
}
}

0 comments on commit 106bbb8

Please sign in to comment.