-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* better LESS and SCSS sources, now the variables are separate files, also allow for further customization * build script for SCSS Fixed * minor improvement for the JS
- Loading branch information
Showing
20 changed files
with
445 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// VARIABLES | ||
|
||
// BRAND COLOR | ||
@brand_color: #069; | ||
|
||
// THE MAIN LAYOUT | ||
@nav_layout: 'main-menu'; // left-side | right-side | ||
|
||
// some dimensions | ||
@item_font_size: 14px; | ||
@item_line_height: 32px; | ||
@item_vertical_spacing: 10px; | ||
@item_horizontal_spacing: 20px; | ||
|
||
// root items | ||
@root_item_padding: @item_vertical_spacing @item_horizontal_spacing; | ||
|
||
@root_item_color: #888; | ||
@root_item_background: transparent; | ||
|
||
@root_item_hover_color: @brand_color; | ||
@root_item_hover_background: #fff; | ||
|
||
@root_item_active_color: #fff; | ||
@root_item_active_background: @brand_color; | ||
|
||
// submenu items | ||
@submenu_background: #e6e6e6; | ||
@submenu_width: 200px; | ||
|
||
@submenu_item_padding: @item_vertical_spacing @item_horizontal_spacing; | ||
@submenu_item_background: #fff; | ||
@submenu_item_color: #888; | ||
|
||
@submenu_item_hover_background: #333; | ||
@submenu_item_hover_color: #eee; | ||
|
||
@submenu_item_active_background: @brand_color; | ||
@submenu_item_active_color: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// VARIABLES | ||
|
||
// BRAND COLOR | ||
$brand_color: #006699 !default; | ||
|
||
// THE MAIN LAYOUT | ||
$nav_layout: 'main-menu' !default; // left-side | right-side | ||
|
||
// some dimensions | ||
$item_font_size: 14px !default; | ||
$item_line_height: 32px !default; | ||
$item_vertical_spacing: 10px !default; | ||
$item_horizontal_spacing: 20px !default; | ||
|
||
// root items | ||
$root_item_padding: $item_vertical_spacing $item_horizontal_spacing !default; | ||
|
||
$root_item_color: #888 !default; | ||
$root_item_background: transparent !default; | ||
|
||
$root_item_hover_color: $brand_color !default; | ||
$root_item_hover_background: #fff !default; | ||
|
||
$root_item_active_color: #fff !default; | ||
$root_item_active_background: $brand_color !default; | ||
|
||
// submenu items | ||
$submenu_background: #e6e6e6 !default; | ||
$submenu_width: 200px !default; | ||
|
||
$submenu_item_padding: $item_vertical_spacing $item_horizontal_spacing !default; | ||
$submenu_item_background: #fff !default; | ||
$submenu_item_color: #888 !default; | ||
|
||
$submenu_item_hover_background: #333 !default; | ||
$submenu_item_hover_color: #eee !default; | ||
|
||
$submenu_item_active_background: $brand_color !default; | ||
$submenu_item_active_color: #fff !default; |
Oops, something went wrong.
c783d4b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also added support for icons, the icons must have the
class="parent-icon"
to get proper layout.