| 1 |
body.block-editor-page .button { |
| 2 |
display: inline-flex; |
| 3 |
align-items: center; |
| 4 |
height: 36px; |
| 5 |
margin: 0; |
| 6 |
padding: 6px 12px; |
| 7 |
font-size: 13px; |
| 8 |
color: #007cba; |
| 9 |
background: none; |
| 10 |
border: none; |
| 11 |
border-radius: 2px; |
| 12 |
outline: 1px solid transparent; |
| 13 |
box-shadow: inset 0 0 0 1px #006ba1; } |
| 14 |
body.block-editor-page .button:hover { |
| 15 |
color: #007cba; |
| 16 |
background: none; } |
| 17 |
body.block-editor-page .button:focus { |
| 18 |
color: #007cba; |
| 19 |
box-shadow: inset 0 0 0 1px #007cba; } |
| 20 |
|
| 21 |
body.block-editor-page .button-delete { |
| 22 |
color: #cc1818; |
| 23 |
box-shadow: inset 0 0 0 1px #cc1818; } |
| 24 |
body.block-editor-page .button-delete:hover { |
| 25 |
color: #710d0d; |
| 26 |
box-shadow: inset 0 0 0 1px #710d0d; } |
| 27 |
|
| 28 |
body.block-editor-page textarea { |
| 29 |
padding: 6px 8px; |
| 30 |
font-size: 13px; |
| 31 |
border-radius: 2px; |
| 32 |
box-shadow: transparent 0px 0px 0px; |
| 33 |
transition: box-shadow 0.1s linear 0s; } |
| 34 |
body.block-editor-page textarea:focus { |
| 35 |
border-color: #007cba; |
| 36 |
box-shadow: 0 0 0 calc( 1.5px - 1px) #007cba; |
| 37 |
outline: transparent solid 2px; } |
| 38 |
|
| 39 |
body.block-editor-page select { |
| 40 |
border-radius: 2px; |
| 41 |
font-size: 13px; } |
| 42 |
body.block-editor-page select:focus { |
| 43 |
border-color: #007cba; |
| 44 |
box-shadow: 0 0 0 calc( 1.5px - 1px) #007cba; |
| 45 |
outline: transparent solid 2px; } |
| 46 |
body.block-editor-page select:hover { |
| 47 |
color: #007cba; } |
| 48 |
|
| 49 |
.sharing-image-widget { |
| 50 |
display: flex; |
| 51 |
position: relative; } |
| 52 |
.sharing-image-widget * { |
| 53 |
box-sizing: border-box; } |
| 54 |
.sharing-image-widget .sharing-image-picker { |
| 55 |
display: block; |
| 56 |
position: relative; |
| 57 |
flex: 1 1 auto; |
| 58 |
margin-top: 4px; } |
| 59 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-template { |
| 60 |
display: block; |
| 61 |
width: 100%; |
| 62 |
margin-bottom: 12px; } |
| 63 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-template select { |
| 64 |
display: block; |
| 65 |
width: 100%; |
| 66 |
max-width: 100%; } |
| 67 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-fieldset { |
| 68 |
display: none; |
| 69 |
position: relative; } |
| 70 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-fieldset.fieldset-visible { |
| 71 |
display: block; } |
| 72 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-media { |
| 73 |
display: flex; |
| 74 |
flex-flow: row wrap; |
| 75 |
align-items: center; |
| 76 |
margin-bottom: 12px; } |
| 77 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-media .button { |
| 78 |
margin-right: 14px; } |
| 79 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-featured { |
| 80 |
display: flex; |
| 81 |
align-items: center; |
| 82 |
cursor: pointer; |
| 83 |
padding: 0; |
| 84 |
font-size: 18px; |
| 85 |
color: #8c8f94; |
| 86 |
background: 0; |
| 87 |
border: none; |
| 88 |
transition: color 0.25s; } |
| 89 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-featured::after { |
| 90 |
font-family: dashicons; |
| 91 |
content: "\f128"; } |
| 92 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-featured:hover { |
| 93 |
color: #2271b1; } |
| 94 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-featured.featured-seleted { |
| 95 |
color: #2271b1; } |
| 96 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-caption { |
| 97 |
display: block; |
| 98 |
width: 100%; |
| 99 |
margin-bottom: 12px; } |
| 100 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-caption h4 { |
| 101 |
margin: 0; } |
| 102 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-caption > * { |
| 103 |
display: block; |
| 104 |
width: 100%; } |
| 105 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-caption textarea { |
| 106 |
height: 52px; |
| 107 |
min-height: 28px; |
| 108 |
margin-top: 5px; } |
| 109 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-poster { |
| 110 |
display: none; |
| 111 |
position: relative; |
| 112 |
width: 100%; |
| 113 |
margin-bottom: 12px; |
| 114 |
overflow: hidden; |
| 115 |
border-radius: 2px; } |
| 116 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-poster.poster-visible { |
| 117 |
display: block; } |
| 118 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-poster img { |
| 119 |
display: block; |
| 120 |
height: auto; |
| 121 |
max-width: 100%; } |
| 122 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-manager { |
| 123 |
display: flex; |
| 124 |
align-items: center; |
| 125 |
width: 100%; |
| 126 |
padding-top: 12px; |
| 127 |
border-top: solid 1px #ccc; } |
| 128 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-manager .button { |
| 129 |
margin-right: 12px; } |
| 130 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-warning { |
| 131 |
display: none; |
| 132 |
position: relative; |
| 133 |
margin: 0 0 12px; |
| 134 |
color: #b32d2e; } |
| 135 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-warning.warning-visible { |
| 136 |
display: block; } |
| 137 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-delete { |
| 138 |
display: none; |
| 139 |
cursor: pointer; |
| 140 |
color: #b32d2e; |
| 141 |
border-color: #b32d2e; } |
| 142 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-delete:hover { |
| 143 |
color: #710d0d; } |
| 144 |
.sharing-image-widget .sharing-image-picker .sharing-image-picker-spinner { |
| 145 |
float: none; |
| 146 |
margin: 0; } |
| 147 |
.sharing-image-widget .sharing-image-picker .poster-visible ~ .sharing-image-picker-manager .sharing-image-picker-delete { |
| 148 |
display: inline-flex; } |
| 149 |
.sharing-image-widget .sharing-image-picker .poster-loader ~ .sharing-image-picker-manager .sharing-image-picker-spinner { |
| 150 |
visibility: visible; } |
| 151 |
.sharing-image-widget .sharing-image-title { |
| 152 |
display: block; |
| 153 |
position: relative; |
| 154 |
padding: 20px 10px 20px 0; |
| 155 |
flex: 0 0 220px; } |
| 156 |
.sharing-image-widget .sharing-image-title strong { |
| 157 |
font-weight: 600; |
| 158 |
font-size: 14px; } |
| 159 |
@media screen and (max-width: 782px) { |
| 160 |
.sharing-image-widget .sharing-image-title { |
| 161 |
padding: 10px 0 0 0; } } |
| 162 |
.sharing-image-widget.widget-taxonomy { |
| 163 |
max-width: 95%; |
| 164 |
margin-bottom: 20px; } |
| 165 |
.sharing-image-widget.widget-taxonomy .sharing-image-picker { |
| 166 |
margin-top: 15px; |
| 167 |
padding: 10px; |
| 168 |
background: #fff; |
| 169 |
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.125); |
| 170 |
border-radius: 3px; } |
| 171 |
@media screen and (max-width: 782px) { |
| 172 |
.sharing-image-widget.widget-taxonomy { |
| 173 |
display: block; } } |
| 174 |
.sharing-image-widget.widget-metabox { |
| 175 |
max-width: 480px; } |
| 176 |
|