[geeklog-cvs] geeklog: newpro: Add a default margin to checkboxes and fix box ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Apr 28 13:52:56 EDT 2012


changeset 8636:cd9f9c76a142
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/cd9f9c76a142
user: Rouslan Placella <rouslan at placella.com>
date: Sat Apr 28 18:49:18 2012 +0100
description:
newpro: Add a default margin to checkboxes and fix box sizing on input elements

diffstat:

 public_html/layout/newpro/css/common.css |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r a0a7bd48a92b -r cd9f9c76a142 public_html/layout/newpro/css/common.css
--- a/public_html/layout/newpro/css/common.css	Sat Apr 28 18:02:33 2012 +0100
+++ b/public_html/layout/newpro/css/common.css	Sat Apr 28 18:49:18 2012 +0100
@@ -106,6 +106,10 @@
 input,
 select,
 textarea {
+  box-sizing: border-box;
+  -ms-box-sizing: border-box;
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
   font-family: arial,verdana,tahoma,helvetica,sans-serif;
 /*    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, "MS Pゴシック", Verdana, Arial, Helvetica, sans-serif;  */
 }
@@ -115,6 +119,10 @@
 input.text {
 }
 
+input[type="checkbox"] {
+  margin: 0 0.3em;
+}
+
 /* Submit Button */
 input.submit {
 }



More information about the geeklog-cvs mailing list