Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Revert "VOTE-1039 add nvrf review link (#991)"
Browse files Browse the repository at this point in the history
This reverts commit 81566be.
  • Loading branch information
SamiraMSadat committed Jul 22, 2024
1 parent 81566be commit eac30b7
Show file tree
Hide file tree
Showing 22 changed files with 351 additions and 2,502 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@ npm-debug.log
assets/**/*demo.html

# Assets generated by build pipeline
static/**/*
static/assets/*

# The compiled Hugo site
public/

# The generated language content and layouts directories
content/registrar
layouts/registrar
content/*/*/data
content/*/*/files

tmp/

Expand Down
Binary file removed assets/img/NVRF_hero_lockup.png
Binary file not shown.
63 changes: 33 additions & 30 deletions assets/styles/component/alert.scss
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
@use 'uswds-core' as *;
@use '../mixins' as *;

.sitewide-alert, .page-alert {
.usa-alert {
padding: 0;
margin-top: 0;
border-left: 0.5rem solid #00bde3;
}
.usa-alert {
padding: 0;
margin-top: 0;
border-left: 0.5rem solid #00bde3;
}

[dir="rtl"] .usa-alert {
border-right: 0.5rem solid #00bde3;
border-left: 0;
}
[dir="rtl"] .usa-alert {
border-right: 0.5rem solid #00bde3;
border-left: 0;
}

.usa-alert--info:before {
display: none;
}
.usa-alert--info:before {
display: none;
}

.usa-alert--info {
background-image: unset;
background-color: #e7f6f8;
border: 0;
}
.usa-alert--info {
background-image: unset;
background-color: #e7f6f8;
border: 0;
}

[dir="rtl"] .usa-alert--info {
.grid-container {
background-position: calc(100% - 1rem) 1rem;
[dir="rtl"] .usa-alert--info {
.grid-container {
background-position: calc(100% - 1rem) 1rem;

@include at-media('tablet') {
background-position: calc(100% - 1rem) 0.3rem;
}
@include at-media('tablet') {
background-position: calc(100% - 1rem) 0.3rem;
}
}
}

.usa-alert--info .usa-alert__body {
padding-left: 2.5rem;
.usa-alert--info .usa-alert__body {
padding-left: 2.5rem;

&:before {
left: -0.5rem;
}
}
&:before {
left: -0.5rem;
}
}

.usa-alert__text:only-child {
margin-bottom: 0.5rem;
padding: 0.75rem 0 0.25rem;
}
8 changes: 0 additions & 8 deletions assets/styles/component/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
margin-top: 1rem;
margin-bottom: 3rem;
}

&.usa-button--outline,
&.usa-button--outline:hover,
&.usa-button--outline:focus {
background-color: transparent;
color: $color-blue-dark;
box-shadow: inset 0 0 0 2px $color-blue-dark;
}
}

.usa-button:hover,
Expand Down
4 changes: 0 additions & 4 deletions assets/styles/component/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
}
}

.nvrf-hero {
padding: 20px 0;
}

.align-bottom {
display: flex;
flex-direction: column;
Expand Down
9 changes: 0 additions & 9 deletions assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ $theme-show-notifications: false,
@forward "usa-prose";
@forward "usa-intro";
@forward "usa-language-selector";
@forward "usa-layout-grid";

// NVRF dependencies --------------- //
@forward "usa-card";
@forward "usa-step-indicator";
@forward "usa-icon-list";
@forward "uswds-fonts";
@forward "uswds-helpers";
@forward "uswds-utilities";

@forward 'component/language-switcher';
@forward 'component/identifier';
Expand Down
78 changes: 0 additions & 78 deletions assets/styles/nvrf.scss

This file was deleted.

7 changes: 6 additions & 1 deletion assets/styles/pages/state-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
margin-bottom: 60px;
margin-top: 40px;

a:not(.usa-button) {
a {
color: $color-blue-dark;
}

Expand All @@ -18,4 +18,9 @@
margin-bottom: 0.5em;
margin-top: 30px;
}

p {
margin-bottom: 1em;
margin-top: 0;
}
}
8 changes: 0 additions & 8 deletions content/en/national-voter-registration-form-review/nvrf.html

This file was deleted.

39 changes: 0 additions & 39 deletions content/en/national-voter-registration-form-review/privacy.html

This file was deleted.

2 changes: 1 addition & 1 deletion gulp/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ exports.buildWebsite = buildWebsite;
exports.watch = watch;
exports.website= website;

var build = gulp.series(cleanAll, printPackageInfo, gulp.parallel('styles', 'scripts', 'images', 'fonts', 'nvrf'), 'data');
var build = gulp.series(cleanAll, printPackageInfo, gulp.parallel('styles', 'scripts', 'images', 'fonts'), 'data');
var buildWebsite = gulp.series (build, buildWebsite);
var website = gulp.series (build, website);

Expand Down
40 changes: 0 additions & 40 deletions gulp/nvrf.js

This file was deleted.

2 changes: 1 addition & 1 deletion gulp/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gulp.task('styles', gulp.series('scss-lint', function () {
log(colors.cyan('styles'), 'Compiling Sass assets');

var scssStream = scss({includePaths: ["node_modules/@uswds/uswds/packages"]});
var stream = gulp.src(['./assets/styles/main.scss', './assets/styles/nvrf.scss']);
var stream = gulp.src('./assets/styles/main.scss');

if (process.env.NODE_ENV === 'production') {
log(colors.cyan('styles'), 'Compressing styles');
Expand Down
1 change: 0 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require('./gulp/styles');
require('./gulp/scripts');
require('./gulp/images');
require('./gulp/fonts');
require('./gulp/nvrf');
require('./gulp/data');
var build = require('./gulp/build');
var gulp = require('gulp');
Expand Down
2 changes: 0 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ <h1 class="main-heading" data-test="main-header">{{ .Title }}</h1>
{{ .Content }}
</section>

{{ if ne .Params.hide_back_link "true" }}
<p class="arrow-text"><a href="{{ .Site.Home.RelPermalink }}" title="Vote.gov" data-test="back-button"><span class="arrow direction"></span>{{ .Site.Params.go_back }}</a></p>
{{ end }}

</div>
</div>
Expand Down
36 changes: 0 additions & 36 deletions layouts/nvrf/single.html

This file was deleted.

Loading

0 comments on commit eac30b7

Please sign in to comment.