Skip to content

Commit

Permalink
Merge pull request #360 from Automattic/fix/site-picker-contrast
Browse files Browse the repository at this point in the history
Framework: Contrast and gridicon update to full screen site picker
  • Loading branch information
kellychoffman committed Nov 24, 2015
2 parents 3f32227 + b6f4b2e commit 79f0706
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 5 additions & 7 deletions assets/stylesheets/sections/_sites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@
}

.site-card__add-new {
.noticon {
font-size: 64px;
height: 65px;
margin-top: 20px;
.gridicon {
margin: 28px 0 4px;
color: darken( $gray, 10% );
transition: all 0.1s ease-in-out;
}

a:hover .noticon {
a:hover .gridicon {
color: $blue-medium;
}

Expand All @@ -42,7 +40,7 @@
background: none;
box-shadow: none;
border: 2px dashed lighten( $gray, 20% );
padding-top: 25px;
padding-top: 24px;

.site-card__title {
color: darken( $gray, 10% );
Expand Down Expand Up @@ -200,7 +198,7 @@

// Banner image
.site-card__header {
background-color: $gray-light;
background-color: lighten( $gray, 30% );
background-size: cover;
position: absolute;
top: 0;
Expand Down
3 changes: 2 additions & 1 deletion client/my-sites/sites/sites.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var React = require( 'react' ),
*/
var SiteCard = require( './site-card' ),
SearchCard = require( 'components/search-card' ),
Gridicon = require( 'components/gridicon' ),
infiniteScroll = require( 'lib/mixins/infinite-scroll' ),
observe = require( 'lib/mixins/data-observe' ),
config = require( 'config' );
Expand Down Expand Up @@ -83,7 +84,7 @@ module.exports = React.createClass( {
<div className="site-card site-card__add-new" key="new-site-box">
<a href={ config( 'signup_url' ) + '?ref=calypso-sites' }>
<div className="site-card__content">
<span className="noticon noticon-plus" />
<Gridicon icon="add-outline" size={ 48 } />
<h3 className="site-card__title">{ this.translate( 'Start a New WordPress' ) }</h3>
</div>
</a>
Expand Down

0 comments on commit 79f0706

Please sign in to comment.