From 16c2705f7b5b5af6e3e64135b24ab10106e25abe Mon Sep 17 00:00:00 2001 From: Carson Shold Date: Thu, 6 Mar 2014 14:05:36 -0500 Subject: [PATCH 1/3] Minor cleanup of unused classes/styles --- assets/ajaxify.scss.liquid | 1 + assets/timber.scss.liquid | 14 ++++++++++---- snippets/collection-tags.liquid | 5 ++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/assets/ajaxify.scss.liquid b/assets/ajaxify.scss.liquid index fd9cfa7be..f4da05c71 100644 --- a/assets/ajaxify.scss.liquid +++ b/assets/ajaxify.scss.liquid @@ -142,6 +142,7 @@ $quantityTextColor: #fff; form[action="/cart/add"] { @include clearfix; } + .flip { display: block; float: left; diff --git a/assets/timber.scss.liquid b/assets/timber.scss.liquid index aef67b27c..3a080f99b 100755 --- a/assets/timber.scss.liquid +++ b/assets/timber.scss.liquid @@ -27,7 +27,7 @@ #Lists #Tables #OOCSS Media Object - #Images + #Images and Iframes #Forms #Buttons #Pagination @@ -109,7 +109,7 @@ $successGreen: #0a942a; /* Width variables */ $siteWidth: 1180px; $gutter: 24px; -$gridGutter: 24px; +$gridGutter: 5%; // can be a %, but nested grids will have smaller margins because of it /* Radius */ $radius: 3px; @@ -841,10 +841,11 @@ th, td { // ============================================================================== -// #Images +// #Images and Iframes // ============================================================================== img.auto, -.grid-item img { +.grid-item img, +.grid-item iframe { max-width: 100%; height: auto; } @@ -853,6 +854,9 @@ img.auto, // ============================================================================== // #Forms // ============================================================================== +form { + margin-bottom: $gutter; +} input, textarea, select, @@ -948,6 +952,8 @@ label[for] { /* Horizontal Form */ form.form-horizontal, .form-horizontal { + margin-bottom: 0; + input[type="text"], input[type="password"], input[type="email"], diff --git a/snippets/collection-tags.liquid b/snippets/collection-tags.liquid index 1820e4784..64aa00fa8 100755 --- a/snippets/collection-tags.liquid +++ b/snippets/collection-tags.liquid @@ -34,10 +34,9 @@ {% assign type_escaped = collection.products.first.type | escape %} {% assign vendor_escaped = collection.products.first.vendor | escape %} -
Tags
- -