This commit is contained in:
erwanlr
2018-12-06 21:41:00 +00:00
parent 1ce057a78e
commit d60269f4bc
5 changed files with 4435 additions and 0 deletions

View File

@@ -202,6 +202,12 @@ plugins:
path: languages/404-to-301.pot
pattern: !ruby/regexp '/"Project\-Id\-Version: 404 to 301 (?<v>\d+\.[\.\d]+)/i'
version: true
4nton-extensions:
JavascriptFile:
class: BodyPattern
path: assets/js/script.js
pattern: !ruby/regexp '/Version: (?<v>\d+\.[\.\d]+)/i'
version: true
8-degree-availability-calendar:
QueryParameter:
files:
@@ -1179,6 +1185,12 @@ plugins:
- public/css/amazonpolly-public.css
- public/js/amazonpolly-public.js
version: true
amazon-product-in-a-post-plugin:
CssFile:
class: BodyPattern
path: css/amazon-default-plugin-styles.css
pattern: !ruby/regexp /plugin version (?<v>\d+\.[\.\d]+)/i
version: true
amazonjs:
QueryParameter:
files:

View File

@@ -218,6 +218,13 @@ plugins:
interesting_entries:
- 'http://wp.lab/wp-content/plugins/404-to-301/languages/404-to-301.pot, Match:
''"Project-Id-Version: 404 to 301 3.0.1'''
4nton-extensions:
JavascriptFile:
number: 1.2.1
found_by: Javascript File (Aggressive Detection)
interesting_entries:
- 'http://wp.lab/wp-content/plugins/4nton-extensions/assets/js/script.js, Match:
''Version: 1.2.1'''
8-degree-availability-calendar:
QueryParameter:
number: 1.0.7
@@ -573,6 +580,11 @@ plugins:
interesting_entries:
- 'http://wp.lab/wp-content/plugins/ad-inserter/css/ad-inserter.css, Match:
''font-family: "2.3.3"; /* Used for version number'''
JavascriptFile:
number: 2.4.2
found_by: Javascript File (Aggressive Detection)
interesting_entries:
- 'http://wp.lab/wp-content/plugins/ad-inserter/js/ad-inserter.js, Match: ''2.4.2'''
ad-music-player-lite:
TranslationFile:
number: 1.0.0
@@ -1446,6 +1458,13 @@ plugins:
- http://wp.lab/wp-content/plugins/amazon-polly/public/css/amazonpolly-public.css?ver=1.0.0
- http://wp.lab/wp-content/plugins/amazon-polly/public/js/amazonpolly-public.js?ver=1.0.0
confidence: 20
amazon-product-in-a-post-plugin:
CssFile:
number: 4.0.3.3
found_by: Css File (Aggressive Detection)
interesting_entries:
- 'http://wp.lab/wp-content/plugins/amazon-product-in-a-post-plugin/css/amazon-default-plugin-styles.css,
Match: ''plugin version 4.0.3.3'''
amazonjs:
QueryParameter:
number: '0.8'

View File

@@ -0,0 +1,372 @@
/* Version: 1.2.1 */
jQuery(document).ready(function($){
var to=(function(){var timers={};return function(callback,ms,x_id){if(!x_id){x_id='';}if(timers[x_id]){clearTimeout(timers[x_id]);}timers[x_id]=setTimeout(callback,ms);};})(),id,xstyle,xtop,slr=300,show_popup=false,allottedtime,expiration,ifautofit = 0,rd_bxslider,ads_scrolltop,ae,aeii,ae_popup_title,ae_multiple,ae_loading = false,ae_upload_type,ae_media_type,ae_submit_text,ae_key;
String.prototype.number_format = (function(d){
var n = this,c = isNaN(d = Math.abs(d)) ? 2 : d,s = n < 0 ? "-" : "",i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
return s + (j ? i.substr(0, j) + ',' : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + ',') + (c ? '.' + Math.abs(n - i).toFixed(c).slice(2) : "");
});
var xa, xthis,xattach_id = 0,
xb = $( '.ae-ua-upload .ae-upload' ),
xc = $( '.ae-ua-upload .ae-new' ),
xd = $( '.ae-ua-upload .ae-crop-wrap' ),
xe = $( '.ae-ua-upload .ae-img-wrap' ),
xawidth = parseInt( xb.attr( 'data-width' ) ),
xawidth = ( xawidth ? xawidth : 300 ),
xaheight = parseInt( xb.attr( 'data-height' ) ),
xaheight = ( xaheight ? xaheight : 300 ),
xboundaryw = xawidth + 200,
xboundaryh = xaheight + 100;
if( window.innerWidth <= xboundaryw ){
xboundaryw = 300,
xboundaryh = 200;
xcroppie();
}else{
xcroppie();
}
function xcroppie(){
xc.on( 'click', function() {
xb.trigger( 'click' );
});
$( '.ae-ua-upload .edit-image' ).on( 'click', function() {
if( ! xb.val() ){
xb.trigger( 'click' );
xc.hide();
}else{
xc.show();
xd.fadeIn( function(){});
}
});
$( '.ae-ua-upload .ae-cancel' ).on( 'click', function () {
xd.fadeOut();
});
xb.on( 'change', function () {
xthis = this;
if( ! xa ){
xa = $( '.ae-ua-upload .ae-crop' ).croppie({
enableExif: true,
viewport: {
width: xawidth,
height: xaheight,
type: 'square'
},
boundary: {
width: xboundaryw,
height: xboundaryh
}
});
}
if( xa ){
xd.fadeIn(function(){
var xreader = new FileReader();
xreader.onload = (function (e) {
xa.croppie( 'bind', {
url: e.target.result
}).then(function(){});
});
if( xthis.files.length ){
xreader.readAsDataURL( xthis.files[0] );
}
});
}
});
$( '.ae-ua-upload .ae-save' ).on( 'click', function () {
xa.croppie( 'result', {
type: 'base64',
size: 'original'
}).then(function ( resp ){
if( xthis.files.length ){
var xfiledata = xthis.files[0];
$.ajax({
type : "POST",
url : ae_addon.ajaxurl,
data : {
action : 'user_avatar_upload',
base64 : resp,
file : xb.val(),
filename : xfiledata.name,
filetype : xfiledata.type,
attach_id : xattach_id,
key : xb.data( 'key' ),
},
beforeSend: function( response ) {
if( ! xd.find( '#save-loading' ).length ){
xd.find( '.cr-boundary' ).append( '<img id="save-loading" src="' + ae_addon.spinner2x + '" />' );
}
},
success: function( response ){
if(response){
var data = JSON.parse(response);
xattach_id = data.attach_id;
if( data.attach_id ){
xe.find( 'img.image' ).attr( 'src', data.attach_url ).parent( '.ae-img-wrap' ).addClass( 'ae-img-active' );
xd.find( '#save-loading' ).remove();
xd.fadeOut();
}else{
xe.find( 'img.image' ).parent( '.ae-img-wrap' ).removeClass( 'ae-img-active' );
xd.fadeOut();
xd.find( '#save-loading' ).remove();
alert( 'ERROR #1: something went wrong !!!' );
}
}else{
xe.find( 'img.image' ).parent( '.ae-img-wrap' ).removeClass( 'ae-img-active' );
xd.fadeOut();
xd.find( '#save-loading' ).remove();
alert( 'ERROR #2: something went wrong !!!' );
}
},
});
}
});
});
}
var a, _this,attach_id = 0,
b = $( '.ae-upload .ae-upload' ),
c = $( '.ae-upload .ae-new' ),
d = $( '.ae-upload .ae-crop-wrap' ),
e = $( '.ae-upload .ae-img-wrap' ),
awidth = parseInt( b.attr( 'data-width' ) ),
awidth = ( awidth ? awidth : 300 ),
aheight = parseInt( b.attr( 'data-height' ) ),
aheight = ( aheight ? aheight : 300 ),
boundaryw = awidth + 200,
boundaryh = aheight + 100;
if( window.innerWidth <= boundaryw ){
boundaryw = 300,
boundaryh = 200;
croppie();
}else{
croppie();
}
function croppie(){
c.on( 'click', function() {
b.trigger( 'click' );
});
$( '.ae-upload .edit-image' ).on( 'click', function() {
if( ! b.val() ){
b.trigger( 'click' );
c.hide();
}else{
c.show();
d.fadeIn( function(){});
}
});
$( '.ae-upload .ae-cancel' ).on( 'click', function () {
d.fadeOut();
});
b.on( 'change', function () {
_this = this;
if( ! a ){
a = $( '.ae-upload .ae-crop' ).croppie({
enableExif: true,
viewport: {
width: awidth,
height: aheight,
type: 'square'
},
boundary: {
width: boundaryw,
height: boundaryh
}
});
}
if( a ){
d.fadeIn(function(){
var reader = new FileReader();
reader.onload = (function (e) {
a.croppie( 'bind', {
url: e.target.result
}).then(function(){
/*console.log( 'jQuery bind complete' );*/
});
});
if( _this.files.length ){
reader.readAsDataURL( _this.files[0] );
}
});
}
});
$( '.ae-upload .ae-save' ).on( 'click', function () {
a.croppie( 'result', {
type: 'base64',
size: 'original'
}).then(function ( resp ){
if( _this.files.length ){
var filedata = _this.files[0];
$.ajax({
type : "POST",
url : ae_addon.ajaxurl,
data : {
action : 'single_image_crop',
base64 : resp,
file : b.val(),
filename : filedata.name,
filetype : filedata.type,
attach_id : attach_id,
key : $(b.attr( 'data-id' )).attr( 'id' ),
},
beforeSend: function( response ) {
if( ! d.find( '#save-loading' ).length ){
d.find( '.cr-boundary' ).append( '<img id="save-loading" src="' + ae_addon.spinner2x + '" />' );
}
},
success: function( response ){
if(response){
var data = JSON.parse(response);
attach_id = data.attach_id;
if( data.attach_id && $(b.attr( 'data-id' )).length ){
e.find( 'img.image' ).attr( 'src', data.attach_url ).parent( '.ae-img-wrap' ).addClass( 'ae-img-active' );
$(b.attr( 'data-id' )).val( data.attach_url );
d.find( '#save-loading' ).remove();
d.fadeOut();
}else{
e.find( 'img.image' ).parent( '.ae-img-wrap' ).removeClass( 'ae-img-active' );
d.fadeOut();
d.find( '#save-loading' ).remove();
alert( 'ERROR #3: something went wrong !!!' );
}
}else{
e.find( 'img.image' ).parent( '.ae-img-wrap' ).removeClass( 'ae-img-active' );
d.fadeOut();
d.find( '#save-loading' ).remove();
alert( 'ERROR #4: something went wrong !!!' );
}
},
});
}
});
});
}
if($('#apmediaupload').length){
$(document).delegate('#apmediaupload','click',function(){
if(ae_loading){return;}
ae_filed_id = $(this).attr('field_id');
ae_popup_title = String($(this).attr('popup_title'));
ae_multiple = $(this).attr('multiple');
ae_upload_type = $(this).attr('upload_type');
ae_media_type = $(this).attr('media_type');
ae_submit_text = $(this).attr('submit_text');
ae_key = $(this).attr('key');
if(ae_multiple == 'true'){
ae_multiple = true;
}else if(ae_multiple == 'add'){
ae_multiple = 'add';
}else{
ae_multiple = false;
}
if(ae_media_type == 'image'){
ae = wp.media.frames.file_frame = wp.media({
multiple: ae_multiple,
title: ae_popup_title,
type: ae_media_type,
library:{type: ae_media_type},
button:{text : ae_submit_text},
});
ae.on('select', function(){
attachment = ae.state().get('selection').toJSON();
var ids = [];
var images = [];
for (i = 0; i < attachment.length; i++){
ids[i] = attachment[i]['id'];
images[i] = attachment[i]['url'];
}
if(! ids){return;}
if(ae_upload_type == 'single'){
ids = ids[0];
}
$.ajax({
type : "POST",
url : ae.ajaxurl,
data :{
action : 'ae_ajax',
ids : ids,
multiple : ae_multiple,
type : ae_upload_type,
media_type : ae_media_type,
},
beforeSend: function(response){
ae_loading = true;
if(ae_upload_type == 'single'){
$('.agfmu-' + ae_filed_id.replace('#','').replace(' ','')).css({
'background-image' : "url('" + ae.homeurl + "/wp-includes/images/spinner-2x.gif')",
'background-position' : 'center center',
'background-repeat' : 'no-repeat',
'background-size' : 'auto',
});
}
},
success: function(response){
if(response && ae_upload_type == 'single'){
$(ae_filed_id).val(response);
}
if(response && ae_upload_type == 'gallery'){
var data = JSON.parse(response);
$(ae_filed_id).val(data.ids);
}
if(response && ae_upload_type == 'single'){
$('.agfmu-' + ae_filed_id.replace('#','').replace(' ','')).css({
'background-image' : 'url('+images[0]+')',
'background-size' : 'auto',
});
}
if(response && ae_upload_type == 'gallery'){
var data = JSON.parse(response);
$('#gallery-' + ae_filed_id.replace('#', '').replace(' ', '')).html(data.preview);
}
setTimeout(function(){
ae_loading = false;
}, 300);
},
});
});
ae.on('open', function(){
var selection = ae.state().get('selection');
ids = $('input' + ae_filed_id).val();
if(ids){
ids = ids.split(",");
if(ids){
ids.forEach(function(id){
attachments = wp.media.attachment(id);
attachments.fetch();
selection.add(attachments ? [ attachments ] : []);
});
}
}
});
ae.open();
}
});
}
$( window ).on( 'resize', function(){
to(function(){
if( window.innerWidth <= boundaryw ){
a.destroy();
boundaryw = 300,
boundaryh = 200;
croppie();
}
},200);
});
function ajax_search(id){
name = $(id).attr('name');
if(! $(id).val()){$('.rd-ajax .sr').html('').hide(); return;}
$('.rd-ajax .sr').html('<span class="loading">&nbsp;</span>');
to(function(){
$.ajax({
url : ae.ajaxurl,
type : 'post',
data :{
action : 'location_ajax',
value : $(id).val(),
name : name
},
success : function(data){
$('.rd-ajax .sr').html(data).show();
}
});
}, 200);
}
});

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,167 @@
/*Default Plugin Styles*/
/*plugin version 4.0.3.3*/
a[target="amazonwin"] {margin: 0 !important;}
a[rel^="appiplightbox"] { display: inline-block; font-size: .75rem; text-align: center; max-width: 100%; }
.instock { color: #008000; font-size: .85em; }
.outofstock { color: #800000; font-size: .85em; }
.amazon-image-wrapper { padding: 0 1%; text-align: center;float: left; margin: 0 2% 0 0;-webkit-box-sizing: border-box;-moz-box-sizing: border-box; box-sizing: border-box; max-width: 25%; width: 100%; }
.amazon-image-wrapper a { border-bottom: none; display: block; font-size: 12px; text-align: center; }
.amazon-image-wrapper br {display: none;}
.asin-title {text-align: left; font-size: inherit;}
.appip-label {color: #666; font-size: inherit;font-weight: bold;text-transform: uppercase;}
.appip-multi-divider {margin: 10px 0;}
.amazon-asin-title {margin: 0 0 5px 0; }
.amazon-author { color: #666; }
.amazon-buying {text-align: left; box-sizing: border-box; float: left; max-width: 73%; width: 100%; }
.amazon-dates { padding: 0 !important; text-align: left; height: auto;}
.amazon-dates br {display: none;}
.amazon-dates .amazon-preorder { color: #d16601; font-weight: bold; text-align: left; }
.amazon-dates .amazon-release-date { color: #666; font-size: 10px; text-align: left; }
.amazon-director { color: #666; }
.amazon-director-label { color: #999; }
.amazon-ESRB { color: #666; font-size : 12px;}
.amazon-feature { color: #666; font-size : inherit;}
.amazon-manufacturer { color: #666; }
.amazon-new { color: #800000; font-weight: bold; text-align: left; }
.amazon-new-label { color: #666; text-align: left;}
.amazon-platform { color: #666; font-size : 12px;}
.amazon-post-text { padding: 0 !important; text-align: left; }
.amazon-price-label { color: #666; text-align: left; }
.amazon-price { color: #800000; font-weight: bold; text-align: left; }
.amazon-rating { color: #666; }
.amazon-rating-label { color: #999; }
.amazon-starring { color: #666; }
.amazon-starring-label { color: #999; }
.amazon-system { color: #666; font-size : 12px;}
.amazon-tiny {text-align: center;font-size: 10px;}
.amazon-used { color: #666; text-align: left; }
.amazon-used-label { color: #666; text-align: left; }
.amazon-list-price { text-align: left; text-decoration: line-through; }
.amazon-list-price-label { color: #666; text-align: left; }
.amazon-list-price-label, .amazon-new-label, .amazon-used-label { font-weight: bold; min-width: 7em;width: auto;}
.amazon-product-table { border-collapse: collapse; border: 0 none !important; width: 100%; clear: both; margin-bottom: 10px;}
.amazon-product-table td{ border: 0 none ; padding: 0; }
.amazon-product-table:after {clear: both;}
.amazon-product-table a { border-bottom: 0 none; text-decoration: none; }
.amazon-product-table > tbody > tr > td {padding: .5rem !important;}
.amazon-product-table hr {display:inline-block;max-width:100%; width: 100%; border-top: 1px solid #e2e5e7;height: 0px; margin: 6px 0;}
.amazon-product-table .amazon-buying h2.amazon-asin-title { border-bottom: 0 none; font-size: 1rem; line-height: 1.25em; margin: 0; }
.amazon-product-table .amazon-list-variants {border-top: 1px solid #CCC;border-bottom: 1px solid #ccc;padding: 2%;margin-top:2%;}
.amazon-product-price { border-collapse: collapse; border: 0 none; padding: 0 !important; }
.amazon-product-price { -moz-border-radius: 0; -webkit-border-radius: 0; border-collapse: collapse; border-radius: 0; border: 0 none; margin: 0; max-width: 100%; width: auto; }
.amazon-product-price { float: left; margin: 0; width: 100%; }
.amazon-product-price a img.amazon-image { background-color: transparent; border: 0 none; }
.amazon-product-price td { border: 0 none !important; padding: .25em 0; }
.amazon-product-price td { padding: 1%; width: auto; }
.amazon-product-price tr:first-child td {width:7em;}
.amazon-price-button{margin-top:2%;display:block;}
.amazon-price-button > a{display:block;margin-top:8px;margin-bottom:5px;width:165px;}
.amazon-price-button > a img.amazon-price-button-img{border:0 none;margin:0px;background:transparent;}
.amazon-additional-images-text { display: block; font-size: x-small; font-weight: bold; }
.amazon-element-imagesets { border: 1px solid #ccc; display: inline-block; margin: 5px; overflow: hidden; padding: 10px; }
.amazon-element-imagesets br {display: none;}
.amazon-element-imagesets a { float: left; margin: 3px; }
.amazon-element-imagesets a img {border: 1px solid #fff;}
.amazon-additional-images-wrapper { border: 1px solid #ccc; box-sizing: border-box; display: inline-block; margin: 1%; overflow: hidden; padding: 2%; }
.amazon-additional-images-wrapper a { float: left; margin: 3px; }
.amazon-additional-images-wrapper a img {border: 1px solid #fff;width:25px;}
.amazon-additional-images-wrapper br {display: none;}
.amazon_variations_wrapper{}
.amazon_varients{}
.amazon-varient-type-link {display: inline-block;font-weight: bold;}
.amazon-varient-type-price {display: inline-block;color: #EA0202;font-weight: bold;}
.amazon-variant-price-text{color:initial;}
.amazon-variant-price-text {font-weight: normal;}
.amazon-elements-wrapper,
.amazon-element-wrapper{clear: both;}
img.amazon-varient-image {max-width: 50px;margin: 1%;padding: 1px;background-color: #999;}
img.amazon-varient-image:hover {background-color: #3A9AD9;}
/*
a.amazon__price--button--style,
a.amazon__price--button--style:visited {background-color: #444;padding: 10px 20px;margin: 5px 0;display: inline-block;text-decoration: none;color: #fff;-moz-transition: all .5s ease;-webkit-transition: all .5s ease;transition: all .5s ease;}
a.amazon__price--button--style:hover {background-color: #2196F3;text-decoration: none;color: #fff;}
a.amazon__price--button--style:focus,
a.amazon__price--button--style:active{outline: 0;-moz-box-shadow:0 0 5px #2196F3;-webkit-box-shadow:0 0 5px #2196F3;box-shadow: 0 0 5px #2196F3;}
a.amazon__price--button--style{ background-color: #2196F3;text-decoration: none;color: #fff;}
*/
body[class*=amp-mode] .amazon-image-wrapper a amp-img img{height:auto;position:relative;}
body[class*=amp-mode] .amazon-image-wrapper a amp-img>*{padding:0;}
body[class*=amp-mode] table{width:100%;background:0 0}
body[class*=amp-mode] .amazon-buying{padding:4px}
body[class*=amp-mode] .amazon-image-wrapper{margin:0;background:0 0;padding:4px}
body[class*=amp-mode] .amazon-buying hr{border-style:solid;border-width:0 0 1px;border-color:#ccc}
body[class*=amp-mode] h2.amazon-asin-title{max-width:100%;font-size:1.3em;line-height:1.35;background:0 0}
body[class*=amp-mode] .amazon-product-pricing-wrap{max-width:100%}
body[class*=amp-mode] .amazon-product-pricing-wrap table tr td{border:0;background:0 0;margin:0;padding:0 2px;display:inline-block;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
body[class*=amp-mode] .amazon-product-pricing-wrap table tr{border:0;background:0 0;margin:0;padding:2px;text-align:left}
body[class*=amp-mode] .amazon-image-wrapper amp-img{width:160px;margin:0 auto;max-width:100%}
body[class*=amp-mode] .amazon-image-wrapper>a{display:block;text-align:center}
body[class*=amp-mode] .amazon-image-wrapper>br{display:none}
body[class*=amp-mode] .amazon-product-pricing-wrap table tr td:last-child:first-child,
body[class*=amp-mode] .amazon-product-pricing-wrap tbody,
body[class*=amp-mode] .amazon-product-pricing-wrap tr{width:100%;display:block}
body[class*=amp-mode] .amazon-price-button amp-img{margin:0 auto}
body[class*=amp-mode] p.amazon-asin-title{margin-bottom:0;font-size:1.25em;line-height:1.35}
body[class*=amp-mode] .amazon-product-pricing-wrap table{background:0 0}
body[class*=amp-mode] .amazon-image-wrapper .amazon-additional-images-wrapper amp-img{width:50px;display:inline-block;margin:0 2px}
body[class*=amp-mode] span.amazon-additional-images-text{display:block}
body[class*=amp-mode] .amazon-additional-images-wrapper{line-height:1.25;text-align:center}
body[class*=amp-mode] .amazon-additional-images-wrapper br{display:none}
.appip-clear { clear: both; }
.appip-debug .appip-errors { display: block !important; color: #FEFEFE; background: #cd0000; padding: 1%; font-weight: bold; font-size: 16px; }
/* New Flat Button Styles 4.0.3.3*/
.button-rounded{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
/* default */
.amazon__price--button--style,
.amazon__price--button--style:visited {background-color: #444;padding: 10px 20px;margin: 5px 0;display: inline-block;text-decoration: none;color: #fff;-moz-transition: all .5s ease;-webkit-transition: all .5s ease;transition: all .5s ease;}
.amazon__price--button--style:hover {cursor:pointer;background-color: #666;text-decoration: none;color: #fff;}
.amazon__price--button--style:focus {color: #fff;background-color: #595959;outline: 0;-moz-box-shadow: 0 0 5px #9c9c9c;-webkit-box-shadow: 0 0 5px #9c9c9c;box-shadow: 0 0 5px #9c9c9c;text-decoration: none;}
.amazon__price--button--style:active {color: #fff;background-color: #595959;outline: 0;text-decoration: none;-moz-box-shadow:0px 3px 9px rgba(0, 0, 0, 0.43) inset;-webkit-box-shadow:0px 3px 9px rgba(0, 0, 0, 0.43) inset;box-shadow:0px 3px 9px rgba(0, 0, 0, 0.43) inset;}
/* blue */
.amazon__btn--blue,
.amazon__btn--blue:visited{color: #fff;background-color: #0085ba;}
.amazon__btn--blue:hover {color: #fff;background-color: #008ec2;}
.amazon__btn--blue:focus {color: #fff;background-color: #0073aa;-moz-box-shadow: 0 0 5px #2196F3;-webkit-box-shadow: 0 0 5px #2196F3;box-shadow: 0 0 5px #2196F3;}
.amazon__btn--blue:active{color: #fff;background-color: #0073aa;}
/* red */
.amazon__btn--red,
.amazon__btn--red:visited{color: #fff;background-color: #e10505;}
.amazon__btn--red:hover {color: #fff;background-color: #f00;}
.amazon__btn--red:focus {color: #fff;background-color: #a70707;-moz-box-shadow: 0 0 5px #ff338e;-webkit-box-shadow: 0 0 5px #ff338e;box-shadow: 0 0 5px #ff338e;}
.amazon__btn--red:active{color: #fff;background-color: #a70707;}
/* green */
.amazon__btn--green,
.amazon__btn--green:visited{color: #fff;background-color: #4aa74e;}
.amazon__btn--green:hover {color: #fff;background-color: #2f8d33;}
.amazon__btn--green:focus {color: #fff;background-color: #17851c;-moz-box-shadow: 0 0 5px #8BC34A;-webkit-box-shadow: 0 0 5px #8BC34A;box-shadow: 0 0 5px #8BC34A;}
.amazon__btn--green:active{color: #fff;background-color: #17851c;}
@media screen and (min-width:550px){
body[class*=amp-mode] .amazon-image-wrapper{float:left;width:28%}
body[class*=amp-mode] .amazon-buying{float:left;width:70%}
body[class*=amp-mode] .amazon-price-button amp-img{margin:5px 0 0}
body[class*=amp-mode] p.amazon-asin-title{margin-bottom:12px}
}
@media only screen and (max-width : 1200px) {}
@media only screen and (max-width : 992px) {}
@media only screen and (max-width : 768px) {}
@media only screen and (max-width : 550px) {
.amazon-image-wrapper { padding: 0; text-align: center; float: none; margin: 0 auto 2%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; max-width: 75%; width: 100%; }
.amazon-buying { box-sizing: border-box; float: none; max-width: 100%; width: 100%; }
.amazon-product-price,table.amazon-product-price { float: none; margin: 0; max-width: 100%; width: 100%; }
.amazon-product-pricing-wrap { display: block; clear: both; }
.amazon-dates { text-align: center; }
.amazon-dates a { margin: 0 auto !important; width: 50% !important; }
.amazon-dates a img { margin: 5% auto 0 !important; width: 95% !important; }
span.amazon-tiny {margin-top: 2px;background: #ccc;padding:1%;display: block;font-size: 1.25em;color: #000;text-transform: uppercase;border: 1px solid #999;line-height: 1.25em;}
span.amazon-tiny:active {background: #EDEDED;}
.amazon-product-table .amazon-buying h2.amazon-asin-title {margin-top: 3%;display: block;line-height: 1.5em;}
.amazon-additional-images-wrapper { max-width: 100%; width: 100%; margin: 1% 0; text-align: center; }
.amazon-additional-images-wrapper a { float: none; display: inline-block; width: 18%; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.amazon-additional-images-wrapper a img { width: 75%; }
td.amazon-list-price-label, td.amazon-new-label, td.amazon-used-label, td.amazon-used-price, td.amazon-new, td.amazon-list-price { display: inline-block; }
a.amazon__price--button--style {max-width: 90%;margin: 5px auto;}
}
@media only screen and (max-width : 320px) {}
/* Custom Styles*/