Make external link icons appear

This commit is contained in:
Chris Hill-Scott
2016-03-23 10:41:37 +00:00
parent 887c97facd
commit bce535b15d
2 changed files with 13 additions and 2 deletions

View File

@@ -111,4 +111,12 @@ td {
.form-label { .form-label {
margin-bottom: 5px; margin-bottom: 5px;
}
a[rel="external"] {
@include external-link-default;
@include external-link-16;
@include media(tablet) {
@include external-link-19;
}
} }

View File

@@ -30,9 +30,12 @@ gulp.task('copy:govuk_template:template', () => gulp.src(paths.template + 'views
); );
gulp.task('copy:govuk_template:css', () => gulp.src(paths.template + 'assets/stylesheets/**/*.css') gulp.task('copy:govuk_template:css', () => gulp.src(paths.template + 'assets/stylesheets/**/*.css')
.pipe(plugins.sass({outputStyle: 'compressed'})) .pipe(plugins.sass({
outputStyle: 'compressed'
}))
.on('error', plugins.sass.logError)
.pipe(plugins.cssUrlAdjuster({ .pipe(plugins.cssUrlAdjuster({
prependRelative: '/static/', prependRelative: '/static/images/',
})) }))
.pipe(gulp.dest(paths.dist + 'stylesheets/')) .pipe(gulp.dest(paths.dist + 'stylesheets/'))
); );