cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [08/12] git commit: smaller fonts styling input
Date Fri, 25 Oct 2013 21:33:56 GMT
smaller fonts
styling input


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/01db31ea
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/01db31ea
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/01db31ea

Branch: refs/heads/dev
Commit: 01db31eaec7ceaebdd280b286e83b15d5587d167
Parents: f885558
Author: Piotr Zalewa <piotr@zalewa.info>
Authored: Wed Oct 23 12:56:28 2013 +0200
Committer: Piotr Zalewa <piotr@zalewa.info>
Committed: Wed Oct 23 12:56:28 2013 +0200

----------------------------------------------------------------------
 www/firefoxos/notification.css | 29 ++++++++++++++++++++++++++---
 1 file changed, 26 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/01db31ea/www/firefoxos/notification.css
----------------------------------------------------------------------
diff --git a/www/firefoxos/notification.css b/www/firefoxos/notification.css
index 285a67c..af940de 100644
--- a/www/firefoxos/notification.css
+++ b/www/firefoxos/notification.css
@@ -30,7 +30,7 @@ form[role="dialog"]:before {
 
 form[role="dialog"] > section {
   font-weight: lighter;
-  font-size: 2.2rem;
+  font-size: 1.8rem;
   color: #FAFAFA;
   padding: 0 1.5rem;
   -moz-box-sizing: padding-box;
@@ -74,7 +74,7 @@ form[role="dialog"] menu button::-moz-focus-inner {
 }
 form[role="dialog"] menu button {
   width: 100%;
-  height: 3.8rem;
+  height: 2.4rem;
   margin: 0 0 1rem;
   padding: 0 1.5rem;
   -moz-box-sizing: border-box;
@@ -86,7 +86,7 @@ form[role="dialog"] menu button {
   background: #fafafa url(../img/default.png) repeat-x left bottom/ auto 100%;
   border: 0.1rem solid #a6a6a6;
   border-radius: 0.3rem;
-  font: 500 1.6rem/3.8rem 'MozTT', Sans-serif;
+  font: 500 1.2rem/2.4rem 'MozTT', Sans-serif;
   color: #333;
   text-align: center;
   text-shadow: 0.1rem 0.1rem 0 rgba(255,255,255,0.3);
@@ -202,3 +202,26 @@ form[role="dialog"] dl > dd {
   overflow: hidden;
 }
 
+/* input areas */
+input[type="text"],
+input[type="password"],
+input[type="email"],
+input[type="tel"],
+input[type="search"],
+input[type="url"],
+input[type="number"],
+textarea {
+  -moz-box-sizing: border-box;
+  display: block;
+  overflow: hidden;
+  width: 100%;
+  height: 3rem;
+  resize: none;
+  padding: 0 1rem;
+  font-size: 1.6rem;
+  line-height: 3rem;
+  border: 0.1rem solid #ccc;
+  border-radius: 0.3rem;
+  box-shadow: none; /* override the box-shadow from the system (performance issue) */
+  background: #fff url(input_areas/images/ui/shadow.png) repeat-x;
+}


Mime
View raw message