datepicker: update icon, position icon left - jscancer - Javascript crap (relat… | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9e1bb1464a150fa8b9d1d253ccd5ca571b105c53 | |
parent cc9f1342e27fd2ad3d5c1ef62e407a7efe9dbf5d | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 2 Jun 2016 18:43:52 +0200 | |
datepicker: update icon, position icon left | |
position datepicker icon on the left because a clear button is usually | |
on the right. | |
Diffstat: | |
M datepicker/datepicker.css | 7 ++++--- | |
1 file changed, 4 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/datepicker/datepicker.css b/datepicker/datepicker.css | |
@@ -70,8 +70,9 @@ table.datepicker tbody tr td.v:hover { | |
color: #fff; | |
} | |
input.datepicker { | |
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA… | |
- background-position: right top; | |
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA… | |
+ background-position: 3px center; | |
background-repeat: no-repeat; | |
- padding: 5px 3px; | |
+ padding: 5px 3px 5px 20px; | |
+ width: 14ex; | |
} |