diff --git a/src/components/dropdown/dropdown.scss b/src/components/dropdown/dropdown.scss index 78ef27a81..4b0c56cb5 100644 --- a/src/components/dropdown/dropdown.scss +++ b/src/components/dropdown/dropdown.scss @@ -15,6 +15,10 @@ font-size: .8125rem; font-weight: normal; + &.staging { + background-color: $ui-orange; + } + &.open { display: block; } @@ -53,7 +57,7 @@ text-decoration: none; } } - } + } &.with-arrow { $arrow-border-width: 14px; @@ -61,12 +65,12 @@ border-radius: 5px; overflow: visible; - &:before { + &:before { display: block; position: absolute; top: -$arrow-border-width / 2; right: 10%; - + transform: rotate(45deg); border-top: 1px solid $active-gray; diff --git a/src/components/navigation/container/navigation.scss b/src/components/navigation/container/navigation.scss index c4d49de68..abcc7937a 100644 --- a/src/components/navigation/container/navigation.scss +++ b/src/components/navigation/container/navigation.scss @@ -11,8 +11,12 @@ box-shadow: 0 0 3px $box-shadow-gray; background-color: $ui-blue; + &.staging { + background-color: $ui-orange; + } - width: 100%; + + width: 100%; /* NOTE: Height should match offset settings in main.scss file */ height: 50px; @@ -35,7 +39,7 @@ .ie9 & { display: table-row; } - + > li { display: inline-block; @@ -75,7 +79,7 @@ display: block; padding: 13px 15px 4px 15px; height: 33px; - + text-decoration: none; white-space: nowrap; color: $type-white; diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx index 6b678e9d9..8e740df12 100644 --- a/src/components/navigation/www/navigation.jsx +++ b/src/components/navigation/www/navigation.jsx @@ -253,7 +253,8 @@ var Navigation = React.createClass({ + onRequestClose={this.closeAccountNav} + className={process.env.SCRATCH_ENV}>
  • diff --git a/src/components/page/www/page.jsx b/src/components/page/www/page.jsx index 93776e35c..070f7e1dc 100644 --- a/src/components/page/www/page.jsx +++ b/src/components/page/www/page.jsx @@ -1,4 +1,5 @@ var React = require('react'); +var classNames = require('classnames'); var Navigation = require('../../navigation/www/navigation.jsx'); var Footer = require('../../footer/www/footer.jsx'); @@ -6,9 +7,12 @@ var Footer = require('../../footer/www/footer.jsx'); var Page = React.createClass({ type: 'Page', render: function () { + var classes = classNames({ + 'staging': process.env.SCRATCH_ENV == 'staging' + }); return (
    -