mirror of https://github.com/perkeep/perkeep.git
114 lines
1.9 KiB
CSS
114 lines
1.9 KiB
CSS
/*
|
|
Copyright 2014 The Perkeep Authors
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
@import (less) "prefix-free.css";
|
|
|
|
|
|
/* TODO(aa): All this needs to get renamed to image-detail */
|
|
.detail-view {
|
|
background: black;
|
|
left: 0;
|
|
position: absolute;
|
|
overflow: hidden;
|
|
top: 0;
|
|
}
|
|
|
|
.detail-view-img {
|
|
opacity: 0;
|
|
position: absolute;
|
|
.transition(opacity 200ms linear);
|
|
}
|
|
|
|
.detail-view-img-loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
.detail-img-leave {
|
|
.transition(opacity 200ms linear);
|
|
opacity: 1;
|
|
}
|
|
.detail-img-leave.detail-img-leave-active {
|
|
opacity: 0;
|
|
}
|
|
|
|
.detail-view-sidebar {
|
|
background: #f9f9f9;
|
|
bottom: 0;
|
|
overflow: auto;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.detail-view-piggy {
|
|
position: absolute;
|
|
}
|
|
|
|
.detail-view-piggy.detail-view-piggy-backward {
|
|
.transform(scaleX(-1));
|
|
}
|
|
|
|
.detail-piggy-leave {
|
|
.transition(opacity 200ms linear);
|
|
opacity: 1;
|
|
}
|
|
|
|
.detail-piggy-leave.detail-piggy-leave-active {
|
|
opacity: 0;
|
|
}
|
|
|
|
.detail-title {
|
|
font-size: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.detail-description {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.cam-detail {
|
|
position: absolute;
|
|
background: #222;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cam-detail iframe {
|
|
background: white;
|
|
}
|
|
|
|
.cam-detail-aspect-nav {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.cam-detail-aspect-nav a {
|
|
color: #bbb;
|
|
display: inline-block;
|
|
font-family: 'Open Sans', sans-serif;
|
|
font-size: 14px;
|
|
margin-left: 1em;
|
|
padding: 0.5ex;
|
|
}
|
|
|
|
.cam-detail-aspect-nav a:hover {
|
|
color: #ddd;
|
|
}
|