← All changes
|
features/content-restriction/assets/css/content-restriction.css
+22
-59
3.9.8
→
4.0.3
View file →
| @@ -1,76 +1,39 @@ | ||
| 1 | -.wppb-content-restriction-wrap form { | |
| 2 | - margin-top: 40px; | |
| 3 | - max-width: 900px; | |
| 4 | -} | |
| 5 | - | |
| 6 | -#wppb-settings-content-restriction .wppb-restriction-fields-group { | |
| 7 | - margin-bottom: 40px; | |
| 8 | -} | |
| 9 | - | |
| 10 | -#wppb-settings-content-restriction .wppb-restriction-label { | |
| 11 | - display: inline-block; | |
| 12 | - vertical-align: top; | |
| 13 | - margin: 0 20px 10px 0; | |
| 14 | - width: 140px; | |
| 15 | - font-weight: bold; | |
| 16 | -} | |
| 17 | - | |
| 18 | -#wppb-settings-content-restriction .wppb-restriction-type label { | |
| 19 | - margin-right: 15px; | |
| 20 | -} | |
| 21 | - | |
| 22 | -#wppb-settings-content-restriction input { | |
| 23 | - max-width: 360px; | |
| 24 | -} | |
| 25 | - | |
| 26 | -#wppb-settings-content-restriction .wppb-restriction-type, | |
| 27 | -#wppb-settings-content-restriction .wppb-restriction-activated, | |
| 28 | -#wppb-settings-content-restriction #wp-message_logged_out-wrap, | |
| 29 | -#wppb-settings-content-restriction #wp-message_logged_in-wrap, | |
| 30 | -#wppb-settings-content-restriction #wp-messages_purchasing_restricted-wrap, | |
| 31 | -#wppb-settings-content-restriction .wppb-restriction-post-preview { | |
| 32 | - display: inline-block; | |
| 33 | - width: 80%; | |
| 34 | -} | |
| 35 | - | |
| 36 | -#wppb-settings-content-restriction .description { | |
| 37 | - margin-top: 10px; | |
| 38 | -} | |
| 39 | - | |
| 40 | 1 | #wppb-meta-box-fields-wrapper-restriction-redirect-url, |
| 41 | -.wppb-meta-box-field-wrapper-custom-redirect-url, | |
| 2 | +.wppb-meta-box-field-wrapper-custom-redirect-url:not(.wppb-content-restriction-enabled), | |
| 42 | 3 | .wppb-meta-box-field-wrapper-custom-messages { |
| 43 | 4 | display: none; |
| 44 | 5 | } |
| 45 | 6 | |
| 46 | 7 | #wppb-meta-box-fields-wrapper-restriction-redirect-url.wppb-content-restriction-enabled, |
| 47 | -.wppb-meta-box-field-wrapper-custom-redirect-url.wppb-content-restriction-enabled, | |
| 48 | 8 | .wppb-meta-box-field-wrapper-custom-messages.wppb-content-restriction-enabled { |
| 49 | 9 | display: block; |
| 50 | 10 | } |
| 51 | 11 | |
| 52 | -.wppb-meta-box-field-wrapper { | |
| 53 | - position: relative; | |
| 54 | - padding-left: 210px; | |
| 55 | - margin: 25px 0; | |
| 12 | +.wppb-meta-box-field-wrapper-custom-redirect-url.wppb-content-restriction-enabled { | |
| 13 | + display: flex; | |
| 56 | 14 | } |
| 57 | 15 | |
| 58 | -.wppb-meta-box-fields-wrapper h4 { | |
| 59 | - background: #f1f1f1; | |
| 60 | - padding: 10px 7px; | |
| 61 | - margin: 0 -7px; | |
| 16 | +#wppb_post_content_restriction .cozmoslabs-description:not(.cozmoslabs-description-align-right, .cozmoslabs-description-space-left, .cozmoslabs-toggle-description p) { | |
| 17 | + flex-basis: 100%; | |
| 62 | 18 | } |
| 63 | 19 | |
| 64 | -.wppb-meta-box-field-wrapper label { | |
| 65 | - display: inline-block; | |
| 66 | - margin-right: 10px; | |
| 20 | +#wppb_post_content_restriction .cozmoslabs-checkbox-list input[type="checkbox"]:disabled + label { | |
| 21 | + opacity: 0.6; | |
| 67 | 22 | } |
| 68 | 23 | |
| 69 | -.wppb-meta-box-field-wrapper .wppb-meta-box-field-label { | |
| 70 | - font-weight: bold; | |
| 71 | - width: 200px; | |
| 72 | - position: absolute; | |
| 73 | - display: block; | |
| 74 | - top: 0; | |
| 75 | - left: 0; | |
| 24 | +#addtag #wppb-meta-box-fields-wrapper-restriction-custom-messages{ | |
| 25 | + margin-bottom: 20px; | |
| 76 | 26 | } |
| 27 | + | |
| 28 | +body.term-php .wppb-taxonomy-content-restriction-cell { | |
| 29 | + width: 100%; | |
| 30 | +} | |
| 31 | + | |
| 32 | +body.term-php .wppb-taxonomy-content-restriction { | |
| 33 | + width: min(920px, 100%); | |
| 34 | + max-width: 100%; | |
| 35 | +} | |
| 36 | + | |
| 37 | +body.term-php .wppb-taxonomy-content-restriction:first-of-type { | |
| 38 | + margin-top: 0; | |
| 39 | +} | |