mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 04:24:45 -04:00
129 lines
1.8 KiB
Text
129 lines
1.8 KiB
Text
|
|
#pv-img-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
#pv-img-content {
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
#pv-img-image {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
border: 2px solid #fff;
|
|
.border-radius(4px);
|
|
}
|
|
|
|
#pv-img-overlay.fullscreen {
|
|
background-color: #111;
|
|
|
|
#pv-img-image {
|
|
border: 0;
|
|
.border-radius(0);
|
|
}
|
|
}
|
|
|
|
#pv-img-close {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#pv-img-prev {
|
|
position: fixed;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#pv-img-next {
|
|
position: fixed;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#pv-img-buttons, #pv-img-topbuttons {
|
|
list-style: none;
|
|
list-style-image: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
img {
|
|
position: relative;
|
|
top: -2px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
img + span, img + input {
|
|
margin-left: 6px;
|
|
}
|
|
input {
|
|
background-color: rgba(255,255,255,0.1);
|
|
border: none;
|
|
color: #ccc;
|
|
}
|
|
|
|
.bar-label {
|
|
display: block;
|
|
color: #ccc;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
padding: 0 10px;
|
|
opacity: 0.7;
|
|
.transition(all 0.2s ease-in-out);
|
|
}
|
|
|
|
.bar-highlight {
|
|
background-color: rgba(255,255,255,0.1);
|
|
opacity: 1.0;
|
|
}
|
|
|
|
@bar-sep-border: 1px solid rgba(255,255,255,0.05);
|
|
|
|
.bar-button {
|
|
.bar-label;
|
|
cursor: pointer;
|
|
&:hover, &.hover {
|
|
.bar-highlight;
|
|
}
|
|
}
|
|
|
|
.bar-left {
|
|
float: left;
|
|
border-right: @bar-sep-border;
|
|
}
|
|
|
|
.bar-right {
|
|
float: right;
|
|
border-left: @bar-sep-border;
|
|
}
|
|
}
|
|
|
|
#pv-img-topbar {
|
|
position: fixed;
|
|
z-index: 5;
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
.vert-gradient(rgb(37,37,37), rgb(24,24,24));
|
|
border-bottom: 1px solid rgb(27,27,27);
|
|
}
|
|
|
|
#pv-img-bottombar {
|
|
position: fixed;
|
|
z-index: 5;
|
|
width: 100%;
|
|
left: 0;
|
|
bottom: 0;
|
|
.vert-gradient(rgb(27,27,27), rgb(14,14,14));
|
|
border-top: 1px solid rgb(45,45,45);
|
|
}
|