#799 - Increases the specifity of all the core selectors

This commit is contained in:
Sergio Cinos 2016-01-04 12:37:54 +01:00
parent 2fdf3e90a4
commit 996bdc3634
2 changed files with 68 additions and 61 deletions

View File

@ -1,4 +1,4 @@
body { body.@{ns} {
background-color: @body-bg; background-color: @body-bg;
&.inverse { &.inverse {
background: #333333; background: #333333;
@ -16,10 +16,10 @@ body {
} }
} }
} font-family: @font-family-sans-serif;
font-weight: 300;
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
font-family: @font-family-sans-serif; font-family: @font-family-sans-serif;
font-weight: 300; font-weight: 300;
} }
@ -91,3 +91,7 @@ legend {
// External plugins // External plugins
@import "_plugins.less"; @import "_plugins.less";
}

View File

@ -1,5 +1,8 @@
@import "_colors.less"; @import "_colors.less";
// Namespace
@ns: material;
// Typography elements // Typography elements
@mdb-font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif; @mdb-font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
@mdb-text-color-light: ~"rgba(@{rgb-white}, 0.84)"; @mdb-text-color-light: ~"rgba(@{rgb-white}, 0.84)";