]> www.average.org Git - mkgallery.git/blobdiff - include/gallery.css
keyboard controls
[mkgallery.git] / include / gallery.css
index 5e1f741a4de34d3dacf6a054e74b5ecebe430022..fa3ad84f04f3de13a270c6c41f144c69c62c021d 100644 (file)
@@ -1,9 +1,11 @@
 /*
+       $Id$
+
        This is a part of mkgallery.pl suite
        http://www.average.org/mkgallery/
 */
 
-img {
+.slideimage img {
  clear:both;
  border-style: inset;
  border-color: gray;
@@ -11,6 +13,13 @@ img {
  margin: 0.2ex;
 }
 
+.slideshowContainer img {
+ clear:both;
+ border-style: none;
+ margin: 0px;
+ padding: 0px;
+}
+
 table.slide {
  float: left;
  width: 210px;
@@ -77,15 +86,92 @@ table.picframe {
  background: url(loading.gif) center no-repeat;
 }
 
-.slideshowWindow {
+.slideshowContainer {
  background-color: black;
+ width: 100%;
 }
 
-.slideshowContainer {
- border: 1px solid #ccc;
- width: 99%;
- height: 95%;
- margin-bottom: 5px;
+.slideshowControls {
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ width: 100%;
+ height: 30px;
+ z-index: 3;
+ opacity: .15;
+ color: white;
+}
+
+.slideshowControls:hover {
+ opacity: 1;
+}
+
+.controlButton {
+ position: absolute;
+ bottom: 3px;
+ width: 24px;
+ height: 24px;
+ cursor: pointer;
+}
+
+.controlButton#prev {
+ left: 3px;
+ background: url(left.png) no-repeat;
+}
+
+.controlButton#prevDisabled {
+ left: 3px;
+ background: url(leftDisabled.png) no-repeat;
+ cursor: default;
+}
+
+.controlButton#stop {
+ left: 28px;
+ background: url(stop.png) no-repeat;
+}
+
+.controlButton#play {
+ left: 28px;
+ background: url(play.png) no-repeat;
+}
+
+.controlButton#next {
+ left: 53px;
+ background: url(right.png) no-repeat;
+}
+
+.controlButton#nextDisabled {
+ left: 53px;
+ background: url(rightDisabled.png) no-repeat;
+ cursor: default;
+}
+
+.controlButton#exit {
+ left: 78px;
+ background: url(close.png) no-repeat;
+}
+
+.controlButton#comm {
+ left: 103px;
+ width: auto;
+ font-size: 20px;
+ margin-left: .5ex;
+ margin-right: .5ex;
+ padding-left: .5ex;
+ padding-right: .5ex;
+ background-color: rgba(0,0,0,.5);
+ cursor: default;
+}
+
+.controlButton#comm a {
+ color: white;
+ text-decoration: none;
+}
+
+.controlPosition {
+ vertical-align: middle;
+ font-size: 10px;
+ margin-right: 1ex;
 }
 
 .MultiBoxContainer {