#lightcase-content { // Not type: error #lightcase-case:not([data-lc-type=error]) & { @media screen and (min-width: #{map-get($lightcase-settings, 'breakpoint')}) { position: relative; z-index: 1; overflow: hidden; text-shadow: none; background-color: #{map-get($lightcase-settings, 'case-background')}; -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); -webkit-backface-visibility: hidden; } } // Type: image + video #lightcase-case[data-lc-type=image] &, #lightcase-case[data-lc-type=video] & { @media screen and (min-width: #{map-get($lightcase-settings, 'breakpoint')}) { background-color: #{map-get($lightcase-settings, 'case-background-media')}; } } // Not type: image, video, flash or error #lightcase-case:not([data-lc-type=image]):not([data-lc-type=video]):not([data-lc-type=flash]):not([data-lc-type=error]) & { -webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none; @media screen and (max-width: #{map-get($lightcase-settings, 'breakpoint')-1}) { @include clear(true); } .lightcase-contentInner { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; @media screen and (max-width: #{map-get($lightcase-settings, 'breakpoint')-1}) { padding: 15px; &, & > * { width: 100% !important; max-width: none !important; } // Set auto height to each element except iframes, because of that // those cannot have a natural/native height and it must be especially defined. & > *:not(iframe) { height: auto !important; max-height: none !important; } } } } .lightcase-contentInner { @media screen and (max-width: #{map-get($lightcase-settings, 'breakpoint')-1}) { // For mobile (touch) devices .lightcase-isMobileDevice #lightcase-case[data-lc-type=iframe] & { @include overflow(); } // Type: image + video [data-lc-type=image] &, [data-lc-type=video] & { @media screen and (min-width: #{map-get($lightcase-settings, 'breakpoint')}) { line-height: 0.75; } } } // Note: This is a very special wrap only added for few // types of content, type 'inline' and 'ajax'. .lightcase-inlineWrap { // For mobile (touch) devices .lightcase-isMobileDevice #lightcase-case[data-lc-type=iframe] & { @include overflow(); } // Not type: image, video, flash or error #lightcase-case:not([data-lc-type=image]):not([data-lc-type=video]):not([data-lc-type=flash]):not([data-lc-type=error]) & { @media screen and (max-width: #{map-get($lightcase-settings, 'breakpoint')-1}) { @include clear(true); } } // Not type: error #lightcase-case:not([data-lc-type=error]) & { @media screen and (min-width: #{map-get($lightcase-settings, 'breakpoint')}) { padding: 30px; overflow: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; } } } } // Content - Extend with further selectors and colors in case you have // elements like