kollapsminoriteten/wp-content/plugins/jetpack/modules/widget-visibility/widget-conditions/widget-conditions-rtl.css

228 lines
4.5 KiB
CSS
Raw Normal View History

2022-06-16 14:01:47 +02:00
.wp-customizer .expanded .widget-conditional .widget-conditional-inner {
2023-09-26 10:24:36 +02:00
width: 98%; /* Safari/Chrome, other WebKit */ /* Firefox, other Gecko */
2022-06-16 14:01:47 +02:00
box-sizing: border-box;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
.wp-customizer .expanded .widget-conditional .form {
overflow: scroll;
margin-bottom: 20px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-liquid-right .widget.expanded {
2022-06-16 14:01:47 +02:00
overflow: visible;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional-hide {
2022-06-16 14:01:47 +02:00
display: none;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
.widget-conditional .widget-conditional-inner {
background: #f6f7f7;
border: 1px solid #dcdcde;
padding: 12px 10px 0;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional {
2022-06-16 14:01:47 +02:00
margin-bottom: 12px;
margin-top: 10px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
.widget-conditional .conditions {
margin-bottom: 12px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition,
.widget-conditional .condition-top {
2022-06-16 14:01:47 +02:00
clear: both;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition {
2022-06-16 14:01:47 +02:00
padding-top: 12px;
position: relative;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition select {
2022-06-16 14:01:47 +02:00
width: 120px;
position: relative;
z-index: 2;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition-top select {
2022-06-16 14:01:47 +02:00
width: auto;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition-control {
2022-06-16 14:01:47 +02:00
padding-top: 4px;
clear: both;
margin-top: -20px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .selection {
2022-06-16 14:01:47 +02:00
margin-left: 50px;
margin-right: 20px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .conditions-rule-has-children {
2022-06-16 14:01:47 +02:00
display: block;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
.widget-conditional .condition .actions {
margin-top: -28px;
}
2019-11-15 23:26:29 +01:00
.widget-conditional .condition .actions {
2022-06-16 14:01:47 +02:00
margin-top: -28px;
2019-11-15 23:26:29 +01:00
}
.widget-conditional .condition-control a {
2022-06-16 14:01:47 +02:00
text-decoration: none;
position: absolute;
top: 17px;
text-indent: -9999px;
z-index: 1;
2019-11-15 23:26:29 +01:00
}
2021-07-23 11:58:50 +02:00
.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a {
2022-06-16 14:01:47 +02:00
top: 20px;
2021-07-23 11:58:50 +02:00
}
2019-11-15 23:26:29 +01:00
.widget-conditional .condition-control a:before {
2022-06-16 14:01:47 +02:00
position: absolute;
text-indent: 0;
top: 0;
right: 0;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2021-07-23 11:58:50 +02:00
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .condition-control .delete-condition,
2019-11-15 23:26:29 +01:00
.widget-conditional .condition-control .delete-condition {
2022-06-16 14:01:47 +02:00
right: 0;
color: #f11;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.widget-conditional .condition-control .add-condition {
2022-06-16 14:01:47 +02:00
left: 0;
2019-11-15 23:26:29 +01:00
}
2021-07-23 11:58:50 +02:00
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a.dashicons {
2022-06-16 14:01:47 +02:00
font-family: dashicons;
2021-07-23 11:58:50 +02:00
}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select {
2022-06-16 14:01:47 +02:00
display: initial;
width: auto;
background-color: #fff;
2021-07-23 11:58:50 +02:00
}
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner select:disabled {
2022-06-16 14:01:47 +02:00
color: #a7aaad;
border-color: #dcdcde;
background-color: #f6f7f7;
2021-07-23 11:58:50 +02:00
}
2022-06-16 14:01:47 +02:00
.editor-styles-wrapper .wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .alignleft {
margin-right: 20px;
2021-07-23 11:58:50 +02:00
}
2019-11-15 23:26:29 +01:00
.widget-conditional .condition:last-child .condition-conjunction,
.widget-conditional .condition:last-child .condition-intersection {
2022-06-16 14:01:47 +02:00
display: none;
2019-11-15 23:26:29 +01:00
}
.widget-conditional.conjunction .condition-intersection {
2022-06-16 14:01:47 +02:00
display: none;
2019-11-15 23:26:29 +01:00
}
.widget-conditional.intersection .condition-conjunction {
2022-06-16 14:01:47 +02:00
display: none;
2019-11-15 23:26:29 +01:00
}
.wp-core-ui .button.display-options {
2022-06-16 14:01:47 +02:00
margin-left: 5px;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.wp-core-ui .button.display-options:hover {
2022-06-16 14:01:47 +02:00
text-decoration: none;
2019-11-15 23:26:29 +01:00
}
.wp-customizer .widget-conditional select {
2022-06-16 14:01:47 +02:00
min-width: 0;
max-width: none;
height: auto;
2019-11-15 23:26:29 +01:00
}
2022-06-16 14:01:47 +02:00
2019-11-15 23:26:29 +01:00
.wp-customizer .widget-conditional .condition-control a {
2022-06-16 14:01:47 +02:00
top: 15px;
2019-11-15 23:26:29 +01:00
}
2021-07-23 11:58:50 +02:00
2022-06-16 14:01:47 +02:00
@media screen and (max-width: 782px) {
.widget-conditional .condition-control a {
top: 20px;
}
}
2021-07-23 11:58:50 +02:00
.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner {
2022-06-16 14:01:47 +02:00
/*
* fonts of labels are reset to 13px in gutenberg editor for legacy widgets, ensure a consistent look on non-labels
*/
font-size: 13px;
2021-07-23 11:58:50 +02:00
}
2022-04-02 10:26:41 +02:00
/*
* Rules for gutenberg advanced panel
*/
2022-06-16 14:01:47 +02:00
.widget-vis__wrapper .components-base-control,
.widget-vis__rule .components-base-control {
margin-bottom: 12px;
}
2022-04-02 10:26:41 +02:00
.widget-vis__rule {
2022-06-16 14:01:47 +02:00
padding: 12px;
border: 1px solid #dcdcde;
display: flex;
flex-direction: column;
margin-bottom: 12px;
2022-04-02 10:26:41 +02:00
}
.widget-vis__rule-major,
.widget-vis__rule-minor {
2022-06-16 14:01:47 +02:00
display: flex;
justify-content: stretch;
align-items: center;
2022-04-02 10:26:41 +02:00
}
.widget-vis__if,
.widget-vis__is {
2022-06-16 14:01:47 +02:00
margin-left: 8px;
width: 10px;
2022-04-02 10:26:41 +02:00
}
.widget-vis__show-hide {
2022-06-16 14:01:47 +02:00
margin-bottom: 0;
2022-04-02 10:26:41 +02:00
}
.components-button.widget-vis__add-new-rule {
2022-06-16 14:01:47 +02:00
display: block;
2022-04-02 10:26:41 +02:00
}
.widget-vis__delete-rule {
2022-06-16 14:01:47 +02:00
margin-top: 6px;
text-align: left;
2022-04-02 10:26:41 +02:00
}
.widget-vis__match-all {
2022-06-16 14:01:47 +02:00
margin-top: 12px;
2022-04-02 10:26:41 +02:00
}
.widget-vis__select {
2022-06-16 14:01:47 +02:00
width: 100%;
2022-04-02 10:26:41 +02:00
}
.widget-vis__select .components-input-control__container {
2022-06-16 14:01:47 +02:00
position: relative;
top: 4px;
2022-04-02 10:26:41 +02:00
}
.widget-vis__select-multi-level select option:disabled {
2022-06-16 14:01:47 +02:00
font-size: 18px;
font-weight: 600;
2022-04-02 10:26:41 +02:00
}