2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

put all :hover styles within @media (hover: hover)

This commit is contained in:
Chris Rebert
2015-01-01 01:05:01 -08:00
parent c0f4dcd38e
commit 8e374bd010
26 changed files with 208 additions and 187 deletions
+10 -9
View File
@@ -182,10 +182,11 @@
}
// Hover state
// Uncomment if you need it, but be aware of the sticky iOS states.
// .select select:hover {
// background-color: #ddd;
// }
.select select {
@include hover {
background-color: #ddd;
}
}
// Media query to target Firefox only
@@ -223,11 +224,11 @@
content: "";
background-color: #eee;
}
.select select:hover,
.select select:focus,
.select select:active {
color: #555;
background-color: #eee;
.select select {
@include hover-focus-active {
color: #555;
background-color: #eee;
}
}
}