74 lines
1.5 KiB
SCSS
74 lines
1.5 KiB
SCSS
.ucap-image-viewer-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
.ucap-image-viewer-header {
|
|
width: 100%;
|
|
height: 60px;
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
|
|
background-color: #333333;
|
|
|
|
.ucap-image-viewer-icon {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.ucap-image-viewer-title {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.ucap-image-viewer-spacer {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.stroke-bar {
|
|
width: 1px;
|
|
height: 30px;
|
|
background-color: rgba(256, 256, 256, 0.3);
|
|
margin: 0 10px;
|
|
}
|
|
.ucap-image-viewer-action {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-left: 10px;
|
|
&:hover {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ucap-image-viewer-body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: calc(100% - 60px);
|
|
|
|
.ucap-image-viewer-image-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
overflow: auto;
|
|
|
|
img {
|
|
position: absolute;
|
|
max-width: none !important;
|
|
}
|
|
|
|
&::-webkit-scrollbar {
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
&::-webkit-scrollbar-corner {
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
&::-webkit-scrollbar:hover {
|
|
background-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.37);
|
|
}
|
|
&::-webkit-scrollbar-thumb:active {
|
|
box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.54);
|
|
}
|
|
}
|
|
}
|
|
}
|