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

Add CPA styles #311

Merged
merged 3 commits into from
Jun 29, 2023
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
1 change: 1 addition & 0 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ body {
@import "mo-components/hero-title";
}
// PAGE STYLES
@import "pages/cpa";
@import "pages/petition";
@import "pages/donate";
@import "pages/donate_quickpay";
Expand Down
18 changes: 18 additions & 0 deletions src/styles/mo-utilities/_color-classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
.bg-gray {
background-color: $gray;
}
.bg-lighter-gray {
background-color: $lighter-gray;
}
.bg-light-gray {
background-color: $light-gray;
}
Expand Down Expand Up @@ -46,6 +49,12 @@
.bg-light-blue {
background-color: $light-blue;
}
.bg-lapis-blue {
background-color: $lapis-blue;
}
.bg-pale-blue {
background-color: $pale-blue;
}
.bg-red {
background-color: $red;
}
Expand All @@ -67,6 +76,9 @@
.gray {
color: $gray;
}
.lighter-gray {
color: $lighter-gray;
}
.light-gray {
color: $light-gray;
}
Expand Down Expand Up @@ -97,6 +109,12 @@
.light-blue {
color: $light-blue;
}
.lapis-blue {
color: $lapis-blue;
}
.pale-blue {
color: $pale-blue;
}
.red {
color: $red;
}
Expand Down
33 changes: 33 additions & 0 deletions src/styles/pages/_cpa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.giraffe {
.cpa {

#unknown_user {
background-color: $lighter-gray;
padding:27px;
.input-block {

label {
font-size: 15px;
}

input {
width: 100%;
border: 0px;
background-color: $white;
}

}

}

form #survey-questions label {
font-size:25px;
}
button.btn {
background-color: $lapis-blue;
@include hover {
background-color: $lapis-blue;
}
}
}
}
3 changes: 3 additions & 0 deletions src/styles/settings/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $thin-air: #caf4ff;
$white: #ffffff;
$off-white: #f3f3f3;
$gray: #cacaca;
$lighter-gray: #eeeeee;
$light-gray: #a7a7a7;
$slate-gray: #696a6a;
$dark-gray: #222222;
Expand All @@ -17,7 +18,9 @@ $paypal-blue: #ffc538;
$paypal-blue-dark: #f5ae27;
$azure: #00abff;
$logo-blue: #1298FE;
$lapis-blue: #296190;
$light-blue: #99ddff;
$pale-blue: #e8f4fe;
$ice-blue: #e5f5ff;
$red: #ea1c24;
$muted-red: #c3645c;
Expand Down
3 changes: 3 additions & 0 deletions src/templates/pages/styleguide/basics.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
['#ffffff', '$white'],
['#f3f3f3', '$off-white'],
['#cacaca', '$gray'],
['#eeeeee', '$lighter-gray'],
['#a7a7a7', '$light-gray'],
['#696a6a', '$slate-gray'],
['rgba(34, 34, 34, 0.38)', '$dark-gray-38'],
Expand All @@ -37,7 +38,9 @@
['#005680', '$deep-sea-blue'],
['#0080bf', '$cerulean'],
['#00abff', '$azure'],
['#296190', '$lapis-blue'],
['#99ddff', '$light-blue'],
['#e8f4fe', '$pale-blue'],
['#e5f5ff', '$ice-blue'],
['#ea1c24', '$red']
] %}
Expand Down