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