1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

set color to form-control-plaintext (#25565)

* set color to `.form-control-plaintext`
* fixes readability on dark themes like ‘darkly’
  * https://bootswatch.com/darkly/index.html#forms
  * https://bootswatch.com/slate/index.html#forms
  * https://bootswatch.com/superhero/index.html#superhero
  * https://bootswatch.com/solar/index.html#forms

/cc @thomaspark
This commit is contained in:
m5o
2018-02-11 23:25:36 +01:00
committed by Mark Otto
parent 3ffe4f82b7
commit f81f419b22
2 changed files with 2 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ select.form-control {
padding-bottom: $input-padding-y;
margin-bottom: 0; // match inputs if this class comes on inputs with default margins
line-height: $input-line-height;
color: $input-plaintext-color;
background-color: transparent;
border: solid transparent;
border-width: $input-border-width 0;