Make text selection readable app-wide, not just inputs

pull/763/head
Alex P 2017-01-12 10:59:04 -08:00
parent 4c48fe4acf
commit 958cac834c
2 changed files with 17 additions and 26 deletions

View File

@ -454,17 +454,17 @@ a:active.link-warning {
}
::-moz-selection {
color: #fff;
background-color: #757888;
background-color: #22ADF6;
/* WebKit/Blink Browsers */
}
::selection {
color: #fff;
background-color: #757888;
background-color: #22ADF6;
/* WebKit/Blink Browsers */
}
::-moz-selection {
color: #fff;
background-color: #757888;
background-color: #22ADF6;
/* Gecko Browsers */
}
.btn {

View File

@ -105,20 +105,6 @@
border-color: $g5-pepper !important;
color: $g15-platinum !important;
&::-webkit-input-placeholder { color: $g10-wolf; }
&::-moz-placeholder { color: $g10-wolf; }
&:-ms-input-placeholder { color: $g10-wolf; }
&:-moz-placeholder { color: $g10-wolf; }
&::selection {
background-color: $c-laser;
color: $g20-white;
}
&::-moz-selection {
background-color: $c-laser;
color: $g20-white;
}
&:hover {
border-color: $g6-smoke !important;
}
@ -143,20 +129,25 @@
.form-group-submit {
margin-top: 30px;
}
textarea {
/* Placeholder Text */
.form-control,
textarea,
input {
&::-webkit-input-placeholder { color: $g10-wolf; }
&::-moz-placeholder { color: $g10-wolf; }
&:-ms-input-placeholder { color: $g10-wolf; }
&:-moz-placeholder { color: $g10-wolf; }
}
&::selection {
background-color: $c-laser;
color: $g20-white;
}
&::-moz-selection {
background-color: $c-laser;
color: $g20-white;
}
/* Text Selection Styling */
::selection {
background-color: $c-pool !important;
color: $g20-white !important;
}
::-moz-selection {
background-color: $c-pool !important;
color: $g20-white !important;
}