Skip to content

Commit

Permalink
Csscomb for menus
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Oct 20, 2015
1 parent 6f9b880 commit 49317ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions components/menu/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ $menu-item-height: 4.8 * $unit;
$menu-item-padding: 1.6 * $unit;
$menu-item-font-size: 1.6 * $unit;
$menu-divider-height: (4.8 * $unit) / 4;
$menu-icon-size: 2.3 * $unit;
$menu-icon-ripple-duration: 650ms;
5 changes: 3 additions & 2 deletions components/menu/style.icon_menu.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../base";
@import "./config";

.root {
position: relative;
Expand All @@ -7,12 +8,12 @@
}

.icon {
font-size: 2.3 * $unit;
font-size: $menu-icon-size;
vertical-align: middle;
cursor: pointer;
}

.ripple {
opacity: .1;
transition-duration: 650ms;
transition-duration: $menu-icon-ripple-duration;
}

0 comments on commit 49317ba

Please sign in to comment.