fix(video): prevent styles from bleeding into html video tag

This commit is contained in:
mhartington
2015-01-28 14:17:33 -05:00
parent f67605bfb7
commit 7e762b9cbf
2 changed files with 17 additions and 13 deletions

View File

@@ -214,10 +214,13 @@ input[type="color"] {
}
}
input,
textarea {
width: 100%;
.item-input {
input,
textarea {
width: 100%;
}
}
textarea {
padding-left: 0;
@include placeholder($input-color-placeholder, -3px);
@@ -255,14 +258,16 @@ input[type="checkbox"] {
}
// Reset width of input images, buttons, radios, checkboxes
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
width: auto; // Override of generic input selector
.item-input {
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
width: auto; // Override of generic input selector
}
}
// Set the height of file to match text inputs

View File

@@ -4,7 +4,7 @@
* --------------------------------------------------
*/
input[type="range"] {
.range input{
display: inline-block;
overflow: hidden;
margin-top: 5px;
@@ -119,4 +119,3 @@ input[type="range"] {
padding-right: 5px;
padding-left: 0;
}