Skip to content

Commit

Permalink
Improve buy button styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaspar Naaber committed Apr 5, 2017
1 parent b74dee2 commit d59a976
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 1 deletion.
25 changes: 25 additions & 0 deletions sources/stylesheets/_buy-button.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// =============================================================================
// Content area buy button
// =============================================================================
.content-formatted {
.edy-buy-button-container {
// sass-lint:disable class-name-format
.form_field {
padding-top: 15px;
}
// sass-lint:enable class-name-format
}

.edy-buy-button-variants {
// sass-lint:disable class-name-format
.form_field {
padding-top: 5px;
padding-bottom: 5px;
}

.form_field_select {
width: initial;
}
// sass-lint:enable class-name-format
}
}
1 change: 1 addition & 0 deletions sources/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// @import 'fonts';
@import 'general';
@import 'content-formatted';
@import 'buy-button';
@import 'menus';
@import 'header';
// @import 'topbar';
Expand Down
11 changes: 11 additions & 0 deletions stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,17 @@ span[style*="font-size"] {
line-height: 1.7em;
}

.content-formatted .edy-buy-button-container .form_field {
padding-top: 15px;
}
.content-formatted .edy-buy-button-variants .form_field {
padding-top: 5px;
padding-bottom: 5px;
}
.content-formatted .edy-buy-button-variants .form_field_select {
width: initial;
}

/* MENUS */
.menu-btn {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/main.min.css

Large diffs are not rendered by default.

0 comments on commit d59a976

Please sign in to comment.