datepicker: update icon, position icon left - jscancer - Javascript crap (relatively small)
(HTM) git clone git://git.codemadness.org/jscancer
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9e1bb1464a150fa8b9d1d253ccd5ca571b105c53
(DIR) parent cc9f1342e27fd2ad3d5c1ef62e407a7efe9dbf5d
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
(DIR) 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,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAMAAABFjsb+AAAANlBMVEX///8AAAAAiMwAiMwRhs4Rhs4Ch8wIh80Hh80Fh8wGh8wGh8wGh8wFh8wCh8wEh8wAiMwAiMxZqlK3AAAAEXRSTlMAAB2AzsmG0taMwMXv84WJYfFSzyAAAABDSURBVHhezchJDoAgEATAtlndnf9/FoITGS8m3qhjYTTT4/8hyM2bi3qzOaZWmTBcOweLS62VeOEmu1Z3yKnR8SI+FEw1AqTD6lo9AAAAAElFTkSuQmCC");
- background-position: right top;
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOAgMAAACJEX5BAAAACVBMVEVwAA0iIiL////p99IrAAAAAXRSTlMAQObYZgAAACRJREFUCNdjYHUIYWBgc0hhYAgLTXWAEKGhoQ4MmctmQQnCXAB/+BRWeqchagAAAABJRU5ErkJggg==");
+ background-position: 3px center;
background-repeat: no-repeat;
- padding: 5px 3px;
+ padding: 5px 3px 5px 20px;
+ width: 14ex;
}