Skip to content

Commit

Permalink
# Less error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codexpert committed Sep 18, 2013
1 parent c593d80 commit d873d32
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 30 deletions.
30 changes: 0 additions & 30 deletions interface/less/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -125,36 +125,6 @@
.hook-menu-item-subtitle;
}

/* Sub-object: `toggle`
========================================================================== */

.ex-menu .toggle {
font-size: @toggle-font-size;
color: @toggle-color;
}

/*
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/

.ex-menu .toggle:hover,
.ex-menu .toggle:focus { /* 1 */
color: @toggle-hover-color;
text-decoration: none;
outline: none; /* 2 */
}

/*
* 1. Center icon vertically
*/

.ex-menu .toggle:after {
content: @toggle-icon;
font-family: "FontAwesome";
vertical-align: middle; /* 1 */
}

/* Component - Dropdown
========================================================================== */

Expand Down
15 changes: 15 additions & 0 deletions interface/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: inherit; // empty to use BS default, @textColor

// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height

@fontSizeLarge: @baseFontSize * 1.25; // ~18px
@fontSizeSmall: @baseFontSize * 0.85; // ~12px
@fontSizeMini: @baseFontSize * 0.75; // ~11px

@paddingLarge: 11px 19px; // 44px
@paddingSmall: 2px 10px; // 26px
@paddingMini: 0 6px; // 22px

@baseBorderRadius: 4px;
@borderRadiusLarge: 6px;
@borderRadiusSmall: 3px;

// Tables
// -------------------------
Expand Down

0 comments on commit d873d32

Please sign in to comment.