Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Commit

Permalink
Fix for Safari #5
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Dec 4, 2014
1 parent f979bb0 commit 504f96a
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions material-ui/components/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,31 @@
padding: 0;
margin: 0;

&+.mui-input-placeholder {
&~.mui-input-placeholder {
font-size: 13px;
color: blue;
top: -27px;
}
&~.mui-input-highlight {
width: 0;
background-color: blue;
left: 0;
top: 1px;
}
&~.mui-input-bar {

&+.mui-input-highlight {
width: 0;
&::before, &::after {
background-color: blue;
left: 0;
top: 1px;

&+.mui-input-bar {

&::before, &::after {
background-color: blue;
width: 50%;
}

&+.mui-input-description {
display: block;
}
}
width: 50%;
}
}
&~.mui-input-description {
display: block;
}
}

&:not(:focus) {
&+.mui-input-placeholder {
&~.mui-input-placeholder {
font-size: 16px;
color: gray;
}
Expand Down

0 comments on commit 504f96a

Please sign in to comment.