Add local copy of checkbox icon

This commit is contained in:
Rnhmjoj 2014-06-25 16:29:24 +02:00
parent 0452bf329a
commit d40e990bd3
4 changed files with 9 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -119,7 +119,7 @@ nav {
top: 4px; top: 4px;
left: 3px; left: 3px;
content:""; content:"";
background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); background:url(@checkbox-icon);
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
@ -134,7 +134,7 @@ nav {
top: 4px; top: 4px;
left: 2px; left: 2px;
content:""; content:"";
background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); background:url(@checkbox-icon);
background-position:-20px; background-position:-20px;
width: 22px; width: 22px;
height: 22px; height: 22px;
@ -161,7 +161,7 @@ nav {
left: 4px; left: 4px;
top: 4px; top: 4px;
content:""; content:"";
background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); background:url(@checkbox-icon);
background-position:-23px; background-position:-23px;
} }
@ -174,7 +174,7 @@ nav {
left: 3px; left: 3px;
top: 4px; top: 4px;
content:""; content:"";
background:url('http://static.tumblr.com/upanoab/0hOmmcbuh/tick-sprite.png'); background:url(@checkbox-icon);
} }
} }

View File

@ -110,6 +110,8 @@
@icon-font-name: "flat-ui-icons-regular"; @icon-font-name: "flat-ui-icons-regular";
@icon-font-svg-id: "flat-ui-icons-regular"; @icon-font-svg-id: "flat-ui-icons-regular";
@checkbox-icon: "../icons/internal/tick.png"
//** Icon sizes for use in components //** Icon sizes for use in components
@icon-normal: 16px; @icon-normal: 16px;
@icon-medium: 18px; @icon-medium: 18px;
@ -190,7 +192,7 @@
@input-line-height-large: 1.235; // ~21px @input-line-height-large: 1.235; // ~21px
@input-line-height-huge: 1.318; // ~29px @input-line-height-huge: 1.318; // ~29px
@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px
@input-bg: @inverse; @input-bg: @inverse;
@input-bg-disabled: mix(@gray, white, 10%); @input-bg-disabled: mix(@gray, white, 10%);
@ -219,7 +221,7 @@
@input-line-height-large: 1.235; // ~21px @input-line-height-large: 1.235; // ~21px
@input-line-height-huge: 1.318; // ~29px @input-line-height-huge: 1.318; // ~29px
@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px @input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px
@input-bg: @inverse; @input-bg: @inverse;
@input-bg-disabled: mix(@gray, white, 10%); @input-bg-disabled: mix(@gray, white, 10%);

View File

@ -3,7 +3,7 @@
"description": "Less-only Flat UI that doesn't require javascript", "description": "Less-only Flat UI that doesn't require javascript",
"homepage": "https://github.com/Rnhmjoj/flatter-ui", "homepage": "https://github.com/Rnhmjoj/flatter-ui",
"author": "Michele Guerini Rocco <micheleguerinirocco@me.com>", "author": "Michele Guerini Rocco <micheleguerinirocco@me.com>",
"version": "0.1.6", "version": "0.1.7",
"git": "https://github.com/rnhmjoj/flatter-ui.git", "git": "https://github.com/rnhmjoj/flatter-ui.git",
"packages": {} "packages": {}
} }