Commit 1d0e1727 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

css for the house icon and positioning of the tray to match design

parent 3a6110ca
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -511,4 +511,4 @@ $gesso: (
xxl: 96px,
),
gutter-width: 40px,
);
\ No newline at end of file
);
......@@ -32,7 +32,8 @@ $menu-horizontal-drop-bg: #f7f7f7;
color: gesso-brand(org-default,uw-white,lvl1);
outline:none;
outline-offset: unset;
padding-bottom:6px;
padding:gesso-spacing(xs);
padding-top:6px;
width:100%;
&:hover{
color: gesso-brand(org-default,uw-black,lvl4);
......@@ -56,7 +57,6 @@ $menu-horizontal-drop-bg: #f7f7f7;
&.has-submenu {
> a{
padding-right:gesso-spacing(md);
position:relative;
......
......@@ -239,7 +239,7 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
padding:0;
position:relative;
@include medium{
grid-template-columns: 3.5rem auto;
grid-template-columns: 3rem auto;
padding: 0 gesso-spacing(sm);
}
@include xl {
......@@ -253,17 +253,18 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
grid-column: 1/2;
.uw-site-home__link{
border:1.5px solid $menu-horizontal-bg;
border-radius:50%;
display:block;
height:2rem;
display:inline-block;
height:1.6rem;
outline:none;
width:2rem;
width:1.6rem;
svg{
height:1.8rem;
padding-left:0.35rem;
padding-top:0.25rem;
width:1.8rem;
height:1.5rem;
padding-left:0.2rem;
padding-top:0.125rem;
width:1.5rem;
}
}
}
......@@ -310,14 +311,14 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
a{
display:inline-block;
line-height:1.25rem;
padding:gesso-spacing(xs);
padding: 6px gesso-spacing(xs);
text-decoration:none;
width: 100%;
}
&.has-submenu {
> a{
padding-right:gesso-spacing(md);
padding-right:24px;
position:relative;
&::after {
......@@ -327,7 +328,7 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
position:absolute;
right:gesso-spacing(xs);
text-align: center;
top:gesso-spacing(xs);
top:6px;
transform: scale(0.75, 0.75);
@include medium{
transform: scale(0.75, 0.75) rotate(90deg);
......@@ -416,11 +417,11 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
column-fill: balance;
column-gap: 0.5rem;
height: auto;
left: 3.5rem;
left: 3rem;
overflow-y:inherit;
padding: 0;
top: auto;
width:calc(100% - 6rem);
width:calc(100% - 5.5rem);
// Puts the dropdown at z-index 7
z-index: gesso-z-index(dropdown);
}
......@@ -515,7 +516,7 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
.menu--link-parent {
display:inline-block;
@include medium {
min-width:25%;
min-width:calc(25% - 5px);
padding-left:1rem;
}
position:relative;
......
......@@ -20,10 +20,10 @@ $menu-horizontal-sub-font-size: rem(gesso-font-size(-2));
padding:0;
position:relative;
@include medium{
grid-template-columns: 4.5rem auto;
grid-template-columns: 4rem auto;
}
@include large{
grid-template-columns: 3.5rem auto;
grid-template-columns: 3rem auto;
}
}
.uw-horizontal-nav--home{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment