Browse Source

added checkbox image for white theme

Torkel Ödegaard 11 years ago
parent
commit
f908ae8c40

+ 2 - 2
src/css/less/forms.less

@@ -16,11 +16,11 @@ input[type="checkbox"]+.cr1 {
   margin-top: 4px;
   margin-top: 4px;
   padding: 0 0 0 20px;
   padding: 0 0 0 20px;
   vertical-align:middle;
   vertical-align:middle;
-  background:url(../img/checkbox.png) left top no-repeat;
+  background: url(@checkboxImageUrl) left top no-repeat;
   cursor:pointer;
   cursor:pointer;
 }
 }
 
 
 input[type="checkbox"]:checked+label {
 input[type="checkbox"]:checked+label {
-  background:url(../img/checkbox.png) 0px -18px no-repeat;
+  background: url(@checkboxImageUrl) 0px -18px no-repeat;
 }
 }
 
 

+ 2 - 1
src/css/less/variables.dark.less

@@ -290,7 +290,8 @@
 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
 @popoverArrowOuterColor:  rgba(0,0,0,.25);
 @popoverArrowOuterColor:  rgba(0,0,0,.25);
 
 
-
+// images
+@checkboxImageUrl: '../img/checkbox.png';
 
 
 // GRID
 // GRID
 // --------------------------------------------------
 // --------------------------------------------------

+ 2 - 2
src/css/less/variables.light.less

@@ -299,12 +299,12 @@
 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
 @popoverArrowOuterWidth:  @popoverArrowWidth + 1;
 @popoverArrowOuterColor:  rgba(0,0,0,.25);
 @popoverArrowOuterColor:  rgba(0,0,0,.25);
 
 
-
+// images
+@checkboxImageUrl: '../img/checkbox_white.png';
 
 
 // GRID
 // GRID
 // --------------------------------------------------
 // --------------------------------------------------
 
 
-
 // Default 940px grid
 // Default 940px grid
 // -------------------------
 // -------------------------
 @gridColumns:             12;
 @gridColumns:             12;

BIN
src/img/checkbox_white.png