Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Show install button on store snap cards
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwilkin committed Jul 1, 2016
1 parent 695dec9 commit c7f43aa
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
33 changes: 32 additions & 1 deletion www/src/css/snaplist.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
margin-right:10px;
}

.b-store .b-installer {
margin-left:auto;
width:60%;
}

.b-store .b-installer__button {
padding-left:10%;
padding-right:10%;
}

/** grid style **/

.b-snaplist_grid {
Expand All @@ -34,6 +44,10 @@
margin-top:140%;
}

.b-store .b-snaplist_grid .b-snaplist__item:before {
margin-top:155%;
}

.b-snaplist_grid .b-snaplist__meta {
border-top:1px dotted #cdcdcd;
padding:10px 0 15px 0;
Expand All @@ -44,7 +58,13 @@
width:100%;
}

.b-snaplist_grid .b-snaplist__meta * {
.b-store .b-snaplist_grid .b-snaplist__meta {
height:105px;
}

.b-snaplist_grid .b-snaplist__name,
.b-snaplist_grid .b-snaplist__developer,
.b-snaplist_grid .b-snaplist__actions {
margin:0 12px;
white-space:nowrap;
overflow:hidden;
Expand All @@ -62,6 +82,13 @@
display:none;
}

.b-store .b-snaplist_grid .b-snaplist__actions {
display:block;
border-top:1px solid #d2d2d2;
margin:15px 10px 0;
padding:10px 0 0 0;
}

.b-snaplist__icon-wrapper {
position:absolute;
top:0;
Expand All @@ -70,6 +97,10 @@
padding:25px 20px 100px 20px;
}

.b-store .b-snaplist__icon-wrapper {
padding-bottom:140px;
}

.b-snaplist__icon {
max-height:100%;
margin:0 auto;
Expand Down
2 changes: 1 addition & 1 deletion www/src/js/views/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var template = require('../templates/search.hbs');

module.exports = Backbone.Marionette.LayoutView.extend({

className: 'search',
className: 'b-store',

template : function() {
return template();
Expand Down
2 changes: 1 addition & 1 deletion www/src/js/views/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var template = require('../templates/store.hbs');

module.exports = Backbone.Marionette.LayoutView.extend({

className: 'b-layout__container',
className: 'b-store',

template : function() {
return template();
Expand Down

0 comments on commit c7f43aa

Please sign in to comment.