summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/extensions/blocks/repeat-visitor/editor.scss')
-rw-r--r--plugins/jetpack/extensions/blocks/repeat-visitor/editor.scss55
1 files changed, 55 insertions, 0 deletions
diff --git a/plugins/jetpack/extensions/blocks/repeat-visitor/editor.scss b/plugins/jetpack/extensions/blocks/repeat-visitor/editor.scss
new file mode 100644
index 00000000..6a4dd9a5
--- /dev/null
+++ b/plugins/jetpack/extensions/blocks/repeat-visitor/editor.scss
@@ -0,0 +1,55 @@
+.wp-block-jetpack-repeat-visitor {
+ .components-notice {
+ margin: 1em 0 0;
+ }
+ .components-radio-control__option {
+ text-align: left;
+ }
+ .components-notice__content {
+ margin: 0.5em 0;
+ font-size: 0.8em;
+
+ .components-base-control {
+ display: inline-block;
+ max-width: 8em;
+ vertical-align: middle;
+
+ .components-base-control__field {
+ margin-bottom: 0;
+ }
+ }
+ }
+}
+
+.wp-block-jetpack-repeat-visitor-placeholder {
+ min-height: inherit;
+
+ .components-placeholder__label svg {
+ margin-right: 0.5ch;
+ }
+
+ .components-placeholder__fieldset {
+ flex-wrap: nowrap;
+ .components-base-control {
+ flex-basis: 100%;
+ }
+ }
+
+ .components-base-control__help {
+ color: var( --muriel-hot-red-500 );
+ font-size: 13px;
+ }
+}
+
+.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder {
+ display: none;
+}
+
+.wp-block-jetpack-repeat-visitor-threshold {
+ margin-right: 20px;
+
+ .components-text-control__input {
+ width: 5em;
+ text-align: center;
+ }
+}