ImageGrid/ui/gallery.css

251 lines
3.6 KiB
CSS
Raw Normal View History

.animated {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.unanimated {
-webkit-transition: none;
-moz-transition: none;
-o-transition: all 0 ease;
-ms-transition: none;
transition: none;
}
.image {
float: left;
width: 350px;
height: 350px;
background: no-repeat 50% black;
background-size: contain;
opacity: 0.3;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
cursor: hand;
}
.mock-image {
background: blue;
}
.demo-buttons {
margin: 15px
border: groove 2px;
opacity: 0.2;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.demo-buttons:hover {
opacity: 1;
}
.viewer {
position: relative;
width: 900px;
height: 500px;
border: solid blue 5px;
margin: 20px;
}
.controller {
position: absolute;
height: 500px;
width: 50px;
/* keep these on top of the normal elements but below the high
* visibility 9000+ crowd...
*/
z-index: 5000;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
opacity: 0.5;
}
.controller.left {
left: 0px;
}
.controller.right {
right: 0px;
}
.screen-button {
text-align: center;
width: 100%;
height: 25%;
color: black;
-moz-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
-ms-user-select: none;
user-select: none;
}
.next-image, .prev-image, .toggle-wide, .toggle-single, .zoom-in, .settings, .toggle-wide {
}
.toggle-single, .zoom-in {
border-top: solid gray 1px;
height: 10%;
}
.toggle-single, .fit-three, .zoom-in, .zoom-out {
height: 10%;
}
.settings, .toggle-wide {
height: 5%;
}
.promote {
}
.next-image {
}
.prev-image {
}
.demote {
}
.toggle-wide {
}
.toggle-single {
}
.zoom-in {
}
.zoom-out {
}
.container {
position: relative;
overflow: hidden;
float: left;
width: 100%;
height: 100%;
/*
width: 800px;
height: 500px;
*/
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.field {
position: relative;
overflow: visible;
top: 0px;
left: 0px;
margin-top: 0px;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.ribbon {
height: 360px;
/* XXX make this expand dynamically */
width: 100000px;
overflow: visible;
padding-top: 2px;
padding-bottom: 2px;
opacity: 0.5;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.new-ribbon {
height: 0px;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.current.image {
opacity: 1.0;
}
.current.ribbon {
opacity: 1.0;
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease;
-o-transition: all 0.2s ease;
-ms-transition: all 0.2s ease;
transition: all 0.2s ease;
}
.current.ribbon .image {
}