fix: dropdown, docs stying, input styling

This commit is contained in:
Federico Zivolo 2017-08-31 15:36:40 +02:00
parent bd9102b407
commit 07657db760
6 changed files with 6 additions and 11 deletions

View File

@ -345,9 +345,6 @@
margin-right: -15px;
margin-left: -15px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.bd-search .form-control:focus {
border-color: #6e7dd3;
box-shadow: 0 0 0 3px rgba(110, 125, 211, 0.25); }
.bd-search-docs-toggle {
line-height: 1;

File diff suppressed because one or more lines are too long

View File

@ -94,11 +94,6 @@
margin-right: -15px;
margin-left: -15px;
border-bottom: 1px solid rgba(0,0,0,.05);
.form-control:focus {
border-color: $bd-purple-bright;
box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25);
}
}
.bd-search-docs-toggle {

View File

@ -25,7 +25,7 @@
"build": "npm run build:js && npm run build:css",
"build:js": "rollup js/index.js --output=dist/js/bootstrap-material-design.js -m --config=rollup.config.js && npm run build:js-min",
"build:js-min": "babili dist/js/bootstrap-material-design.js -d dist/js/bootstrap-material-design.min.js",
"build:css": "mkdir dist/css && node-sass --include-path node_modules scss/bootstrap-material-design.scss > dist/css/bootstrap-material-design.css && npm run build:css-min",
"build:css": "mkdir -p dist/css && node-sass --include-path node_modules scss/bootstrap-material-design.scss > dist/css/bootstrap-material-design.css && npm run build:css-min",
"build:css-min": "cssnano dist/css/bootstrap-material-design.css dist/css/bootstrap-material-design.min.css"
},
"style": "dist/css/bootstrap-material-design.css",

View File

@ -41,7 +41,8 @@
padding: .5rem 0;
}
.open > & {
.open > &,
&.show {
//z-index: 999;
opacity: 1;
transform: scale(1);

View File

@ -27,6 +27,8 @@ form {
background-size: $bmd-form-control-bg-size;
border: 0;
transition: background 0s ease-out;
padding-left: 0;
padding-right: 0;
// The border bottom should be static in all states, the decorator will be animated over this.
&:focus,