mdb-ui-kit/sass/material.scss

143 lines
2.1 KiB
SCSS
Raw Normal View History

@import '_colors';
@import '_variables';
@import '_mixins';
@import '_icons-material-design';
2014-10-03 15:58:24 +04:00
body {
background-color: $body-bg;
&.inverse {
background: #333333;
&, .form-control {
color: $darkbg-text;
}
.modal,
.panel-default,
.card {
&,
.form-control {
background-color: initial;
color: initial;
}
2014-10-03 15:58:24 +04:00
}
}
}
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
font-family: "RobotoDraft", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 300;
2014-10-03 15:58:24 +04:00
}
h5, h6{
font-weight: 400;
}
a, a:hover, a:focus {
color: $primary;
2014-10-03 15:58:24 +04:00
}
// Well and Jumbotrons
@import '_welljumbo';
2014-10-03 15:58:24 +04:00
// Buttons
@import '_buttons';
2014-10-03 15:58:24 +04:00
// Checkboxes
@import '_checkboxes';
// Toggle buttons
@import '_togglebutton';
2014-10-03 15:58:24 +04:00
// Radios
@import '_radios';
2014-10-03 15:58:24 +04:00
// Text inputs
@import '_inputs';
2014-10-03 15:58:24 +04:00
legend {
border-bottom: 0;
2014-10-03 15:58:24 +04:00
}
// Lists
@import '_lists';
2014-10-03 15:58:24 +04:00
// Navbar
@import '_navbar';
2014-10-03 15:58:24 +04:00
.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: $primary;
2014-10-03 15:58:24 +04:00
}
}
@include variations(unquote(" li a:hover"), color, $primary);
2014-10-03 15:58:24 +04:00
}
// Alerts
@import '_alerts';
2014-10-03 15:58:24 +04:00
// Progress bar
@import '_progress';
2014-10-03 15:58:24 +04:00
// Typography
.text-warning {
color: $btn-warning;
2014-10-03 15:58:24 +04:00
}
.text-primary {
color: $btn-primary;
2014-10-03 15:58:24 +04:00
}
.text-danger {
color: $btn-danger;
2014-10-03 15:58:24 +04:00
}
.text-success {
color: $btn-success;
2014-10-03 15:58:24 +04:00
}
.text-info {
color: $btn-info;
2014-10-03 15:58:24 +04:00
}
@import '_tabs';
@import '_popups';
@import '_icons';
2014-10-03 15:58:24 +04:00
@import '_cards';
2014-10-03 15:58:24 +04:00
@import '_dialogs';
@import '_labels';
@import '_panels';
@import '_dividers';
// Prevent highlight on mobile
* {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-webkit-tap-highlight-color: transparent;
&:focus {
outline: 0;
}
}
2014-10-03 15:58:24 +04:00
// External plugins
@import '_plugin-snackbarjs';
@import '_plugin-nouislider';
@import '_plugin-selectize';
@import '_plugin-dropdownjs';
// Material shadows
// Place them on bottom of stylesheet to increase the importance of it and override other same-specificity selectors
@import '_shadows';