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