| 1 |
.postbox[id*="powerkit-post-format"] { |
| 2 |
margin-top: 1rem; |
| 3 |
display: none; |
| 4 |
} |
| 5 |
|
| 6 |
.pk-post-format-media .search-input { |
| 7 |
width: 100%; |
| 8 |
font-size: 14px; |
| 9 |
line-height: 36px; |
| 10 |
height: 36px; |
| 11 |
-webkit-box-shadow: none; |
| 12 |
box-shadow: none; |
| 13 |
border-radius: 0; |
| 14 |
font-family: inherit; |
| 15 |
cursor: text; |
| 16 |
} |
| 17 |
|
| 18 |
.pk-post-format-media .canvas { |
| 19 |
display: -webkit-box; |
| 20 |
display: -ms-flexbox; |
| 21 |
display: flex; |
| 22 |
-webkit-box-align: center; |
| 23 |
-ms-flex-align: center; |
| 24 |
align-items: center; |
| 25 |
-webkit-box-pack: center; |
| 26 |
-ms-flex-pack: center; |
| 27 |
justify-content: center; |
| 28 |
position: relative; |
| 29 |
border: 1px solid #E5E5E5; |
| 30 |
background: #F5F5F5; |
| 31 |
margin-top: 5px; |
| 32 |
min-height: 200px; |
| 33 |
} |
| 34 |
|
| 35 |
.pk-post-format-media .canvas.load:before { |
| 36 |
display: none; |
| 37 |
} |
| 38 |
|
| 39 |
.pk-post-format-media .canvas:before { |
| 40 |
position: absolute; |
| 41 |
font-size: 32px; |
| 42 |
font-family: dashicons; |
| 43 |
color: #999999; |
| 44 |
content: "\f128"; |
| 45 |
z-index: 1; |
| 46 |
} |
| 47 |
|
| 48 |
.pk-post-format-media iframe { |
| 49 |
position: relative; |
| 50 |
width: 100%; |
| 51 |
-webkit-box-flex: 1; |
| 52 |
-ms-flex-positive: 1; |
| 53 |
flex-grow: 1; |
| 54 |
z-index: 2; |
| 55 |
} |
| 56 |
|
| 57 |
.pk-post-format-gallery { |
| 58 |
display: -webkit-box; |
| 59 |
display: -ms-flexbox; |
| 60 |
display: flex; |
| 61 |
border: 1px solid #DFDFDF; |
| 62 |
} |
| 63 |
|
| 64 |
.pk-post-format-gallery-main { |
| 65 |
-webkit-box-flex: 1; |
| 66 |
-ms-flex-positive: 1; |
| 67 |
flex-grow: 1; |
| 68 |
} |
| 69 |
|
| 70 |
.pk-post-format-gallery-attachments { |
| 71 |
display: -webkit-box; |
| 72 |
display: -ms-flexbox; |
| 73 |
display: flex; |
| 74 |
-ms-flex-wrap: wrap; |
| 75 |
flex-wrap: wrap; |
| 76 |
padding: 15px; |
| 77 |
height: 300px; |
| 78 |
overflow: hidden; |
| 79 |
overflow-y: auto; |
| 80 |
} |
| 81 |
|
| 82 |
.pk-post-format-gallery-attachment { |
| 83 |
border: #DFDFDF solid 1px; |
| 84 |
position: relative; |
| 85 |
margin: 5px; |
| 86 |
width: 150px; |
| 87 |
height: 150px; |
| 88 |
background: #eee; |
| 89 |
cursor: pointer; |
| 90 |
} |
| 91 |
|
| 92 |
.pk-post-format-open .pk-post-format-gallery-attachment { |
| 93 |
width: 100px; |
| 94 |
height: 100px; |
| 95 |
} |
| 96 |
|
| 97 |
.pk-post-format-selected { |
| 98 |
-webkit-box-shadow: 0 0 0 3px #0073aa; |
| 99 |
box-shadow: 0 0 0 3px #0073aa; |
| 100 |
} |
| 101 |
|
| 102 |
.pk-post-format-gallery-attachment .thumbnail { |
| 103 |
display: -webkit-box; |
| 104 |
display: -ms-flexbox; |
| 105 |
display: flex; |
| 106 |
-webkit-box-pack: center; |
| 107 |
-ms-flex-pack: center; |
| 108 |
justify-content: center; |
| 109 |
-webkit-box-align: center; |
| 110 |
-ms-flex-align: center; |
| 111 |
align-items: center; |
| 112 |
width: 100%; |
| 113 |
height: 100%; |
| 114 |
overflow: hidden; |
| 115 |
} |
| 116 |
|
| 117 |
.pk-post-format-gallery-attachment img { |
| 118 |
display: block; |
| 119 |
width: 100%; |
| 120 |
height: auto; |
| 121 |
} |
| 122 |
|
| 123 |
.pk-post-format-gallery-attachment .actions { |
| 124 |
position: absolute; |
| 125 |
top: -5px; |
| 126 |
right: -5px; |
| 127 |
display: none; |
| 128 |
} |
| 129 |
|
| 130 |
.pk-post-format-gallery-attachment:hover .actions { |
| 131 |
display: block; |
| 132 |
} |
| 133 |
|
| 134 |
.pk-post-format-gallery-remove { |
| 135 |
display: -webkit-box; |
| 136 |
display: -ms-flexbox; |
| 137 |
display: flex; |
| 138 |
-webkit-box-pack: center; |
| 139 |
-ms-flex-pack: center; |
| 140 |
justify-content: center; |
| 141 |
-webkit-box-align: center; |
| 142 |
-ms-flex-align: center; |
| 143 |
align-items: center; |
| 144 |
height: 26px; |
| 145 |
width: 26px; |
| 146 |
border-color: transparent; |
| 147 |
background: #23282D; |
| 148 |
color: #eee; |
| 149 |
border-radius: 100%; |
| 150 |
font-size: 16px; |
| 151 |
line-height: 26px; |
| 152 |
text-align: center; |
| 153 |
text-decoration: none; |
| 154 |
vertical-align: top; |
| 155 |
} |
| 156 |
|
| 157 |
.pk-post-format-gallery-remove:before { |
| 158 |
position: relative; |
| 159 |
font-family: dashicons; |
| 160 |
width: 1em; |
| 161 |
line-height: 1em; |
| 162 |
text-align: center; |
| 163 |
text-decoration: none; |
| 164 |
content: "\f335"; |
| 165 |
} |
| 166 |
|
| 167 |
.pk-post-format-gallery-toolbar { |
| 168 |
display: -webkit-box; |
| 169 |
display: -ms-flexbox; |
| 170 |
display: flex; |
| 171 |
-webkit-box-pack: justify; |
| 172 |
-ms-flex-pack: justify; |
| 173 |
justify-content: space-between; |
| 174 |
border-top: 1px solid #DFDFDF; |
| 175 |
padding: 15px; |
| 176 |
} |
| 177 |
|
| 178 |
.pk-post-format-gallery-side-inner { |
| 179 |
display: none; |
| 180 |
} |
| 181 |
|
| 182 |
.pk-post-format-gallery-side-data { |
| 183 |
border-left: 1px solid #DFDFDF; |
| 184 |
background: #F1F1F1; |
| 185 |
padding: 15px; |
| 186 |
width: 300px; |
| 187 |
height: 300px; |
| 188 |
overflow: hidden; |
| 189 |
overflow-y: auto; |
| 190 |
} |
| 191 |
|
| 192 |
.pk-post-format-gallery-side-data .spinner { |
| 193 |
visibility: visible; |
| 194 |
} |
| 195 |
|
| 196 |
.pk-post-format-gallery-side-data .form-table { |
| 197 |
border-top: 1px solid #DFDFDF; |
| 198 |
margin-top: 10px; |
| 199 |
} |
| 200 |
|
| 201 |
.pk-post-format-gallery-side-data .label { |
| 202 |
width: 100px; |
| 203 |
padding: 8px 0 0; |
| 204 |
vertical-align: top; |
| 205 |
} |
| 206 |
|
| 207 |
.pk-post-format-gallery-side-data .input { |
| 208 |
padding: 8px 0 0; |
| 209 |
} |
| 210 |
|
| 211 |
.pk-post-format-gallery-side-data input, |
| 212 |
.pk-post-format-gallery-side-data textarea { |
| 213 |
width: 100%; |
| 214 |
} |
| 215 |
|
| 216 |
.pk-post-format-gallery-side-data textarea { |
| 217 |
height: 60px; |
| 218 |
} |
| 219 |
|
| 220 |
.pk-post-format-gallery-side-toolbar { |
| 221 |
display: -webkit-box; |
| 222 |
display: -ms-flexbox; |
| 223 |
display: flex; |
| 224 |
-webkit-box-pack: justify; |
| 225 |
-ms-flex-pack: justify; |
| 226 |
justify-content: space-between; |
| 227 |
border-top: 1px solid #DFDFDF; |
| 228 |
border-left: 1px solid #DFDFDF; |
| 229 |
padding: 15px; |
| 230 |
} |
| 231 |
|
| 232 |
.pk-post-format-gallery-side-info img { |
| 233 |
float: left; |
| 234 |
width: auto; |
| 235 |
max-width: 50px; |
| 236 |
max-height: 50px; |
| 237 |
margin: 0 10px 1px 0; |
| 238 |
background: #FFFFFF; |
| 239 |
padding: 3px; |
| 240 |
border: #DFDFDF solid 1px; |
| 241 |
border-radius: 1px; |
| 242 |
} |
| 243 |
|
| 244 |
.pk-post-format-gallery-side-info p { |
| 245 |
font-size: 13px; |
| 246 |
line-height: 15px; |
| 247 |
margin: 3px 0; |
| 248 |
word-break: break-all; |
| 249 |
color: #999999; |
| 250 |
} |
| 251 |
|
| 252 |
.pk-post-format-gallery-side-info strong { |
| 253 |
color: #000000; |
| 254 |
} |
| 255 |
|
| 256 |
.pk-post-format-highlight { |
| 257 |
border: #DFDFDF solid 1px; |
| 258 |
margin: 5px; |
| 259 |
width: 150px; |
| 260 |
height: 150px; |
| 261 |
background: #eee; |
| 262 |
} |
| 263 |
|
| 264 |
.pk-post-format-open .pk-post-format-highlight { |
| 265 |
width: 100px; |
| 266 |
height: 100px; |
| 267 |
} |
| 268 |
|
| 269 |
.pk-post-format-selected { |
| 270 |
-webkit-box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important; |
| 271 |
box-shadow: 0 0 0 3px #fff inset, 0 0 0 7px #0073aa inset !important; |
| 272 |
} |
| 273 |
|
| 274 |
.pk-post-format-selected .thumbnail { |
| 275 |
opacity: 0.25 !important; |
| 276 |
} |
| 277 |
|
| 278 |
.pk-post-format-selected button { |
| 279 |
display: none !important; |
| 280 |
} |
| 281 |
|