mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
205 lines
3.1 KiB
CSS
Executable File
205 lines
3.1 KiB
CSS
Executable File
.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 {
|
|
width: 900px;
|
|
height: 500px;
|
|
border: solid blue 5px;
|
|
margin: 20px;
|
|
}
|
|
|
|
|
|
.controller {
|
|
height: 500px;
|
|
width: 50px;
|
|
background: silver;
|
|
float: left;
|
|
|
|
-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;
|
|
}
|
|
|
|
|
|
.screen-button {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 100%;
|
|
height: 125px;
|
|
|
|
/* coloring is temporary... */
|
|
background: gray;
|
|
color: silver;
|
|
|
|
-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 {
|
|
/* coloring is temporary... */
|
|
background: silver;
|
|
color: gray;
|
|
}
|
|
|
|
|
|
.toggle-single, .fit-three, .zoom-in, .zoom-out {
|
|
height: 50px;
|
|
}
|
|
|
|
.settings, .toggle-wide {
|
|
height: 25px;
|
|
}
|
|
|
|
.promote {
|
|
}
|
|
|
|
|
|
.next-image {
|
|
}
|
|
|
|
|
|
.prev-image {
|
|
}
|
|
|
|
|
|
.demote {
|
|
}
|
|
|
|
|
|
.toggle-wide {
|
|
}
|
|
|
|
|
|
.toggle-single {
|
|
}
|
|
|
|
|
|
.container {
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
float: left;
|
|
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 {
|
|
}
|
|
|
|
|