Skip to content

Commit

Permalink
tweak demo css
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Jan 13, 2014
1 parent ead8605 commit 68de8f2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
9 changes: 7 additions & 2 deletions build/css/demo.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* {
box-sizing: border-box;
-moz-box-sizing: border-box; }

body {
margin: 20px;
font-size: 14px;
Expand All @@ -10,15 +14,16 @@ pre {
margin: 0;
display: inline-block; }

.intl-tel-input input {
input[type="tel"] {
width: 250px;
height: 30px;
padding: 0 8px;
font-family: inherit;
font-size: 100%;
color: inherit; }
.intl-tel-input input[disabled] {
input[type="tel"][disabled] {
background-color: #eee; }

.intl-tel-input.inside input {
border: 1px solid #CCC; }
.intl-tel-input.outside {
Expand Down
29 changes: 17 additions & 12 deletions src/css/demo.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}

body {
margin: 20px;

Expand All @@ -13,22 +18,22 @@ pre {
display: inline-block;
}

.intl-tel-input {
input {
width: 250px;
height: 30px;
padding: 0 8px;
input[type="tel"] {
width: 250px;
height: 30px;
padding: 0 8px;

// same font style, size and color as rest of site
font-family: inherit;
font-size: 100%;
color: inherit;
// same font style, size and color as rest of site
font-family: inherit;
font-size: 100%;
color: inherit;

&[disabled] {
background-color: #eee;
}
&[disabled] {
background-color: #eee;
}
}

.intl-tel-input {
&.inside input {
border: 1px solid #CCC;
}
Expand Down

0 comments on commit 68de8f2

Please sign in to comment.