1 /* stylelint-disable selector-class-pattern */
4 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
5 /* Don't forget to update gallery.print.css */
17 word-wrap: break-word;
22 display: -moz-inline-box;
23 display: inline-block;
46 word-wrap: break-word;
55 text-overflow: ellipsis;
59 /* new gallery stuff */
60 ul.mw-gallery-nolines li.gallerybox {
62 background-color: transparent;
71 /* height constrained gallery */
74 ul.mw-gallery-packed-overlay,
75 ul.mw-gallery-packed-hover {
78 li.gallerybox div.thumb {
79 background-color: transparent;
88 ul.mw-gallery-packed-hover,
89 ul.mw-gallery-packed-overlay {
95 ul.mw-gallery-packed-hover div.gallerytextwrapper {
100 ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
101 ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
102 ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
105 background: rgba( 255, 255, 255, 0.8 );
108 left: 0; /* Needed for IE */
113 margin: 2px; /* correspond to style on div.thumb */
116 text-overflow: ellipsis;
134 ul.gallery.mw-gallery-slideshow {
147 &.mw-gallery-slideshow-thumbnails-toggled {
148 margin-bottom: 1.3em;
152 .mw-gallery-slideshow-buttons {
157 .oo-ui-buttonElement {
171 &.slideshow-current {
181 background: transparent;
186 .mw-gallery-slideshow-img-container a {
191 /* Background and border colors are defined separately for print mode */
192 li.gallerybox div.thumb {
193 border: 1px solid #c8ccd1;
194 background-color: #f8f9fa;