[Pkg-owncloud-commits] [owncloud] 73/111: fix input type time fields, have them use the default styles

David Prévot taffit at moszumanska.debian.org
Wed Nov 20 21:38:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 8dd50dc9a6f453de189b6b5a7b53deba9ffeb889
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Mon Nov 18 14:51:43 2013 +0100

    fix input type time fields, have them use the default styles
---
 core/css/styles.css |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index 15eae52..c0d6c9f 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -47,7 +47,7 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari
 }
 
 /* INPUTS */
-input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"],
+input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], input[type="time"],
 textarea, select,
 button, .button,
 #quota, .pager li a {
@@ -57,13 +57,14 @@ button, .button,
 	border-radius: 3px;
 }
 input[type="hidden"] { height:0; width:0; }
-input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], textarea {
+input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], input[type="time"],
+textarea {
 	background: #fff;
 	color: #555;
 	cursor: text;
 	font-family: inherit; /* use default ownCloud font instead of default textarea monospace */
 }
-input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"] {
+input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="url"], input[type="time"] {
 	-webkit-appearance:textfield; -moz-appearance:textfield;
 	-webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box;
 }
@@ -73,12 +74,18 @@ input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:act
 .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
 input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active,
 input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active,
+input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active,
 textarea:hover, textarea:focus, textarea:active {
 	color: #333;
 	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1;
 }
 input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
 input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
+input[type="time"] {
+	width: 110px;
+	height: 30px;
+	-moz-box-sizing: border-box; box-sizing: border-box;
+}
 #quota {
 	cursor: default;
 	margin: 30px;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list