Skip to content

Commit

Permalink
Merge pull request #801 from alphagov/bump-template-toolkit
Browse files Browse the repository at this point in the history
Bump template and toolkit
  • Loading branch information
dsingleton committed Jun 6, 2016
2 parents 9f90b3f + d8a1e6a commit 9cac7cb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ group :development, :test do
end

gem 'plek', '1.11.0'
gem 'govuk_frontend_toolkit', '~> 4.10.0'
gem 'govuk_frontend_toolkit', '~> 4.12.0'

if ENV['GOVUK_TEMPLATE_DEV']
gem 'govuk_template', :path => "../govuk_template"
else
gem 'govuk_template', '0.17.0'
gem 'govuk_template', '0.17.3'
end
gem 'gds-api-adapters', '26.7.0'
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ GEM
govuk-lint (0.6.1)
rubocop (~> 0.35.0)
scss_lint (~> 0.44.0)
govuk_frontend_toolkit (4.10.0)
govuk_frontend_toolkit (4.12.0)
rails (>= 3.1.0)
sass (>= 3.2.0)
govuk_template (0.17.0)
govuk_template (0.17.3)
rails (>= 3.1)
http-cookie (1.0.2)
domain_name (~> 0.5)
Expand Down Expand Up @@ -256,8 +256,8 @@ DEPENDENCIES
gds-api-adapters (= 26.7.0)
govuk-content-schema-test-helpers (~> 1.4)
govuk-lint (~> 0.6.0)
govuk_frontend_toolkit (~> 4.10.0)
govuk_template (= 0.17.0)
govuk_frontend_toolkit (~> 4.12.0)
govuk_template (= 0.17.3)
image_optim (= 0.17.1)
jasmine-rails (~> 0.10.6)
logstasher (= 0.4.8)
Expand Down
9 changes: 6 additions & 3 deletions app/assets/stylesheets/helpers/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

.button,
.button.medium {
/*
* TODO: Remove button padding override, upstream (govuk_frontend_toolkit 4.12.0)
* has included better improvements to padding.
*/
padding: 0.3em 0.6em 0.2em 0.6em;
}

Expand Down Expand Up @@ -75,7 +79,7 @@
/* get started buttons */
.get-started {
margin:1.5em 0 0 0;

.destination {
@include core-14;
color: $text-colour;
Expand All @@ -98,7 +102,7 @@ input{
min-width: 8em;
margin: 0 0.5em;
padding: 0.25em;

@include ie-lte(7) {
width:8em;
}
Expand All @@ -117,4 +121,3 @@ input{
}
}
}

19 changes: 10 additions & 9 deletions app/assets/stylesheets/helpers/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@

.footer-categories {
@extend %contain-floats;
@extend %grid-row;

@include media(tablet){
padding: 0 $gutter-half $gutter;
@include media(tablet) {
padding-bottom: $gutter;
}

.footer-explore,
.footer-inside-government {
@include media(tablet){
@include media(tablet) {
float: left;
width: 66.66%;
padding-bottom: 60px;
Expand All @@ -36,40 +37,40 @@
border: 1px solid $border-colour;
border-width: 1px 0 0 0;

@include media(tablet){
@include media(tablet) {
margin-bottom: 0;
}
}

ul {
@include core-16;
list-style: none;
padding: 0;
margin: 0;

@include media(tablet){
@include media(tablet) {
float: left;
margin: 15px 0 0 0;
width: 50%;
}


li {
display: block;
margin-bottom: 5px;

padding: 10px 0 0;
margin: 0 15px 5px;

@include media(tablet){
@include media(tablet) {
padding: 20px 0 0;
margin: 0 15px;
}
}
}

.footer-inside-government {
@include media(tablet){
@include media(tablet) {
float: left;
width: 33.33%;

Expand Down

0 comments on commit 9cac7cb

Please sign in to comment.