assets/stylesheets/semantic_ui/themes/default/collections/menu.variables in less-rails-semantic_ui-2.0.7.0 vs assets/stylesheets/semantic_ui/themes/default/collections/menu.variables in less-rails-semantic_ui-2.1.4.0
- old
+ new
@@ -161,11 +161,11 @@
@hoverItemBackground: @subtleTransparentBlack;
@hoverItemTextColor: @selectedTextColor;
/* Pressed Item */
@pressedItemBackground: @subtleTransparentBlack;
-@pressedItemColor: @pressedTextColor;
+@pressedItemTextColor: @hoverItemTextColor;
/* Active Item */
@activeItemBackground: @transparentBlack;
@activeItemTextColor: @selectedTextColor;
@@ -210,10 +210,12 @@
@secondaryBackground: none;
@secondaryMargin: 0em -@secondaryItemSpacing;
@secondaryItemBackground: none;
@secondaryItemSpacing: @relative5px;
@secondaryItemMargin: 0em @secondaryItemSpacing;
+@secondaryItemVerticalPadding: @relativeMini;
+@secondaryItemHorizontalPadding: @relativeSmall;
@secondaryItemPadding: @relativeMini @relativeSmall;
@secondaryItemBorderRadius: @defaultBorderRadius;
@secondaryItemTransition: color @defaultDuration @defaultEasing;
@secondaryItemColor: @unselectedTextColor;
@@ -227,16 +229,21 @@
@secondaryActiveHoveredItemBackground: @transparentBlack;
@secondaryActiveHoveredItemColor: @selectedTextColor;
@secondaryHeaderBackground: none transparent;
-@secondaryHeaderBorder: 1px solid @borderColor;
+@secondaryHeaderBorder: none;
@secondaryItemVerticalSpacing: @secondaryItemSpacing;
@secondaryVerticalItemMargin: 0em 0em @secondaryItemVerticalSpacing;
@secondaryVerticalItemBorderRadius: @defaultBorderRadius;
+@secondaryMenuSubMenuMargin: 0em -@secondaryItemHorizontalPadding;
+@secondaryMenuSubMenuItemMargin: 0em;
+@secondarySubMenuHorizontalPadding: (@itemHorizontalPadding / @tinySize) + @subMenuIndent;
+@secondaryMenuSubMenuItemPadding: @relative7px @secondarySubMenuHorizontalPadding;
+
/* Pointing */
@secondaryPointingBorderWidth: 2px;
@secondaryPointingBorderColor: @borderColor;
@secondaryPointingItemVerticalPadding: @relativeTiny;
@secondaryPointingItemHorizontalPadding: @relativeLarge;
@@ -298,49 +305,57 @@
@iconMenuInvertedItemColor: @white;
/* Tabular */
@tabularBorderColor: @solidBorderColor;
-@tabularBackgroundColor: #FFFFFF;
+@tabularBackgroundColor: transparent;
+@tabularBackground: none @tabularBackgroundColor;
@tabularBorderWidth: 1px;
@tabularOppositeBorderWidth: @tabularBorderWidth + 1px;
+@tabularVerticalPadding: @itemVerticalPadding;
@tabularHorizontalPadding: @relativeHuge;
-@tabularMenuTextColor: @itemTextColor;
+@tabularBorderRadius: @defaultBorderRadius;
+@tabularTextColor: @itemTextColor;
+@tabularHoveredTextColor: @hoveredTextColor;
+
+@tabularVerticalBackground: none @tabularBackgroundColor;
+
@tabularFluidOffset: 1px;
@tabularFluidWidth: ~"calc(100% + "(@tabularFluidOffset * 2)~")";
+
+@tabularActiveBackground: none @white;
@tabularActiveColor: @selectedTextColor;
@tabularActiveBoxShadow: none;
-
-@tabularMenuActiveBackground: @white;
-@tabularMenuActiveColor: @selectedTextColor;
-
@tabularActiveWeight: bold;
-@tabularBorderRadius: @defaultBorderRadius;
+
/* Pagination */
@paginationMinWidth: 3em;
@paginationActiveBackground: @transparentBlack;
@paginationActiveTextColor: @selectedTextColor;
/* Labeled Icon */
@labeledIconItemHorizontalPadding: @relativeMassive;
-@labeledIconSize: @relativeHuge;
+@labeledIconSize: @relativeMassive;
@labeledIconMinWidth: 6em;
@labeledIconTextMargin: 0.5rem;
/* Text */
-@textMenuItemSpacing: 0.5em;
-@textMenuMargin: @relativeLarge -@textMenuItemSpacing;
+@textMenuItemSpacing: @relative7px;
+@textMenuMargin: @relativeMedium -(@textMenuItemSpacing);
@textMenuItemColor: @mutedTextColor;
@textMenuItemFontWeight: normal;
-@textMenuItemMargin: 0em @textMenuItemSpacing;
+@textMenuItemMargin: 0em 0em;
+@textMenuItemPadding: @relative5px @textMenuItemSpacing;
@textMenuItemTransition: opacity @defaultDuration @defaultEasing;
@textMenuSubMenuMargin: 0em;
+@textMenuSubMenuItemMargin: 0em;
+@textMenuSubMenuItemPadding: @relative7px 0em;
@textMenuActiveItemFontWeight: normal;
@textMenuActiveItemColor: @selectedTextColor;
@textMenuHeaderSize: @relativeSmall;
@@ -425,6 +440,6 @@
/* Sizes */
@smallWidth: 13rem;
@mediumWidth: 15rem;
@largeWidth: 18rem;
-@hugeWidth: 20rem;
\ No newline at end of file
+@hugeWidth: 20rem;