Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #197 from cormacmccarthy/GH191---tree-folder-verti…
Browse files Browse the repository at this point in the history
…cal-alignment-off-in-firefox-for-selectable-folder-style

Gh191   tree folder vertical alignment off in firefox for selectable folder style
  • Loading branch information
chriscorwin committed Mar 17, 2015
2 parents 18a5efa + 96c0e97 commit 0c65cf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
16 changes: 6 additions & 10 deletions less/fuelux-override/tree.less
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

.tree-caret-sizes() {
width: @tree-caret-size;
height: @tree-caret-size;
top: 2px;
width: 1px;//this fixes weird FF/Chrome issues
height: 7px;//this fixes weird FF/Chrome issues
top: 3px;

}
.tree-caret() {
background: none;
border-color: none;
top: 0px;
left: 0px;
.fuelux-icon;
.fuelux-icon-caret-right;
Expand All @@ -17,11 +16,9 @@
border: 0px solid transparent;
border-radius: 0;
content: "" !important;
padding: 0;
padding-left: 0;
padding-right: 0;
background-position-x: 0px;
background-position-y: 0px;
padding: 12px 0 0;//has to be here instead of .tree-caret-sizes() because otherwise folder selection in FF messes up
background-position: 0px;
box-sizing: border-box;
}


Expand Down Expand Up @@ -124,7 +121,6 @@
}

.icon-item {
margin-right: 4px;
margin-right: 4px;
.fuelux-icon;
.fuelux-icon-dot;
Expand Down
5 changes: 0 additions & 5 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
@form-elements-padding: unit(@form-elements-padding-value, px);


// TREE
@tree-caret-size-value: 13;
@tree-caret-size: unit(@tree-caret-size-value, px);


// CHECKBOX
@checkbox-width-value: 15;
@checkbox-width: unit(@checkbox-width-value, px);
Expand Down

0 comments on commit 0c65cf3

Please sign in to comment.