-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IGUK-514 International styles refactor to help with design system int…
…egration (#3514) * IGUK-514 International styles refactor to help with design system integration
- Loading branch information
1 parent
6ef6adc
commit c945b21
Showing
37 changed files
with
397 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.great-international-card--cta { | ||
|
||
.great-card__link { | ||
color: $great-dark-blue; | ||
text-underline-offset: 0px; | ||
text-decoration-thickness: 2px; | ||
} | ||
} | ||
|
||
.great-international-home-uk-map { | ||
background: url('/static/images/uk-map.svg'); | ||
display: block; | ||
width: fixed; | ||
height: 387px; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.great-interntional-centered-content { | ||
text-align: center; | ||
} | ||
|
||
.light-blue-background { | ||
background-color: $great-light-blue; | ||
} | ||
|
||
.light-green-background { | ||
background-color: #8CE2D0; | ||
} | ||
|
||
.white-background { | ||
background-color: #FFFFFF; | ||
} | ||
|
||
.fixed-height-scroll { | ||
max-height: 300px; | ||
overflow-x: scroll; | ||
} | ||
|
||
.fixed-height-scroll .govuk-checkboxes--small .govuk-checkboxes__item { | ||
float: none; | ||
} | ||
|
||
.js-enabled .govuk-accordion__section-content { | ||
padding-top: 0px; | ||
padding-bottom: 0px; | ||
} | ||
|
||
.js-enabled .govuk-accordion__section-button { | ||
border-bottom: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1,7 @@ | ||
@import '../../international/sass/main.scss'; | ||
@import './hero.scss'; | ||
@import 'utils.scss'; | ||
@import 'hero.scss'; | ||
|
||
$great-design-system-grey-border: #7d8e96; | ||
|
||
.buy-from-the-uk-home-download-section { | ||
background-color: white; | ||
|
||
.buy-from-the-uk-ebook-preview-image { | ||
background-position: top, left; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
min-width: 200px; | ||
width: 100%; | ||
max-width: 300px; | ||
height: 380px; | ||
margin-right: auto; | ||
margin-left: auto; | ||
background-image: url('/static/images/buy_from_the_uk_ebook_preview.jpg') | ||
} | ||
} | ||
|
||
.buy-from-the-uk-home-strapline-container { | ||
background-color: rgba(26, 92, 164, .7); | ||
} | ||
|
||
#buy-from-the-uk-search-form { | ||
height: 53px; | ||
display: flex; | ||
align-items: center; | ||
|
||
button { | ||
margin-top: 0; | ||
margin-left: -2px; | ||
flex-shrink: 0; | ||
height: 50px; | ||
width: 50px; | ||
background-repeat: no-repeat; | ||
background-position: 50%; | ||
background-color: #006ccc; | ||
background-image: url('/static/images/search.svg'); | ||
background-size: 20px; | ||
border: 0; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
|
||
#magna-header-search-box { | ||
height: 50px; | ||
width: 100%; | ||
} | ||
} | ||
|
||
.fixed-height-scroll { | ||
max-height: 300px; | ||
overflow-x: scroll; | ||
} | ||
|
||
.fixed-height-scroll .govuk-checkboxes--small .govuk-checkboxes__item { | ||
float: none; | ||
} | ||
|
||
.js-enabled .govuk-accordion__section-content { | ||
padding-top: 0px; | ||
padding-bottom: 0px; | ||
} | ||
|
||
.js-enabled .govuk-accordion__section-button { | ||
border-bottom: 0px; | ||
} | ||
|
||
.great-ds-border-bottom-grey { | ||
border-bottom: 1px solid $great-design-system-grey-border; | ||
} | ||
|
||
.buy-from-the-uk-listitem-logo { | ||
max-width: 120px; | ||
min-width: 100px; | ||
max-height: 120px; | ||
min-height: 100px; | ||
background-position: top; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
} | ||
|
||
.great-heading-link::after { | ||
top: 2px; | ||
} | ||
|
||
.buy-from-the-uk-logo { | ||
width: 100%; | ||
height: 100%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
} | ||
|
||
.buy-from-the-uk-logo-container { | ||
background-color: #fff; | ||
border: 1px solid $great-design-system-grey-border; | ||
width: 180px; | ||
height: 180px; | ||
padding: 15px; | ||
} | ||
|
||
.highlight-em em { | ||
|
||
background: $great-light-yellow; | ||
border-bottom: 3px solid black; | ||
display: inline-block; | ||
padding: 3px; | ||
font-style: normal; | ||
font-weight: bold; | ||
} | ||
|
||
.case-study-image { | ||
max-width: 300px; | ||
display: block; | ||
} | ||
// Great International Buy from the UK pages | ||
@import 'pages/index.scss'; | ||
@import 'pages/search.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.buy-from-the-uk-home-download-section { | ||
background-color: white; | ||
|
||
.buy-from-the-uk-ebook-preview-image { | ||
background-position: top, left; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
min-width: 200px; | ||
width: 100%; | ||
max-width: 300px; | ||
height: 380px; | ||
margin-right: auto; | ||
margin-left: auto; | ||
background-image: url('/static/images/buy_from_the_uk_ebook_preview.jpg') | ||
} | ||
} | ||
|
||
.buy-from-the-uk-home-strapline-container { | ||
background-color: rgba(26, 92, 164, .7); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#buy-from-the-uk-search-form { | ||
height: 53px; | ||
display: flex; | ||
align-items: center; | ||
|
||
button { | ||
margin-top: 0; | ||
margin-left: -2px; | ||
flex-shrink: 0; | ||
height: 50px; | ||
width: 50px; | ||
background-repeat: no-repeat; | ||
background-position: 50%; | ||
background-color: #006ccc; | ||
background-image: url('/static/images/search.svg'); | ||
background-size: 20px; | ||
border: 0; | ||
color: #fff; | ||
cursor: pointer; | ||
} | ||
|
||
#magna-header-search-box { | ||
height: 50px; | ||
width: 100%; | ||
} | ||
} | ||
|
||
.highlight-em em { | ||
background: $great-light-yellow; | ||
border-bottom: 3px solid black; | ||
display: inline-block; | ||
padding: 3px; | ||
font-style: normal; | ||
font-weight: bold; | ||
} | ||
|
||
.buy-from-the-uk-listitem-logo { | ||
max-width: 120px; | ||
min-width: 100px; | ||
max-height: 120px; | ||
min-height: 100px; | ||
background-position: top; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$great-design-system-grey-border: #7d8e96; | ||
|
||
.great-ds-border-bottom-grey { | ||
border-bottom: 1px solid $great-design-system-grey-border; | ||
} | ||
|
||
.buy-from-the-uk-logo { | ||
width: 100%; | ||
height: 100%; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
} | ||
|
||
.buy-from-the-uk-logo-container { | ||
background-color: #fff; | ||
border: 1px solid $great-design-system-grey-border; | ||
width: 180px; | ||
height: 180px; | ||
padding: 15px; | ||
} | ||
|
||
.case-study-image { | ||
max-width: 300px; | ||
display: block; | ||
} | ||
|
||
.great-heading-link::after { | ||
top: 2px; | ||
} |
Oops, something went wrong.