Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/_utilities.scss

Issue 29591558: Issue 5941 - Implemented background-color utility classes (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 29, 2017, 1:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pages/utilities.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/_utilities.scss
===================================================================
--- a/static/scss/_utilities.scss
+++ b/static/scss/_utilities.scss
@@ -61,8 +61,35 @@
display: table;
content: " ";
}
.clearfix:after
{
clear: both;
}
+
+/* Backgrounds
+ ******************************************************************************/
+
+.bg-primary
+{
+ color: $primary-light;
+ background-color: $primary-dark;
+}
+
+.bg-secondary
+{
+ color: $secondary-light;
+ background-color: $secondary-dark;
+}
+
+.bg-accent
+{
+ color: $accent-light;
+ background-color: $accent-dark;
+}
+
+.bg-error
+{
+ color: $error-light;
+ background-color: $error-dark;
+}
« no previous file with comments | « pages/utilities.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld