Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign committed Jun 19, 2018
1 parent 90a8175 commit 21aaac5
Show file tree
Hide file tree
Showing 28 changed files with 510 additions and 224 deletions.
26 changes: 17 additions & 9 deletions assets/css/main-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ input[disabled] { cursor: default; opacity: .66; }

.comment-form label { display: block; }

.comment-form [type="checkbox"] + label, .comment-form [type="radio"] + label { display: inline-block; }

.comment-form-author input, .comment-form-email input, .comment-form-url input, .comment-form-comment textarea { width: 100%; }

.comment-form-url { clear: both; }
Expand Down Expand Up @@ -1595,6 +1597,8 @@ blockquote.alignright { margin-right: 0; }

.gallery-caption { padding: 1em; margin-top: -1px; }

.sticky { /* No special styles here. */ }

.mejs-container { margin-bottom: 1.62em; }

.mejs-container:last-child { margin-bottom: 0; }
Expand Down Expand Up @@ -2302,6 +2306,8 @@ div.sharedaddy { margin-top: 2.6244rem; border-color: inherit; }

@media only screen and (min-width: 42em) { .entry-author .author-bio { clear: both; } }

.entry-author .author-link { display: block; margin-top: 1em; }

.fl-builder .entry-author, .content-layout-no-paddings .entry-author { /* $content_width */ max-width: 744px; max-width: 41.33333rem; margin-left: auto; margin-right: auto; }

.entry-content .portfolio-entry { padding: 1.62em; margin: 1em; border-width: 1px; border-style: solid; border-bottom-width: 2px; border-bottom-color: inherit; }
Expand Down Expand Up @@ -2334,25 +2340,27 @@ div.sharedaddy { margin-top: 2.6244rem; border-color: inherit; }

.posts .type-jetpack-portfolio .entry-content { display: none; }

.entry-content .testimonial-entry { margin: 1em; }
.entry-content .testimonial-entry { margin: 1.81em; }

.entry-content .testimonial-entry .testimonial-featured-image { display: inline-block; max-width: 6em; margin-top: 1em; }

.testimonial-entry-title a { display: inline-block; vertical-align: top; }

.testimonial-entry-title .entry-subtitle { margin: 0; font-size: inherit; }

.jetpack-testimonial-shortcode { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }

.entry-content .jetpack-testimonial-shortcode { margin: -1em; }
.entry-content .jetpack-testimonial-shortcode { margin: -1.81em; }

.jetpack-testimonial-shortcode .testimonial-entry { width: calc( 100% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry { width: calc( 100% - 3.62em); }

@media only screen and (min-width: 42em) { .jetpack-testimonial-shortcode .testimonial-entry { width: calc( 50% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-1 { width: calc( 100% - 2em); } }
@media only screen and (min-width: 42em) { .jetpack-testimonial-shortcode .testimonial-entry { width: calc( 50% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-1 { width: calc( 100% - 3.62em); } }

@media only screen and (min-width: 55em) { .jetpack-testimonial-shortcode .testimonial-entry-column-3 { width: calc( 33.33333% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-4 { width: calc( 25% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-5 { width: calc( 20% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-6 { width: calc( 16.66667% - 2em); } }
@media only screen and (min-width: 55em) { .jetpack-testimonial-shortcode .testimonial-entry-column-3 { width: calc( 33.33333% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-4 { width: calc( 25% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-5 { width: calc( 20% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-6 { width: calc( 16.66667% - 3.62em); } }

/* FILE: main/plugins/__subtitles.scss */
.entry-subtitle { display: block; margin-top: 0.38em; opacity: .8; }
Expand Down
26 changes: 17 additions & 9 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ input[disabled] { cursor: default; opacity: .66; }

.comment-form label { display: block; }

.comment-form [type="checkbox"] + label, .comment-form [type="radio"] + label { display: inline-block; }

.comment-form-author input, .comment-form-email input, .comment-form-url input, .comment-form-comment textarea { width: 100%; }

.comment-form-url { clear: both; }
Expand Down Expand Up @@ -1593,6 +1595,8 @@ blockquote.alignright { margin-right: 0; }

.gallery-caption { padding: 1em; margin-top: -1px; }

.sticky { /* No special styles here. */ }

.mejs-container { margin-bottom: 1.62em; }

.mejs-container:last-child { margin-bottom: 0; }
Expand Down Expand Up @@ -2300,6 +2304,8 @@ div.sharedaddy { margin-top: 2.6244rem; border-color: inherit; }

@media only screen and (min-width: 42em) { .entry-author .author-bio { clear: both; } }

.entry-author .author-link { display: block; margin-top: 1em; }

.fl-builder .entry-author, .content-layout-no-paddings .entry-author { /* $content_width */ max-width: 744px; max-width: 41.33333rem; margin-left: auto; margin-right: auto; }

.entry-content .portfolio-entry { padding: 1.62em; margin: 1em; border-width: 1px; border-style: solid; border-bottom-width: 2px; border-bottom-color: inherit; }
Expand Down Expand Up @@ -2332,25 +2338,27 @@ div.sharedaddy { margin-top: 2.6244rem; border-color: inherit; }

.posts .type-jetpack-portfolio .entry-content { display: none; }

.entry-content .testimonial-entry { margin: 1em; }
.entry-content .testimonial-entry { margin: 1.81em; }

.entry-content .testimonial-entry .testimonial-featured-image { display: inline-block; max-width: 6em; margin-top: 1em; }

.testimonial-entry-title a { display: inline-block; vertical-align: top; }

.testimonial-entry-title .entry-subtitle { margin: 0; font-size: inherit; }

.jetpack-testimonial-shortcode { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }

.entry-content .jetpack-testimonial-shortcode { margin: -1em; }
.entry-content .jetpack-testimonial-shortcode { margin: -1.81em; }

.jetpack-testimonial-shortcode .testimonial-entry { width: calc( 100% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry { width: calc( 100% - 3.62em); }

@media only screen and (min-width: 42em) { .jetpack-testimonial-shortcode .testimonial-entry { width: calc( 50% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-1 { width: calc( 100% - 2em); } }
@media only screen and (min-width: 42em) { .jetpack-testimonial-shortcode .testimonial-entry { width: calc( 50% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-1 { width: calc( 100% - 3.62em); } }

@media only screen and (min-width: 55em) { .jetpack-testimonial-shortcode .testimonial-entry-column-3 { width: calc( 33.33333% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-4 { width: calc( 25% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-5 { width: calc( 20% - 2em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-6 { width: calc( 16.66667% - 2em); } }
@media only screen and (min-width: 55em) { .jetpack-testimonial-shortcode .testimonial-entry-column-3 { width: calc( 33.33333% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-4 { width: calc( 25% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-5 { width: calc( 20% - 3.62em); }
.jetpack-testimonial-shortcode .testimonial-entry-column-6 { width: calc( 16.66667% - 3.62em); } }

/* FILE: main/plugins/__subtitles.scss */
.entry-subtitle { display: block; margin-top: 0.38em; opacity: .8; }
Expand Down
16 changes: 11 additions & 5 deletions assets/css/woocommerce-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ ul.order_details::after { background-position: 0 0; top: auto; bottom: -0.5em; }

.variation dd { float: right; margin-right: 0.38em; }

.single-product .summary .variations .label { font-weight: 700; }
.single-product .summary .variations .label { font-weight: 700; white-space: nowrap; }

.single-product .summary .variations select { float: left; width: auto; padding-left: 1.62em; padding-top: 0; padding-bottom: 0; background-color: transparent; background-origin: padding-box; border-width: 0; border-bottom-width: 2px; border-bottom-style: solid; border-color: currentColor; cursor: pointer; }

.single-product .summary .variations_button { margin-top: 1.62em; }

.single-product .summary .variations_button .button:first-child { width: 100%; }

.single-product .summary .single_variation .price { display: block; margin-bottom: 1em; }
.single-product .summary .single_variation .price { display: block; }

.single-product .summary .reset_variations { float: left; margin-top: 0.38em; margin-left: 0.62em; text-decoration: none; font-size: 0.81em; }

Expand Down Expand Up @@ -373,6 +373,8 @@ ul.products .product .button, ul.products .product .added_to_cart { position: re

ul.products .product .button::before, ul.products .product .added_to_cart::before { content: '\f447'; display: inline-block; margin-left: 0.38em; line-height: 0.62; font-size: 1.38em; vertical-align: middle; }

ul.products .product.outofstock .button::before, ul.products .product.outofstock .added_to_cart::before { display: none; }

ul.products .product .button + .button { margin-top: 1em; }

ul.products .product .button.loading::before { content: '\f420'; -webkit-animation-name: rotate; animation-name: rotate; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; }
Expand Down Expand Up @@ -495,7 +497,7 @@ ul.products.columns-1 .product { width: 97.24%; }

.single-product .summary .product-description-link-container { margin-top: -1em; text-align: left; }

.single-product .summary .price { font-size: 1.62em; }
.single-product .summary .price { margin-bottom: 1.62rem; font-size: 1.62em; }

.single-product .summary .stock { display: inline-block; padding: 0.38em 0.62em; font-size: 0.81em; border-width: 1px; border-style: solid; }

Expand Down Expand Up @@ -905,7 +907,7 @@ html .content-layout-stretched .woocommerce-tabs .woocommerce-Tabs-panel--descri

.shipping-calculator-button { font-weight: 700; text-transform: uppercase; border: 2px solid; color: inherit; }

.shipping-calculator-form { padding: 1em 1.62em; }
.shipping-calculator-form { padding: 1em; }

.cart-empty { margin-bottom: 1em; font-weight: 700; }

Expand Down Expand Up @@ -978,9 +980,13 @@ html .content-layout-stretched .woocommerce-tabs .woocommerce-Tabs-panel--descri

.wc_payment_methods .payment_box { padding: 1em 1.62em; }

.woocommerce-privacy-policy-text { margin: 1.62em 0; }

.wc-terms-and-conditions { margin-top: 1.62em; text-align: center; }

.woocommerce-terms-and-conditions { padding: 1.62em; margin: 1.62em 0; font-size: 0.905em; border-width: 1px; border-style: dashed; }
.woocommerce-terms-and-conditions { padding: 1.62em; margin-bottom: 1.62em; font-size: 0.905em; border-width: 1px; border-style: dashed; }

.woocommerce-terms-and-conditions-wrapper { margin-top: 1.62em; }

.woocommerce-terms-and-conditions h2, .woocommerce-terms-and-conditions .h2 { font-size: 1.38em; }

Expand Down
16 changes: 11 additions & 5 deletions assets/css/woocommerce.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ ul.order_details::after { background-position: 0 0; top: auto; bottom: -0.5em; }

.variation dd { float: left; margin-left: 0.38em; }

.single-product .summary .variations .label { font-weight: 700; }
.single-product .summary .variations .label { font-weight: 700; white-space: nowrap; }

.single-product .summary .variations select { float: right; width: auto; padding-right: 1.62em; padding-top: 0; padding-bottom: 0; background-color: transparent; background-origin: padding-box; border-width: 0; border-bottom-width: 2px; border-bottom-style: solid; border-color: currentColor; cursor: pointer; }

.single-product .summary .variations_button { margin-top: 1.62em; }

.single-product .summary .variations_button .button:first-child { width: 100%; }

.single-product .summary .single_variation .price { display: block; margin-bottom: 1em; }
.single-product .summary .single_variation .price { display: block; }

.single-product .summary .reset_variations { float: right; margin-top: 0.38em; margin-right: 0.62em; text-decoration: none; font-size: 0.81em; }

Expand Down Expand Up @@ -373,6 +373,8 @@ ul.products .product .button, ul.products .product .added_to_cart { position: re

ul.products .product .button::before, ul.products .product .added_to_cart::before { content: '\f447'; display: inline-block; margin-right: 0.38em; line-height: 0.62; font-size: 1.38em; vertical-align: middle; }

ul.products .product.outofstock .button::before, ul.products .product.outofstock .added_to_cart::before { display: none; }

ul.products .product .button + .button { margin-top: 1em; }

ul.products .product .button.loading::before { content: '\f420'; -webkit-animation-name: rotate; animation-name: rotate; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-timing-function: linear; animation-timing-function: linear; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; }
Expand Down Expand Up @@ -495,7 +497,7 @@ ul.products.columns-1 .product { width: 97.24%; }

.single-product .summary .product-description-link-container { margin-top: -1em; text-align: right; }

.single-product .summary .price { font-size: 1.62em; }
.single-product .summary .price { margin-bottom: 1.62rem; font-size: 1.62em; }

.single-product .summary .stock { display: inline-block; padding: 0.38em 0.62em; font-size: 0.81em; border-width: 1px; border-style: solid; }

Expand Down Expand Up @@ -905,7 +907,7 @@ html .content-layout-stretched .woocommerce-tabs .woocommerce-Tabs-panel--descri

.shipping-calculator-button { font-weight: 700; text-transform: uppercase; border: 2px solid; color: inherit; }

.shipping-calculator-form { padding: 1em 1.62em; }
.shipping-calculator-form { padding: 1em; }

.cart-empty { margin-bottom: 1em; font-weight: 700; }

Expand Down Expand Up @@ -978,9 +980,13 @@ html .content-layout-stretched .woocommerce-tabs .woocommerce-Tabs-panel--descri

.wc_payment_methods .payment_box { padding: 1em 1.62em; }

.woocommerce-privacy-policy-text { margin: 1.62em 0; }

.wc-terms-and-conditions { margin-top: 1.62em; text-align: center; }

.woocommerce-terms-and-conditions { padding: 1.62em; margin: 1.62em 0; font-size: 0.905em; border-width: 1px; border-style: dashed; }
.woocommerce-terms-and-conditions { padding: 1.62em; margin-bottom: 1.62em; font-size: 0.905em; border-width: 1px; border-style: dashed; }

.woocommerce-terms-and-conditions-wrapper { margin-top: 1.62em; }

.woocommerce-terms-and-conditions h2, .woocommerce-terms-and-conditions .h2 { font-size: 1.38em; }

Expand Down
75 changes: 75 additions & 0 deletions assets/js/scripts-masonry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/**
* Masonry layouts
*
* @package Reykjavik
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.2.0
* @version 1.2.0
*/





( function( $ ) {

if ( $().masonry ) {





/**
* Masonry posts/products
*/

var
$isShop = $( document.body ).is( '.archive, .woocommerce' ),
$list = ( $isShop ) ? ( $( '.products' ) ) : ( $( '.posts' ) ),
$itemClass = ( $isShop ) ? ( '.product' ) : ( '.entry' );

$list
.imagesLoaded( function() {

// Processing

$list
.masonry( {
itemSelector : $itemClass,
percentPosition : true,
isOriginLeft : ( 'rtl' !== $( 'html' ).attr( 'dir' ) )
} );

} );



/**
* Jetpack Infinite Scroll posts loading
*/

$( document.body )
.on( 'post-load', function() {

// Processing

$list
.imagesLoaded( function() {

// Processing

$list
.masonry( 'reload' );

} );

} );





} // /masonry

} )( jQuery );
2 changes: 1 addition & 1 deletion assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// @copyright WebMan Design, Oliver Juhas
//
// @since 1.0.0
// @version 1.0.8
// @version 1.2.0
//


Expand Down
8 changes: 8 additions & 0 deletions assets/scss/main/content/__wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@



// Sticky posts

.sticky {
/* No special styles here. */
}



// Media player

.mejs-container {
Expand Down
Loading

0 comments on commit 21aaac5

Please sign in to comment.