Skip to content

Commit

Permalink
Merge pull request #885 from uktrade/develop
Browse files Browse the repository at this point in the history
Update master with reskin work
  • Loading branch information
LuptonM authored Apr 24, 2023
2 parents 96242a1 + 2047b5d commit 783fbe3
Show file tree
Hide file tree
Showing 78 changed files with 9,952 additions and 299 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ GEM
i18n (>= 1.6, < 2)
faraday (1.0.1)
multipart-post (>= 1.2, < 3)
ffi (1.12.2)
ffi (1.15.5)
figaro (1.2.0)
thor (>= 0.14.0, < 2)
flipper (0.26.0)
Expand Down Expand Up @@ -1225,7 +1225,7 @@ GEM
rspec-rails (>= 3.0.0)
raabro (1.4.0)
racc (1.6.2)
rack (2.2.6.2)
rack (2.2.6.4)
rack-protection (2.0.8.1)
rack
rack-test (2.0.2)
Expand Down Expand Up @@ -1333,7 +1333,7 @@ GEM
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.3.0)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
Expand Down
1 change: 1 addition & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@
//= link transformation/pages/opportunity.css
//= link transformation/pages/results.css
//= link export-components/main.css
//= link_tree ../fonts
Binary file added app/assets/fonts/FSLucas-Regular.ttf
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-Regular.woff
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-Regular.woff2
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-SemiBold.eot
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-SemiBold.otf
Binary file not shown.
9,347 changes: 9,347 additions & 0 deletions app/assets/fonts/FSLucas-SemiBold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/fonts/FSLucas-SemiBold.ttf
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-SemiBold.woff
Binary file not shown.
Binary file added app/assets/fonts/FSLucas-SemiBold.woff2
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/admin/_errors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.notice {
background-color: #e1e8e8;
border-color: #aab2b2;
color: #333333;
color: #212427;
p {
font-weight: 500;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
a {
font-family: "Roboto",arial,helvetica,sans-serif;
}
$brand-font: "FS Lucas", Arial, Helvetica, Verdana;
$header-font: "FS Lucas SemiBold", Arial, Helvetica, Verdana;

h1,
.h1 {
Expand Down Expand Up @@ -140,7 +139,7 @@ p.lead {
/* The below are not used yet */

blockquote {
font-family: "Roboto",arial,helvetica,sans-serif;
font-family: $brand-font;
}

button.text {
Expand All @@ -150,18 +149,19 @@ button.text {
line-height:25px;
}

a.link {
font-size:18px;
a, .link {
color: #1D70B8;
font-size:20px;
font-weight:400;
line-height:25px;
}

a.link-default {
color: #006ccc;
color: #1D70B8;
cursor: pointer;
text-decoration: underline;
}

a.link-default:active, a.link-default:hover {
color: #00549f;
color: #1D70B8;;
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
&::-webkit-input-placeholder,
&:-ms-input-placeholder,
&::-moz-placeholder {
font-family: Roboto;
font-family: $brand-font;
font-size: 16px;
letter-spacing: -0.3px;
color: $midgrey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
}
&__icon {
color:#333333;
color:#212427;
font-size:13px;
font-weight:400;
padding-left: 1.6em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ $flag_red: #b00d23;
$stone: #dfd5c5;
$offwhite: #fafafa;
$white: #ffffff;
$grey: #333333;
$grey: #212427;
$midgrey: #666666;
$lightgrey: #d8d8d8;
$greatred: #e41f13;
$midblue: #00549f;
$aqua: #007ea3;
$purple: #4f0b7b;
$blue_science: #006ccc;
$blue_science: #1D70B8;
$blue_denim: #0a55c0;


Expand Down
4 changes: 3 additions & 1 deletion app/assets/stylesheets/email.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
$brand-font: "FS Lucas", Arial, Helvetica, Verdana;

body {
margin: 0;
padding: 0;
color: red;
font-size: 14px;
color: #121212;
font-family: Robo, Arial, Helvetica, sans-serif;
font-family: $brand-font;
line-height: 18px;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.breadcrumb-container {
background-color: $color-alternative-background;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.cookie-notice {
@include font-med-normal;
background-color: $stone-40;
background-color: $color-alternative-background;
padding: 10px 0;

a:focus, button:focus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,31 @@
.great-global-header-footer.international .great-global-header-footer-logo {
margin-top: 11px;
}
.great-footer .great-global-header-footer.domestic {
padding: 20px 0;
height: fit-content;

>div {

display: flex;
align-items: center;

p {
margin-left: auto;
}

@media only screen and (max-width: 600px) {
flex-direction: column;
justify-self: unset;
align-items: flex-start;
p{
margin: 0;
}
}
}
}
.great-global-header-footer.domestic .great-global-header-footer-logo {
margin-top: 15px;
height: 30px;
}

.great-global-header-footer {
Expand All @@ -32,6 +54,7 @@
.great-global-header-footer-logo {
float: left;
white-space: nowrap;

}

.great-domestic-international-links {
Expand All @@ -57,11 +80,6 @@
-moz-osx-font-smoothing: grayscale;
}

.great-footer-logo-container,
.great-footer .great-domestic-international-links {
border-bottom: 1px solid $lightened-great-blue;
}

.great-footer,
.great-header {
a:active:focus {
Expand Down
30 changes: 20 additions & 10 deletions app/assets/stylesheets/export-components/header-footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,29 @@

.great-footer {
font-family: $brand-font;
background-color: $great-blue;
background-color: $color-header-footer;

a {
font-size: 15px;
color: $light-grey;
text-decoration-thickness: 1px;
text-underline-offset: 3px;
&:hover, &:focus, &:active{
color: white!important;
text-decoration: none;
}
}
}

.great-footer-links {
padding: 30px 0;
padding: 80px 0 30px 0;

@media only screen and (max-width: 640px) {
padding: 115px 0 50px 0;
}

a {
font-size: 14px;
font-size: 20px;
}

ul li {
Expand All @@ -57,8 +67,8 @@
}

.great-footer-copyright {
font-size: 12px;
font-family: $brand-font-alternative;
font-size: 18px!important;
font-family: $brand-font;
}

@media (max-width: 640px) {
Expand All @@ -72,6 +82,10 @@
}
}

li + li {
margin-top: 20px;
}

ul,
ul li,
ul > div {
Expand All @@ -80,11 +94,7 @@

.great-footer-site-links li:first-child a,
.great-footer-domestic-international-link li a {
font-size: 18px;
}

.great-footer-site-links li:first-child {
margin-bottom: 15px;
font-size: 20px;
}

.great-footer-domestic-international-link {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
}

.main-nav.mobile.expanded {
background: #4b426d;
background: $color-header-footer;
// padding: 0 20px 0;
z-index: 1;

Expand All @@ -88,7 +88,7 @@
background: none;
border: 0;
color: #fff;
font-family: Overpass, Arial, Helvetica, Verdana;
font-family: $brand-font;
font-size: 18px;
letter-spacing: 0;
line-height: 16px;
Expand All @@ -114,6 +114,10 @@
}
}

#mobile-menu-button{
font-size: 20px!important;
}

.js-mobile-button {
display: none;

Expand All @@ -124,9 +128,10 @@
top: 45px;
right: 0;
color: $white;
background-color: $great-blue;
background-color: $color-header-footer;
border: 2px solid $white;
padding: 10px 45px 10px 10px;
font-size: 20px;
cursor: pointer;

&:focus {
Expand Down Expand Up @@ -207,10 +212,10 @@
}

.user-greeting {
background: #006ccc;
background: #1D70B8;
color: #fff;
display: none;
font-family: Overpass, Arial, Helvetica, Verdana;
font-family: $brand-font;
font-size: 20px;
padding: 15px 20px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

.js-nav-list {
.link-heading {
font-size: 16px;
font-size: 20px;
}

a.link-heading {
Expand Down
Loading

0 comments on commit 783fbe3

Please sign in to comment.