User:Popoffka/SlideShow.css

/*	Wikimedia Slideshow Userscript by Aleksejs Popovs This userscript allows you to see all pictures on a Wiki(m/p)edia page in a nice slideshow viewer. The slideshow can be invoked by either clicking any picture on the page or by pressing the "Slideshow" button in the actions portlet. The slideshow can be controlled by using arrow keys or the on-screen buttons. Source code is provided under the terms of the MIT License.

Copyright (C) 2011 by Aleksejs Popovs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is	furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

body.slideShowActive::-webkit-scrollbar { display: none; }

body.slideShowActive { overflow: hidden; }

.slideShowViewer { position: fixed; top: 0px; left: 0px;

width: 100%; height: 100%;

background-color: rgba(0, 0, 0, 0.75);

overflow: auto;

color: white; }

.slideShowNavigation { cursor: pointer; width: 40px; display: table; font-size: 20pt; height: 100%; background-color: rgba(0, 0, 0, 0.20); }

.slideShowLoading { position: fixed; top: 50%; left: 50%; }

.slideShowNavigation.left { position: fixed; top: 0px; left: 0px; }

.slideShowNavigation.right { position: fixed; top: 0px; right: 0px; }

.slideShowNavigation.close { height: 40px; position: fixed; top: 0px; right: 0px; background: none; text-align: center; background-color: rgba(0, 0, 0, 0.25); }

.slideShowNavigation.disabled { color: gray; cursor: default; }

.slideShowLabel { display: table-cell; vertical-align: middle; text-align: center; }

.slideShowDescription { font-size: 12pt; position: fixed; left: 40px; right: 40px; background-color: rgba(0, 0, 0, 0.20); bottom: 0px; padding: 5px 5px 5px 5px; }

.slideShowViewer a { text-decoration: underline; color: silver; font-weight: bold; } .slideShowViewer a:hover { color: gray; } .slideShowViewer a:visited { color: gray; }

a.action { text-decoration: none; border-bottom: 1px dashed; } a.action:visited { color: silver; } a.action:hover { color: gray; }

display: none; width: 100%; }
 * 1) slideShowFullDescription {

float: right; }
 * 1) slideShowCounter {

.slideShowImage { position: fixed; }