-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI Review: CSS class cleanup. Classname naming convention changes. Re…
…moval of some unnecessary classes on the frontend, and changes to the view script to reflect these removals. Some style definitions moved from view stylesheet to editor's since they aren't used on frontend.
- Loading branch information
1 parent
da91702
commit 49e51ba
Showing
4 changed files
with
45 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
@import './view.scss'; | ||
|
||
.wp-block-jetpack-mailchimp { | ||
.wp-block-jetpack-mailchimp-notification { | ||
|
||
.wp-block-jetpack-mailchimp_notification { | ||
display: block; | ||
} | ||
|
||
.wp-block-jetpack-mailchimp_button { | ||
background-color: #0073aa; | ||
border-radius: 5px; | ||
color: $white; | ||
font-family: $sans; | ||
font-weight: bold; | ||
margin-bottom: 1.5em; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,42 @@ | ||
.wp-block-jetpack-mailchimp { | ||
|
||
&.is-processing { | ||
form { | ||
display: none; | ||
} | ||
} | ||
.wp-block-jetpack-mailchimp-notification { | ||
display: none; | ||
margin-bottom: 23px; | ||
padding: 20px; | ||
text-align: center; | ||
&.is-visible { | ||
display: block; | ||
} | ||
} | ||
.wp-block-jetpack-mailchimp-error { | ||
background-color: #da5544; | ||
color: #fff; | ||
} | ||
.wp-block-jetpack-mailchimp-processing { | ||
background-color: #e0e5e9; | ||
} | ||
.wp-block-jetpack-mailchimp-success { | ||
background-color: #73b961; | ||
color: #fff; | ||
} | ||
.wp-block-jetpack-mailchimp-email { | ||
display: block; | ||
padding: 3px 9px; | ||
width: 50%; | ||
} | ||
|
||
.wp-block-jetpack-mailchimp_consent-text { | ||
color: $gray; | ||
font-size: 0.8em; | ||
font-style: italic; | ||
} | ||
.wp-block-jetpack-mailchimp-form-error { | ||
|
||
.wp-block-jetpack-mailchimp_form-error { | ||
border: 1px solid #ff0000; | ||
} | ||
.wp-block-jetpack-mailchimp_button { | ||
background-color: #0073aa; | ||
border-radius: 5px; | ||
color: $white; | ||
font-family: $sans; | ||
font-weight: bold; | ||
margin-bottom: 1.5em; | ||
|
||
.wp-block-jetpack-mailchimp_notification { | ||
display: none; | ||
margin-bottom: 23px; | ||
padding: 20px; | ||
text-align: center; | ||
&.is-visible { | ||
display: block; | ||
} | ||
|
||
&.wp-block-jetpack-mailchimp_error { | ||
background-color: #da5544; | ||
color: #fff; | ||
} | ||
|
||
&.wp-block-jetpack-mailchimp_processing { | ||
background-color: #e0e5e9; | ||
} | ||
|
||
&.wp-block-jetpack-mailchimp_success { | ||
background-color: #73b961; | ||
color: #fff; | ||
} | ||
} | ||
} |