From 0076410f31158aba030e8a902e474b2db3bd06c6 Mon Sep 17 00:00:00 2001 From: Adam Biagianti Date: Fri, 1 Sep 2017 10:10:43 -0400 Subject: [PATCH] Minor consistency updates, change chevron color * Default blue is difficult to see against the black background * Remove uneeded `classnames` function call * change pascal-cased class name * remove commented out code --- static_src/components/disclaimer.jsx | 11 ++++------- static_src/css/overrides.css | 6 ++---- static_src/img/angle-arrow-down-primary.svg | 2 +- static_src/img/angle-arrow-up-primary-hover.svg | 2 +- 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/static_src/components/disclaimer.jsx b/static_src/components/disclaimer.jsx index 0d67e1ff..175aca7a 100644 --- a/static_src/components/disclaimer.jsx +++ b/static_src/components/disclaimer.jsx @@ -4,8 +4,8 @@ import { config } from 'skin'; const arrowUpImg = require('../img/angle-arrow-down-primary.svg'); const arrowDownImg = require('../img/angle-arrow-up-primary-hover.svg'); -const dotGovIcon = require('../img/icon-dot-gov.svg'); // require('cloudgov-style/img/icon-dot-gov.svg'); -const httpsIcon = require('../img/icon-https.svg'); //require('cloudgov-style/img/icon-https.svg'); +const dotGovIcon = require('../img/icon-dot-gov.svg'); +const httpsIcon = require('../img/icon-https.svg'); const flag = require('cloudgov-style/img/us_flag_small.png'); const dotGovAlt = 'Dot gov'; @@ -39,9 +39,6 @@ export default class Disclaimer extends React.Component { const panelClass = classnames('usa-banner-content usa-grid usa-accordion-content', { hide: hidden }); - const bannerBarClass = classnames('usa-banner usa-disclaimer disclaimer-no_sidebar', { - expanded: expanded - }); let flagImg; let arrowImg; @@ -59,7 +56,7 @@ export default class Disclaimer extends React.Component { } return ( -
+
{ config.header.disclaimer } @@ -71,7 +68,7 @@ export default class Disclaimer extends React.Component { onClick={ this.handleClick } > { config.header.disclaimer_link_text } - { + { diff --git a/static_src/css/overrides.css b/static_src/css/overrides.css index f1a6f3e3..dfe9f759 100644 --- a/static_src/css/overrides.css +++ b/static_src/css/overrides.css @@ -39,14 +39,12 @@ font-weight: 500; } -img.rightArrow{ +img.right-arrow{ + color: white; float: right; width: 0.7rem; } - - - .usa-width-one-half:first-child>:first-child{ margin-top: 0px; } diff --git a/static_src/img/angle-arrow-down-primary.svg b/static_src/img/angle-arrow-down-primary.svg index f522e715..0d0c836a 100644 --- a/static_src/img/angle-arrow-down-primary.svg +++ b/static_src/img/angle-arrow-down-primary.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/static_src/img/angle-arrow-up-primary-hover.svg b/static_src/img/angle-arrow-up-primary-hover.svg index 05a4c041..bf35a108 100644 --- a/static_src/img/angle-arrow-up-primary-hover.svg +++ b/static_src/img/angle-arrow-up-primary-hover.svg @@ -1 +1 @@ - \ No newline at end of file +