Index: static/scss/_utilities.scss |
=================================================================== |
--- a/static/scss/_utilities.scss |
+++ b/static/scss/_utilities.scss |
@@ -21,135 +21,135 @@ |
/* Responsive widths |
******************************************************************************/ |
/** |
* Stretch content (e.g. images) full-width |
*/ |
.full-width |
{ |
- display: block; |
- width: 100%; |
+ display: block !important; |
+ width: 100% !important; |
} |
/** |
* Center content within a (responsive) fixed width |
*/ |
.container |
{ |
- width: $container-width; |
- max-width: 100%; |
- margin-right: auto; |
- margin-left: auto; |
- padding-right: $small-space; |
- padding-left: $small-space; |
+ width: $container-width !important; |
+ max-width: 100% !important; |
+ margin-right: auto !important; |
+ margin-left: auto !important; |
+ padding-right: $small-space !important; |
+ padding-left: $small-space !important; |
} |
/* Device widths |
******************************************************************************/ |
-.phone-width { width: $phone-width; } |
-.phablet-width { width: $phablet-width; } |
-.tablet-width { width: $tablet-width; } |
-.desktop-width { width: $desktop-width; } |
-.large-desktop-width { width: $large-desktop-width; } |
+.phone-width { width: $phone-width !important; } |
+.phablet-width { width: $phablet-width !important; } |
+.tablet-width { width: $tablet-width !important; } |
+.desktop-width { width: $desktop-width !important; } |
+.large-desktop-width { width: $large-desktop-width !important; } |
/* Text alignment |
******************************************************************************/ |
-.text-center { text-align: center; } |
-.text-left { text-align: left; } |
-.text-right { text-align: right; } |
-.text-start { text-align: left; } |
-[dir="rtl"] .text-start { text-align: right; } |
-.text-end { text-align: right; } |
-[dir="rtl"] .text-end { text-align: left; } |
+.text-center { text-align: center !important; } |
+.text-left { text-align: left !important; } |
+.text-right { text-align: right !important; } |
+.text-start { text-align: left !important; } |
+[dir="rtl"] .text-start { text-align: right !important; } |
+.text-end { text-align: right !important; } |
+[dir="rtl"] .text-end { text-align: left !important; } |
/* Floats |
******************************************************************************/ |
- .float-start { float: left; } |
- [dir="rtl"] .float-start { float: right; } |
- .float-end { float: right; } |
- [dir="rtl"] .float-end { float: left; } |
+ .float-start { float: left !important; } |
+ [dir="rtl"] .float-start { float: right !important; } |
+ .float-end { float: right !important; } |
+ [dir="rtl"] .float-end { float: left !important; } |
/* Clearfix |
******************************************************************************/ |
.clearfix:after, |
.clearfix:before |
{ |
- display: table; |
- content: " "; |
+ display: table !important; |
+ content: " " !important; |
} |
.clearfix:after |
{ |
- clear: both; |
+ clear: both !important; |
} |
/* Screen reader only |
******************************************************************************/ |
.sr-only |
{ |
- position: absolute; |
- overflow: hidden; |
- clip: rect(0, 0, 0, 0); |
- width: 1px; |
- height: 1px; |
- margin: -1px; |
- padding: 0; |
- border: 0; |
+ position: absolute !important; |
+ overflow: hidden !important; |
+ clip: rect(0, 0, 0, 0) !important; |
+ width: 1px !important; |
+ height: 1px !important; |
+ margin: -1px !important; |
+ padding: 0 !important; |
+ border: 0 !important; |
} |
/* Unstyled elements |
******************************************************************************/ |
.unstyled, |
.unstyled *, |
.content .unstyled |
{ |
- margin: 0; |
- padding: 0; |
- border: 0; |
- background: none; |
+ margin: 0 !important; |
+ padding: 0 !important; |
+ border: 0 !important; |
+ background: none !important; |
} |
ul.unstyled |
{ |
- list-style: none; |
+ list-style: none !important; |
} |
/* Backgrounds |
******************************************************************************/ |
.bg-primary |
{ |
- color: $primary-light; |
- background-color: $primary-dark; |
+ color: $primary-light !important; |
+ background-color: $primary-dark !important; |
} |
.bg-secondary |
{ |
- color: $secondary-light; |
- background-color: $secondary-dark; |
+ color: $secondary-light !important; |
+ background-color: $secondary-dark !important; |
} |
.bg-accent |
{ |
- color: $accent-light; |
- background-color: $accent-dark; |
+ color: $accent-light !important; |
+ background-color: $accent-dark !important; |
} |
.bg-error |
{ |
- color: $error-light; |
- background-color: $error-dark; |
+ color: $error-light !important; |
+ background-color: $error-dark !important; |
} |
/* Lead |
******************************************************************************/ |
.lead |
{ |
- font-size: 1.25em; |
+ font-size: 1.25em !important; |
} |