diff --git a/ui/app/styles/core/menu.scss b/ui/app/styles/core/menu.scss index 06fd74a56..0811337af 100644 --- a/ui/app/styles/core/menu.scss +++ b/ui/app/styles/core/menu.scss @@ -13,6 +13,15 @@ background: transparent; box-shadow: inset -3px 0 0 $blue; color: $blue; + + .icon { + fill: $blue; + } + } + + .icon { + margin-right: 0.5em; + fill: lighten($text, 30%); } } diff --git a/ui/app/styles/styleguide.scss b/ui/app/styles/styleguide.scss index f77df0655..3b0a21785 100644 --- a/ui/app/styles/styleguide.scss +++ b/ui/app/styles/styleguide.scss @@ -1,7 +1,8 @@ #styleguide { .mock-content { display: flex; - height: 250px; + min-height: 250px; + height: 100%; .mock-image, .mock-copy { @@ -40,5 +41,11 @@ transparent 14px ); } + + .mock-vague { + background: lighten($grey-blue, 15%); + width: 100%; + height: 100%; + } } } diff --git a/ui/app/templates/components/freestyle/sg-gutter-menu.hbs b/ui/app/templates/components/freestyle/sg-gutter-menu.hbs new file mode 100644 index 000000000..8ccc3e759 --- /dev/null +++ b/ui/app/templates/components/freestyle/sg-gutter-menu.hbs @@ -0,0 +1,156 @@ +{{#freestyle-usage "gutter-nav" title="Gutter Menu"}} +
Since there will only ever be one gutter menu in the UI, it makes sense to express the menu as a singleton component. This is what that singleton component looks like.
+ +Note: Normally the gutter menu is rendered within a page layout and is fixed position. The columns shown in this example are only to imitate the actual width without applying fixed positioning.
+{{/freestyle-annotation}} diff --git a/ui/app/templates/freestyle.hbs b/ui/app/templates/freestyle.hbs index 387befe99..5b2001a06 100644 --- a/ui/app/templates/freestyle.hbs +++ b/ui/app/templates/freestyle.hbs @@ -36,8 +36,10 @@ {{freestyle/sg-dropdown}} {{/section.subsection}} - {{#section.subsection name="Gutter navigation"}} + {{#section.subsection name="Gutter menu"}} + {{freestyle/sg-gutter-menu}} {{/section.subsection}} + {{#section.subsection name="Header"}} {{/section.subsection}} {{#section.subsection name="Inline definitions"}}