Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#2087 from alivedise/fix-modal-dialog-f…
Browse files Browse the repository at this point in the history
…or-hvga

[F] modal dialog for hvga
  • Loading branch information
timdream committed Jun 29, 2012
2 parents bd892f4 + f8e1a60 commit 72bbd82
Showing 1 changed file with 44 additions and 13 deletions.
57 changes: 44 additions & 13 deletions apps/system/style/modal_dialog/modal_dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
}

#modal-dialog-prompt input {
border-radius: 3px 3px 3px 3px;
height: 60px;
font-size: 30px;
border-radius: 2px 2px 2px 2px;
height: 40px;
font-size: 20px;
width: 100%;
color: black;
-moz-box-sizing: border-box;
Expand All @@ -52,9 +52,9 @@
width: 100%;
color: white;
padding: 1em;
min-height: 30px;
border-radius: 6px 6px 0 0;
font-size: 25px;
min-height: 20px;
border-radius: 4px 4px 0 0;
font-size: 15px;
-moz-box-sizing: border-box;
}

Expand All @@ -64,17 +64,48 @@

#modal-dialog button {
text-align: left;
width: 200px;
height: 60px;
width: 133px;
height: 40px;
background: white;
color: black;
font-size: 30px;
border-radius: 6px 6px 6px 6px;
margin: 3px;
font-size: 20px;
border-radius: 4px 4px 4px 4px;
margin: 2px;
}

#modal-dialog button:active {
background: #eee;
/* 480x800 phones */
@media (orientation: portrait) and (width: 480px),
(orientation: landscape) and (width: 800px) {
#modal-dialog button {
text-align: left;
width: 200px;
height: 60px;
background: white;
color: black;
font-size: 30px;
border-radius: 6px 6px 6px 6px;
margin: 3px;
}

#modal-dialog-prompt input {
border-radius: 3px 3px 3px 3px;
height: 60px;
font-size: 30px;
width: 100%;
color: black;
-moz-box-sizing: border-box;
}

.modal-dialog-message-container {
text-align: left;
width: 100%;
color: white;
padding: 1em;
min-height: 30px;
border-radius: 6px 6px 0 0;
font-size: 25px;
-moz-box-sizing: border-box;
}
}

/* remove ugly dotted outline when focus */
Expand Down

0 comments on commit 72bbd82

Please sign in to comment.