mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-22 14:40:41 +03:00
#799 - Increases the specifity of all the core selectors
This commit is contained in:
parent
2fdf3e90a4
commit
996bdc3634
126
less/_core.less
126
less/_core.less
|
@ -1,4 +1,4 @@
|
||||||
body {
|
body.@{ns} {
|
||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
&.inverse {
|
&.inverse {
|
||||||
background: #333333;
|
background: #333333;
|
||||||
|
@ -16,78 +16,82 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
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;
|
||||||
}
|
|
||||||
|
|
||||||
h5, h6{
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
|
||||||
font-weight: 400;
|
font-family: @font-family-sans-serif;
|
||||||
}
|
font-weight: 300;
|
||||||
|
|
||||||
a, a:hover, a:focus {
|
|
||||||
color: @link-color;
|
|
||||||
|
|
||||||
& .material-icons {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@import "_form.less";
|
h5, h6{
|
||||||
@import "_welljumbo.less";
|
font-weight: 400;
|
||||||
@import "_buttons.less";
|
|
||||||
@import "_checkboxes.less";
|
|
||||||
@import "_togglebutton.less";
|
|
||||||
@import "_radios.less";
|
|
||||||
@import "_inputs.less";
|
|
||||||
|
|
||||||
legend {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "_lists.less";
|
|
||||||
@import "_navbar.less";
|
|
||||||
|
|
||||||
.dropdown-menu {
|
|
||||||
border: 0;
|
|
||||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
|
|
||||||
.divider {
|
|
||||||
background-color: rgba(229, 229, 229, 0.12);
|
|
||||||
}
|
}
|
||||||
li {
|
|
||||||
overflow: hidden;
|
a, a:hover, a:focus {
|
||||||
position: relative;
|
color: @link-color;
|
||||||
a:hover {
|
|
||||||
background-color: transparent;
|
& .material-icons {
|
||||||
color: @brand-primary;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@import "_alerts.less";
|
@import "_form.less";
|
||||||
@import "_progress.less";
|
@import "_welljumbo.less";
|
||||||
@import "_typography.less";
|
@import "_buttons.less";
|
||||||
@import "_tabs.less";
|
@import "_checkboxes.less";
|
||||||
@import "_popups.less";
|
@import "_togglebutton.less";
|
||||||
@import "_cards.less";
|
@import "_radios.less";
|
||||||
@import "_dialogs.less";
|
@import "_inputs.less";
|
||||||
@import "_panels.less";
|
|
||||||
@import "_dividers.less";
|
|
||||||
|
|
||||||
// Prevent highlight on mobile
|
legend {
|
||||||
* {
|
border-bottom: 0;
|
||||||
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
||||||
-webkit-tap-highlight-color: transparent;
|
|
||||||
&:focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import "_lists.less";
|
||||||
|
@import "_navbar.less";
|
||||||
|
|
||||||
|
.dropdown-menu {
|
||||||
|
border: 0;
|
||||||
|
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
|
||||||
|
.divider {
|
||||||
|
background-color: rgba(229, 229, 229, 0.12);
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
a:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
color: @brand-primary;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@import "_alerts.less";
|
||||||
|
@import "_progress.less";
|
||||||
|
@import "_typography.less";
|
||||||
|
@import "_tabs.less";
|
||||||
|
@import "_popups.less";
|
||||||
|
@import "_cards.less";
|
||||||
|
@import "_dialogs.less";
|
||||||
|
@import "_panels.less";
|
||||||
|
@import "_dividers.less";
|
||||||
|
|
||||||
|
// Prevent highlight on mobile
|
||||||
|
* {
|
||||||
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
&:focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@import "_themes.less";
|
||||||
|
|
||||||
|
// External plugins
|
||||||
|
@import "_plugins.less";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@import "_themes.less";
|
|
||||||
|
|
||||||
// External plugins
|
|
||||||
@import "_plugins.less";
|
|
||||||
|
|
|
@ -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)";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user