diff options
Diffstat (limited to 'plugins/jetpack/_inc/blocks/rating-star')
4 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.asset.php b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php new file mode 100644 index 00000000..cba64457 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php @@ -0,0 +1 @@ +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '57dfa7e3f445b510f271f8d653f88247');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.css b/plugins/jetpack/_inc/blocks/rating-star/view.css new file mode 100644 index 00000000..30938a56 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/rating-star/view.css @@ -0,0 +1 @@ +.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.js b/plugins/jetpack/_inc/blocks/rating-star/view.js new file mode 100644 index 00000000..52a9dfa3 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/rating-star/view.js @@ -0,0 +1 @@ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=268)}({268:function(e,t,n){n(37),e.exports=n(269)},269:function(e,t,n){"use strict";n.r(t);n(96)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},96:function(e,t,n){}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.rtl.css b/plugins/jetpack/_inc/blocks/rating-star/view.rtl.css new file mode 100644 index 00000000..4406b01a --- /dev/null +++ b/plugins/jetpack/_inc/blocks/rating-star/view.rtl.css @@ -0,0 +1 @@ +.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}
\ No newline at end of file |