| 1 |
/** |
| 2 |
* All of the CSS for your block editor functionality should be |
| 3 |
* included in this file. |
| 4 |
*/ |
| 5 |
/*--------------------------------------------------------------*/ |
| 6 |
/** |
| 7 |
* All of the CSS for your block editor functionality should be |
| 8 |
* included in this file. |
| 9 |
*/ |
| 10 |
/** |
| 11 |
* Environment for all styles (variables, additions, etc). |
| 12 |
*/ |
| 13 |
/*--------------------------------------------------------------*/ |
| 14 |
/*--------------------------------------------------------------*/ |
| 15 |
.wp-block-group { |
| 16 |
position: relative; |
| 17 |
} |
| 18 |
|
| 19 |
.wp-block-group .wp-block-group__inner-container { |
| 20 |
position: relative; |
| 21 |
width: 100%; |
| 22 |
} |
| 23 |
|
| 24 |
.wp-block-group .wp-block-group__inner-container > *:last-child { |
| 25 |
margin-bottom: 0; |
| 26 |
} |
| 27 |
|
| 28 |
@media (min-width: 760px) and (min-width: 760px) { |
| 29 |
.wp-block-group > .is-block-content { |
| 30 |
max-width: 50%; |
| 31 |
width: 100%; |
| 32 |
} |
| 33 |
} |
| 34 |
|
| 35 |
.is-style-cnvs-block-bordered { |
| 36 |
--cnvs-style-single-border-color: #dee2e6; |
| 37 |
border: 1px solid var(--cnvs-style-single-border-color); |
| 38 |
padding: 40px; |
| 39 |
} |
| 40 |
|
| 41 |
.is-style-cnvs-block-single-border { |
| 42 |
--cnvs-style-single-border-width: 1px; |
| 43 |
--cnvs-style-single-border-color: #dee2e6; |
| 44 |
--cnvs-style-single-margin: 2rem; |
| 45 |
} |
| 46 |
|
| 47 |
.is-style-cnvs-block-single-border:before { |
| 48 |
position: relative !important; |
| 49 |
content: ""; |
| 50 |
background-color: var(--cnvs-style-single-border-color); |
| 51 |
display: block; |
| 52 |
width: 4rem; |
| 53 |
height: var(--cnvs-style-single-border-width); |
| 54 |
margin: var(--cnvs-style-single-margin) auto; |
| 55 |
} |
| 56 |
|
| 57 |
.is-style-cnvs-block-single-border:after { |
| 58 |
position: relative !important; |
| 59 |
content: ""; |
| 60 |
background-color: var(--cnvs-style-single-border-color); |
| 61 |
display: block; |
| 62 |
width: 4rem; |
| 63 |
height: var(--cnvs-style-single-border-width); |
| 64 |
margin: var(--cnvs-style-single-margin) auto; |
| 65 |
} |
| 66 |
|
| 67 |
.is-style-cnvs-block-single-border.alignright { |
| 68 |
border: none; |
| 69 |
padding-left: var(--cnvs-style-single-margin); |
| 70 |
border-left: var(--cnvs-style-single-border-width) solid var(--cnvs-style-single-border-color); |
| 71 |
} |
| 72 |
|
| 73 |
.is-style-cnvs-block-single-border.alignright:before, .is-style-cnvs-block-single-border.alignright:after { |
| 74 |
content: none; |
| 75 |
} |
| 76 |
|
| 77 |
.is-style-cnvs-block-single-border.alignleft { |
| 78 |
border: none; |
| 79 |
padding-right: var(--cnvs-style-single-margin); |
| 80 |
border-right: var(--cnvs-style-single-border-width) solid var(--cnvs-style-single-border-color); |
| 81 |
} |
| 82 |
|
| 83 |
.is-style-cnvs-block-single-border.alignleft:before, .is-style-cnvs-block-single-border.alignleft:after { |
| 84 |
content: none; |
| 85 |
} |
| 86 |
|
| 87 |
.is-style-cnvs-block-bg-light { |
| 88 |
--cnvs-style-bg-light-background: #f8f9fa; |
| 89 |
--cnvs-style-bg-light-padding: 40px; |
| 90 |
background: var(--cnvs-style-bg-light-background); |
| 91 |
padding: var(--cnvs-style-bg-light-padding); |
| 92 |
} |
| 93 |
|
| 94 |
.is-style-cnvs-block-bg-inverse { |
| 95 |
--cnvs-style-bg-inverse-background: black; |
| 96 |
--cnvs-style-bg-inverse-color: #fff; |
| 97 |
--cnvs-style-bg-inverse-padding: 40px; |
| 98 |
background: var(--cnvs-style-bg-inverse-background); |
| 99 |
padding: var(--cnvs-style-bg-inverse-padding); |
| 100 |
color: var(--cnvs-style-bg-inverse-color); |
| 101 |
} |
| 102 |
|
| 103 |
.is-style-cnvs-block-shadow { |
| 104 |
--cnvs-style-shadow-box-shadow: 0 16px 36px 0 rgba(0,0,0,0.08); |
| 105 |
--cnvs-style-shadow-padding: 40px; |
| 106 |
-webkit-box-shadow: var(--cnvs-style-shadow-box-shadow); |
| 107 |
box-shadow: var(--cnvs-style-shadow-box-shadow); |
| 108 |
padding: var(--cnvs-style-shadow-padding); |
| 109 |
} |
| 110 |
|
| 111 |
@media (max-width: 1019.98px) { |
| 112 |
.is-style-cnvs-block-single-border.alignleft, |
| 113 |
.is-style-cnvs-block-single-border.alignright { |
| 114 |
float: none; |
| 115 |
width: 100%; |
| 116 |
max-width: 100%; |
| 117 |
border-left: none; |
| 118 |
border-right: none; |
| 119 |
margin-left: 0; |
| 120 |
margin-right: 0; |
| 121 |
} |
| 122 |
} |
| 123 |
|