Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_wcms_gesso
Commits
f47653a7
Commit
f47653a7
authored
4 years ago
by
m26lebla
Browse files
Options
Downloads
Patches
Plain Diff
Testing - removing the display none from the parent menu print
parent
9eaf1c9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
Istwcms 4199 theme menus
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
css/styles.css
+0
-2
0 additions, 2 deletions
css/styles.css
source/_patterns/04-components/menu/menu--horizontal/_menu--horizontal.scss
+7
-1
7 additions, 1 deletion
...4-components/menu/menu--horizontal/_menu--horizontal.scss
with
7 additions
and
3 deletions
css/styles.css
+
0
−
2
View file @
f47653a7
...
...
@@ -4878,8 +4878,6 @@ fieldset,
height
:
auto
;
max-width
:
50%
;
padding-left
:
16px
;
}
.uw-horizontal-nav--menu
.menu
.submenu-active
.menu--subnav
.menu--item
.menu--link-parent
{
display
:
none
;
}
@media
(
min-width
:
63.1875rem
)
{
.uw-horizontal-nav--menu
.menu
.submenu-active
.menu--subnav
.menu--item
{
max-width
:
33%
;
...
...
This diff is collapsed.
Click to expand it.
source/_patterns/04-components/menu/menu--horizontal/_menu--horizontal.scss
+
7
−
1
View file @
f47653a7
...
...
@@ -369,7 +369,12 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
z-index
:inherit
;
}
.menu--item
{
.menu--link-parent
{
display
:none
;}
//
// ERIC HERE IS MY SMOKE MIRROR
// hide all then show first one of type, its now commented so you can see it happen on the Alumni & friends menu
// .menu--link-parent {display:none;}
display
:block
;
flex
:
0
1
;
height
:auto
;
...
...
@@ -379,6 +384,7 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
max-width
:
33%
;
padding-left
:
gesso-spacing
(
sm
);
}
// show first one of type parent link print
&
:first-of-type
{
.menu--link-parent
{
display
:block
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment