Skip to content

Commit

Permalink
Merge pull request #311 from MoveOnOrg/cpa
Browse files Browse the repository at this point in the history
Add CPA styles
  • Loading branch information
sjwmoveon authored Jun 29, 2023
2 parents fc7f115 + b4a3ee0 commit cd242a8
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
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

0 comments on commit cd242a8

Please sign in to comment.