This reverts commit 01830f9d28
.
This broke sidebar and could have affected customer themes
on a full enterprise deploy.
This commit is contained in:
parent
0f598ca51e
commit
4bdb956a0d
|
@ -21,12 +21,9 @@
|
||||||
@extend %nav;
|
@extend %nav;
|
||||||
@extend .clearfix;
|
@extend .clearfix;
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: stretch;
|
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
float: left;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
|
@ -39,7 +36,7 @@
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: background-color 0.2s, color 0.2s;
|
transition: background 0.15s;
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
@ -1,3 +1,33 @@
|
||||||
|
.group-nav {
|
||||||
|
.group-dropdown {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.group-navigation {
|
||||||
|
width: 15%;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
li {
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--primary-med-or-secondary-high);
|
||||||
|
padding: 8px 0;
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
background-color: transparent;
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--primary);
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.group-activity-outlet,
|
.group-activity-outlet,
|
||||||
.group-messages-outlet,
|
.group-messages-outlet,
|
||||||
.group-manage-outlet {
|
.group-manage-outlet {
|
||||||
|
|
|
@ -262,8 +262,6 @@ export function createData(store) {
|
||||||
{ name: "admin", id: 3, automatic: false },
|
{ name: "admin", id: 3, automatic: false },
|
||||||
],
|
],
|
||||||
|
|
||||||
groupNames: ["staff", "lounge", "admin"],
|
|
||||||
|
|
||||||
selectedGroups: [1, 2],
|
selectedGroups: [1, 2],
|
||||||
|
|
||||||
settings: "bold|italic|strike|underline",
|
settings: "bold|italic|strike|underline",
|
||||||
|
|
|
@ -9,15 +9,3 @@
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/mobile-nav}}
|
{{/mobile-nav}}
|
||||||
{{/styleguide-example}}
|
{{/styleguide-example}}
|
||||||
|
|
||||||
{{#styleguide-example title="group page navigation-bar"}}
|
|
||||||
{{#mobile-nav class="group-nav" desktopClass="nav nav-pills"}}
|
|
||||||
<li class="group-dropdown">
|
|
||||||
{{group-dropdown groups=dummy.groupNames value="staff"}}
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{#each dummy.navItems as |ni|}}
|
|
||||||
<li><a href={{ni.href}} class={{if ni.styleGuideActive "active"}}>{{ni.displayName}}</a></li>
|
|
||||||
{{/each}}
|
|
||||||
{{/mobile-nav}}
|
|
||||||
{{/styleguide-example}}
|
|
||||||
|
|
Loading…
Reference in New Issue