| 1 |
/* |
| 2 |
* styles for gallery page |
| 3 |
*/ |
| 4 |
.gllr_clear { |
| 5 |
clear: both; |
| 6 |
height: 0; |
| 7 |
} |
| 8 |
.gllr_loader { |
| 9 |
position: relative; |
| 10 |
display: none; |
| 11 |
margin: 0 5px; |
| 12 |
vertical-align: sub; |
| 13 |
} |
| 14 |
.rtl .gllr_settings_table label { |
| 15 |
float: right; |
| 16 |
width: 100%; |
| 17 |
} |
| 18 |
.bws_table_bg.gllr_bws_table_bg { |
| 19 |
z-index: 0; |
| 20 |
} |
| 21 |
/* New media style */ |
| 22 |
.post-type-gallery #the-list.ui-sortable, |
| 23 |
.post-type-bws-gallery #the-list.ui-sortable { |
| 24 |
cursor: move; |
| 25 |
} |
| 26 |
.post-type-gallery tr.ui-sortable-helper *, |
| 27 |
.post-type-bws-gallery tr.ui-sortable-helper * { |
| 28 |
background-color: transparent; |
| 29 |
} |
| 30 |
.post-type-gallery .ui-sortable-helper, |
| 31 |
.post-type-bws-gallery .ui-sortable-helper { |
| 32 |
background-color: #f5f5f5; |
| 33 |
opacity: 0.8; |
| 34 |
filter: alpha(opacity=80); |
| 35 |
border: 1px solid #ccc; |
| 36 |
} |
| 37 |
.post-type-gallery tr.ui-sortable-helper input, |
| 38 |
.post-type-gallery .ui-sortable-helper .row-actions, |
| 39 |
.post-type-gallery .ui-sortable-placeholder td:last-child, |
| 40 |
.post-type-bws-gallery tr.ui-sortable-helper input, |
| 41 |
.post-type-bws-gallery .ui-sortable-helper .row-actions, |
| 42 |
.post-type-bws-gallery .ui-sortable-placeholder td:last-child { |
| 43 |
display: none; |
| 44 |
} |
| 45 |
.post-type-gallery .ui-sortable-placeholder, |
| 46 |
.post-type-bws-gallery .ui-sortable-placeholder { |
| 47 |
visibility: visible !important; |
| 48 |
} |
| 49 |
.post-type-gallery li.ui-sortable-placeholder, |
| 50 |
.post-type-bws-gallery li.ui-sortable-placeholder { |
| 51 |
border: 1px dashed #bbb; |
| 52 |
} |
| 53 |
.post-type-gallery #wp-content-media-buttons, |
| 54 |
.post-type-bws-gallery #wp-content-media-buttons { |
| 55 |
display: none; |
| 56 |
} |
| 57 |
.post-type-gallery .wp-list-table td *, |
| 58 |
.post-type-bws-gallery .wp-list-table td * { |
| 59 |
max-width: 100%; |
| 60 |
} |
| 61 |
.post-type-gallery table.media .column-title .media-icon, |
| 62 |
.post-type-bws-gallery table.media .column-title .media-icon { |
| 63 |
float: left; |
| 64 |
margin: 0 9px 0 0; |
| 65 |
} |
| 66 |
.rtl.post-type-gallery table.media .column-title .media-icon, |
| 67 |
.rtl.post-type-bws-gallery table.media .column-title .media-icon { |
| 68 |
float: right; |
| 69 |
margin: 0 0 0 9px; |
| 70 |
} |
| 71 |
.post-type-gallery table.media th, |
| 72 |
.post-type-bws-gallery table.media th { |
| 73 |
overflow: visible; |
| 74 |
} |
| 75 |
.post-type-gallery table.fixed .column-images, |
| 76 |
.post-type-bws-gallery table.fixed .column-images { |
| 77 |
width: 10%; |
| 78 |
} |
| 79 |
.post-type-gallery table.fixed .column-featured-image, |
| 80 |
.post-type-bws-gallery table.fixed .column-featured-image { |
| 81 |
width: 13%; |
| 82 |
} |
| 83 |
.gllr-wp-filter { |
| 84 |
margin-top: 15px; |
| 85 |
} |
| 86 |
.type-bws-gallery img { |
| 87 |
max-height: 65px; |
| 88 |
} |
| 89 |
#bws_settings_tabs_wrapper .bws_tab#gllr_images_tab > .attachments { |
| 90 |
margin: 0; |
| 91 |
width: 100%; |
| 92 |
} |
| 93 |
.gllr-media-attachment { |
| 94 |
border: 1px solid #f1f1f1; |
| 95 |
width: calc( 16.6% - 23px ); |
| 96 |
-moz-user-select: none; |
| 97 |
box-sizing: border-box; |
| 98 |
color: #464646; |
| 99 |
cursor: move; |
| 100 |
display: inline-block; |
| 101 |
list-style: outside none none; |
| 102 |
margin: 10px; |
| 103 |
position: relative; |
| 104 |
text-align: center; |
| 105 |
} |
| 106 |
.gllr-media-attachment.details { |
| 107 |
box-shadow: 0 0 0 3px #f1f1f1, 0 0 0 7px #1e8cbe; |
| 108 |
} |
| 109 |
.gllr-media-attachment.selected .gllr-media-check { |
| 110 |
background-color: #1e8cbe; |
| 111 |
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #1e8cbe; |
| 112 |
display: block; |
| 113 |
height: 24px; |
| 114 |
outline: medium none; |
| 115 |
position: absolute; |
| 116 |
right: 5px; |
| 117 |
bottom: 31px; |
| 118 |
width: 24px; |
| 119 |
z-index: 10; |
| 120 |
} |
| 121 |
.gllr-media-attachment.selected .media-modal-icon { |
| 122 |
background-image: url("../../../../wp-includes/images/uploader-icons-2x.png"); |
| 123 |
background-size: 134px 15px; |
| 124 |
background-repeat: no-repeat; |
| 125 |
height: 15px; |
| 126 |
margin: 5px; |
| 127 |
width: 15px; |
| 128 |
background-position: -21px 0; |
| 129 |
} |
| 130 |
.gllr-media-attachment.selected .media-modal-icon:hover, |
| 131 |
.gllr-media-attachment.selected .media-modal-icon:focus { |
| 132 |
background-position: -60px 0; |
| 133 |
} |
| 134 |
.gllr-media-attachment-preview{ |
| 135 |
position:relative; |
| 136 |
} |
| 137 |
.gllr-media-attachment-preview::before { |
| 138 |
content: ""; |
| 139 |
display: block; |
| 140 |
padding-top: 100%; |
| 141 |
} |
| 142 |
.success .gllr-media-attachment-preview { |
| 143 |
box-shadow: 0 0 5px 4px rgba(153, 240, 153, 1); |
| 144 |
-webkit-box-shadow: 0 0 5px 4px rgba(153, 240, 153, 1); |
| 145 |
-moz-box-shadow: 0 0 5px 4px rgba(153, 240, 153, 1); |
| 146 |
} |
| 147 |
.gllr-media-attachment-preview .centered { |
| 148 |
height: 100%; |
| 149 |
left: 0; |
| 150 |
position: absolute; |
| 151 |
top: 0; |
| 152 |
transform: translate(50%, 50%); |
| 153 |
width: 100%; |
| 154 |
} |
| 155 |
.gllr-media-thumbnail { |
| 156 |
bottom: 0; |
| 157 |
left: 0; |
| 158 |
opacity: 1; |
| 159 |
overflow: hidden; |
| 160 |
position: absolute; |
| 161 |
right: 0; |
| 162 |
top: 0; |
| 163 |
transition: opacity 0.1s ease 0s; |
| 164 |
} |
| 165 |
.gllr-media-thumbnail::after { |
| 166 |
bottom: 0; |
| 167 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset; |
| 168 |
content: ""; |
| 169 |
display: block; |
| 170 |
left: 0; |
| 171 |
overflow: hidden; |
| 172 |
position: absolute; |
| 173 |
right: 0; |
| 174 |
top: 0; |
| 175 |
} |
| 176 |
.gllr-media-thumbnail img { |
| 177 |
transform: translate(-50%, -50%); |
| 178 |
position: absolute; |
| 179 |
left: 0; |
| 180 |
top: 0; |
| 181 |
max-height: 100%; |
| 182 |
} |
| 183 |
.gllr-media-actions-edit, |
| 184 |
.gllr-media-actions-edit:hover, |
| 185 |
.gllr-media-actions-edit.dashicons, |
| 186 |
.gllr-media-actions-edit.dashicons:hover, |
| 187 |
.gllr-media-actions-delete.dashicons, |
| 188 |
.gllr-media-actions-delete.dashicons:hover { |
| 189 |
position: absolute; |
| 190 |
display: block; |
| 191 |
top: 5px; |
| 192 |
width: 25px; |
| 193 |
height: 25px; |
| 194 |
line-height: 25px; |
| 195 |
font-size: 18px; |
| 196 |
outline: none; |
| 197 |
z-index: 20; |
| 198 |
color: #fff; |
| 199 |
} |
| 200 |
.gllr-media-actions-edit { |
| 201 |
background: #555; |
| 202 |
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #555; |
| 203 |
right: 5px; |
| 204 |
} |
| 205 |
.gllr-media-actions-delete.dashicons { |
| 206 |
background: #e02626; |
| 207 |
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e02626; |
| 208 |
left: 5px; |
| 209 |
} |
| 210 |
.gllr-media-attachment-details { |
| 211 |
background-color: #eee; |
| 212 |
padding: 4px; |
| 213 |
text-align: left; |
| 214 |
overflow: hidden; |
| 215 |
position: absolute; |
| 216 |
bottom: 0; |
| 217 |
width: calc(100% - 8px); |
| 218 |
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset; |
| 219 |
} |
| 220 |
/* Media TB_inline*/ |
| 221 |
.post-type-gallery #TB_window, |
| 222 |
.post-type-bws-gallery #TB_window { |
| 223 |
max-height: 450px; |
| 224 |
overflow: hidden; |
| 225 |
} |
| 226 |
.post-type-gallery #TB_ajaxContent, |
| 227 |
.post-type-bws-gallery #TB_ajaxContent { |
| 228 |
box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1) inset; |
| 229 |
max-height: 94%; |
| 230 |
overflow-x: scroll; |
| 231 |
overflow-y: visible; |
| 232 |
padding: 0; |
| 233 |
width: 100% !important; |
| 234 |
position:relative; |
| 235 |
} |
| 236 |
.post-type-gallery #TB_ajaxContent #bws_shortcode_popup_block, |
| 237 |
.post-type-bws-gallery #TB_ajaxContent #bws_shortcode_popup_block { |
| 238 |
padding: 2px 15px 15px 15px; |
| 239 |
} |
| 240 |
.selected .gllr-media-bulk-select-button, |
| 241 |
.gllr-media-bulk-cansel-select-button, |
| 242 |
.gllr-media-bulk-delete-selected-button { |
| 243 |
display: none !important; |
| 244 |
} |
| 245 |
.selected .gllr-media-bulk-cansel-select-button, |
| 246 |
.selected .gllr-media-bulk-delete-selected-button{ |
| 247 |
display:inline-block !important; |
| 248 |
} |
| 249 |
.gllr-media-attachment-details-box { |
| 250 |
display: none; |
| 251 |
} |
| 252 |
.gllr-media-attachment-details-box-left { |
| 253 |
width:55%; |
| 254 |
float:left; |
| 255 |
padding:10px 15px 10px; |
| 256 |
height: 100%; |
| 257 |
box-sizing: border-box; |
| 258 |
} |
| 259 |
.rtl .gllr-media-attachment-details-box-left { |
| 260 |
float:right; |
| 261 |
} |
| 262 |
.gllr-media-attachment-details-box-left img { |
| 263 |
max-width:100%; |
| 264 |
} |
| 265 |
.gllr-media-attachment-details-box-right { |
| 266 |
width:44%; |
| 267 |
height: 100%; |
| 268 |
float:right; |
| 269 |
box-sizing: border-box; |
| 270 |
} |
| 271 |
.post-type-gallery .ui-tooltip, |
| 272 |
.post-type-bws-gallery .ui-tooltip { |
| 273 |
z-index: 1000000 !important; |
| 274 |
} |
| 275 |
.rtl .gllr-media-attachment-details-box-right { |
| 276 |
float: left; |
| 277 |
} |
| 278 |
.gllr-media-attachment-details-box-right .attachment-details { |
| 279 |
border-left: 1px solid #ddd; |
| 280 |
background: #f3f3f3 none repeat scroll 0 0; |
| 281 |
padding:10px; |
| 282 |
height: 100%; |
| 283 |
box-sizing: border-box; |
| 284 |
} |
| 285 |
.gllr-media-attachment-details-box-right .setting .name { |
| 286 |
max-width: 80px; |
| 287 |
} |
| 288 |
.gllr-media-attachment-details-box-right .setting span.bws_info { |
| 289 |
float: none; |
| 290 |
vertical-align: bottom; |
| 291 |
} |
| 292 |
.gllr-media-attachment-actions { |
| 293 |
border-top: 1px solid #ddd; |
| 294 |
margin-top: 15px; |
| 295 |
padding-top: 15px; |
| 296 |
} |
| 297 |
.gllr-media-attachment-actions > a { |
| 298 |
line-height: 39px; |
| 299 |
} |
| 300 |
.gllr-media-attachment-actions .gllr-media-actions-delete { |
| 301 |
color:#bc0b0b; |
| 302 |
} |
| 303 |
.gllr-media-attachment-actions .gllr-media-actions-delete:hover { |
| 304 |
color:red; |
| 305 |
} |
| 306 |
.post-type-gallery #the-list .success th, |
| 307 |
.post-type-gallery #the-list .success td, |
| 308 |
.post-type-bws-gallery #the-list .success th, |
| 309 |
.post-type-bws-gallery #the-list .success td { |
| 310 |
background: #eff8f3; |
| 311 |
} |
| 312 |
.post-type-gallery #the-list .success .check-column, |
| 313 |
.post-type-bws-gallery #the-list .success .check-column { |
| 314 |
border-left: 4px solid #179458; |
| 315 |
} |
| 316 |
@media screen and (max-width: 1600px) { |
| 317 |
.gllr-media-attachment { |
| 318 |
width: calc( 20% - 23px ); |
| 319 |
} |
| 320 |
} |
| 321 |
@media screen and (max-width: 1400px) { |
| 322 |
.gllr-media-attachment { |
| 323 |
width: calc( 25% - 23px ); |
| 324 |
} |
| 325 |
} |
| 326 |
@media screen and (max-width: 1300px) { |
| 327 |
.gllr-media-attachment { |
| 328 |
width: calc( 33.3% - 23px ); |
| 329 |
} |
| 330 |
#gllr_settings_tab select, |
| 331 |
#gllr_cover_tab select, |
| 332 |
#gllr_lightbox_tab select { |
| 333 |
width: 100% !important; |
| 334 |
} |
| 335 |
} |
| 336 |
@media screen and (max-width: 1150px) and (min-width: 851px) { |
| 337 |
.gllr-media-attachment { |
| 338 |
width: calc( 50% - 23px ); |
| 339 |
} |
| 340 |
} |
| 341 |
@media screen and (min-width: 1000px) { |
| 342 |
.post-type-gallery table.media .column-title, |
| 343 |
.post-type-bws-gallery table.media .column-title { |
| 344 |
width: 35%; |
| 345 |
} |
| 346 |
} |
| 347 |
@media screen and (min-width: 800px) { |
| 348 |
.post-type-gallery tr.ui-sortable-placeholder th, |
| 349 |
.post-type-gallery tr.ui-sortable-placeholder td, |
| 350 |
.post-type-bws-gallery tr.ui-sortable-placeholder th, |
| 351 |
.post-type-bws-gallery tr.ui-sortable-placeholder td { |
| 352 |
border-top: 1px dashed #bbb; |
| 353 |
border-bottom: 1px dashed #bbb; |
| 354 |
height: 10px; |
| 355 |
} |
| 356 |
.post-type-gallery table.media .column-dimensions, |
| 357 |
.post-type-bws-gallery table.media .column-dimensions { |
| 358 |
width: 9%; |
| 359 |
} |
| 360 |
} |
| 361 |
@media screen and (max-width: 800px) { |
| 362 |
.post-type-gallery tr.ui-sortable-placeholder td, |
| 363 |
.post-type-bws-gallery tr.ui-sortable-placeholder td { |
| 364 |
display: none !important; |
| 365 |
} |
| 366 |
} |
| 367 |
@media screen and (max-width: 782px) { |
| 368 |
.post-type-gallery .column-featured-image, |
| 369 |
.post-type-bws-gallery .column-featured-image, |
| 370 |
.post-type-gallery .wrap table.wp-list-table tr td.column-featured-image::before, |
| 371 |
.post-type-bws-gallery .wrap table.wp-list-table tr td.column-featured-image::before, |
| 372 |
.post-type-gallery .column-gllr_image_text, |
| 373 |
.post-type-gallery .column-dimensions, |
| 374 |
.post-type-gallery .column-gllr_image_alt_tag, |
| 375 |
.post-type-gallery .column-gllr_link_url, |
| 376 |
.post-type-bws-gallery .column-gllr_image_text, |
| 377 |
.post-type-bws-gallery .column-dimensions, |
| 378 |
.post-type-bws-gallery .column-gllr_image_alt_tag, |
| 379 |
.post-type-bws-gallery .column-gllr_link_url { |
| 380 |
display: none; |
| 381 |
} |
| 382 |
} |
| 383 |
@media screen and (max-width: 650px) { |
| 384 |
.post-type-gallery .fixed .column-shortcode, |
| 385 |
.post-type-gallery .fixed .column-photos, |
| 386 |
.post-type-gallery .fixed .column-gallery_categories, |
| 387 |
.post-type-bws-gallery .fixed .column-shortcode, |
| 388 |
.post-type-bws-gallery .fixed .column-photos, |
| 389 |
.post-type-bws-gallery .fixed .column-gallery_categories { |
| 390 |
display: none; |
| 391 |
} |
| 392 |
} |
| 393 |
@media screen and (max-width: 620px) { |
| 394 |
.gllr-media-attachment-actions > a { |
| 395 |
display: block; |
| 396 |
} |
| 397 |
.gllr-separator{ |
| 398 |
display:none; |
| 399 |
} |
| 400 |
} |
| 401 |
@media screen and (max-width: 600px) { |
| 402 |
.gllr-media-attachment { |
| 403 |
width: calc( 50% - 23px ); |
| 404 |
} |
| 405 |
} |
| 406 |
@media screen and (max-width: 480px) { |
| 407 |
.gllr-media-attachment-details-box-left { |
| 408 |
float: none; |
| 409 |
height: auto; |
| 410 |
width: 100%; |
| 411 |
padding-top: 50px; |
| 412 |
} |
| 413 |
.gllr-media-attachment-details-box-right { |
| 414 |
border-top: 1px solid #ddd; |
| 415 |
float: none; |
| 416 |
height: auto; |
| 417 |
width: 100%; |
| 418 |
padding-top: 10px; |
| 419 |
} |
| 420 |
.post-type-gallery #TB_window, |
| 421 |
.post-type-bws-gallery #TB_window { |
| 422 |
overflow: auto; |
| 423 |
} |
| 424 |
.gllr-media-attachment-actions > a { |
| 425 |
display: inline; |
| 426 |
} |
| 427 |
.gllr-separator{ |
| 428 |
display:inline; |
| 429 |
} |
| 430 |
} |
| 431 |
@media screen and (max-width: 350px) { |
| 432 |
.gllr-media-attachment { |
| 433 |
width: calc( 100% - 23px ); |
| 434 |
} |
| 435 |
} |