Skip to content
Snippets Groups Projects
Commit 2803ce4c authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-2286: completing grid lay, fixing colour variables and spacing

parent b9400595
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
display: none; display: none;
} }
html.uw_html { html.uw-html {
background-color: black; background-color: black;
} }
...@@ -31,6 +31,7 @@ body { ...@@ -31,6 +31,7 @@ body {
width: 100%; width: 100%;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
padding-top: 2rem;
} }
.layout-container .block-site-footer-block { .layout-container .block-site-footer-block {
......
...@@ -11,3 +11,7 @@ $uw-black: #000; ...@@ -11,3 +11,7 @@ $uw-black: #000;
$uw-gold: #fdd54f; $uw-gold: #fdd54f;
$uw-white: #fff; $uw-white: #fff;
$uw-grey: #787878; $uw-grey: #787878;
$uw-main-menu-hover: #dfdfdf;
$uw-main-menu-border: #eee;
$uw-main-menu-active: #eee;
$uw-main-menu-active-border: #4e4e4e;
...@@ -25,6 +25,14 @@ items: ...@@ -25,6 +25,14 @@ items:
value: '#fff' value: '#fff'
- name: $uw-grey - name: $uw-grey
value: '#787878' value: '#787878'
- name: $uw-main-menu-hover
value: '#dfdfdf'
- name: $uw-main-menu-border
value: '#eee'
- name: $uw-main-menu-active
value: '#eee'
- name: $uw-main-menu-active-border
value: '#4e4e4e'
meta: meta:
description: >- description: >-
To add to these items, use Sass variables that start with <code>$</code> in To add to these items, use Sass variables that start with <code>$</code> in
......
.nav-main { .nav-main {
max-width: 93%; max-width: 93%;
background-color: #fff; background-color: $uw-white;
} }
ul.main-menu { ul.main-menu {
...@@ -16,27 +16,27 @@ ul.main-menu { ...@@ -16,27 +16,27 @@ ul.main-menu {
position: relative; position: relative;
a { a {
border-right: solid 5px #eee; border-right: solid 5px $uw-main-menu-border;
border-bottom: solid 1px #eee; border-bottom: solid 1px $uw-main-menu-border;
display: block; display: block;
text-decoration: none; text-decoration: none;
padding: .5rem; padding: 0.5rem;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
font-family: "BureauGrot Book",impact,"avenir next condensed heavy","Droid Sans",sans-serif; font-family: "BureauGrot Book", impact, "avenir next condensed heavy", "Droid Sans", sans-serif;
font-size: .79012rem; font-size: 0.8rem;
color: $uw-black; color: $uw-black;
} }
a:active { a:active {
background-color: #eee; background-color: $uw-main-menu-active;
border-color: #4e4e4e; border-color: $uw-main-menu-active-border;
color: #000; color: $uw-white;
} }
a:hover { a:hover {
background-color: #DFDFDF; background-color: $uw-main-menu-hover;
border-color: #000; border-color: $uw-black;
} }
} }
} }
...@@ -45,6 +45,6 @@ ul.main-menu li::after { ...@@ -45,6 +45,6 @@ ul.main-menu li::after {
content: ""; content: "";
display: block; display: block;
position: absolute; position: absolute;
right: .8rem; right: 0.8rem;
top: .9rem; top: 0.9rem;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment