| 1 |
/** |
| 2 |
* #.# Editor Styles |
| 3 |
* |
| 4 |
* CSS for just Backend enqueued after style.scss |
| 5 |
* which makes it higher in priority. |
| 6 |
*/ |
| 7 |
|
| 8 |
.wp-block-cgb-block-wordpress { |
| 9 |
background: $green; |
| 10 |
border: 0.2rem solid $black; |
| 11 |
color: $black; |
| 12 |
margin: 0 auto; |
| 13 |
max-width: 740px; |
| 14 |
padding: 2rem; |
| 15 |
} |
| 16 |
.wp-block-codoc-border { |
| 17 |
background: $green; |
| 18 |
border: 0.2rem solid $black; |
| 19 |
color: $black; |
| 20 |
text-align: center; |
| 21 |
padding: 2rem; |
| 22 |
//margin: 0 auto; |
| 23 |
//max-width: 740px; |
| 24 |
//padding: 2rem; |
| 25 |
|
| 26 |
} |
| 27 |
.components-range-control__number { |
| 28 |
width: 70px; |
| 29 |
} |
| 30 |
.codoc-subscription-title { |
| 31 |
display: flex; |
| 32 |
justify-content: space-between; |
| 33 |
} |
| 34 |
.codoc-subscription-add { |
| 35 |
position: relative; |
| 36 |
display: inline-block; |
| 37 |
padding: 2px 10px 2px 23px; |
| 38 |
margin-left: 10px; |
| 39 |
background: #0073aa; |
| 40 |
color: #fff; |
| 41 |
font-size: 11px; |
| 42 |
text-decoration: none; |
| 43 |
border-radius: 3px; |
| 44 |
} |
| 45 |
.codoc-subscription-add:hover { |
| 46 |
background: #0070a7; |
| 47 |
color: #efefef; |
| 48 |
} |
| 49 |
|
| 50 |
.codoc-subscription-add:before { |
| 51 |
position: absolute; |
| 52 |
top: 50%; |
| 53 |
left: 7px; |
| 54 |
display: block; |
| 55 |
content: ""; |
| 56 |
width: 10px; |
| 57 |
height: 1px; |
| 58 |
margin-top: -1px; |
| 59 |
background: #fff; |
| 60 |
} |
| 61 |
|
| 62 |
.codoc-subscription-add:after { |
| 63 |
position: absolute; |
| 64 |
top: 50%; |
| 65 |
left: 7px; |
| 66 |
display: block; |
| 67 |
content: ""; |
| 68 |
width: 10px; |
| 69 |
height: 1px; |
| 70 |
margin-top: -1px; |
| 71 |
background: #fff; |
| 72 |
transform: rotate(90deg); |
| 73 |
} |
| 74 |
|