PhotoView.scss 2.4 KB
@import "../../scss/bootstrap/variables";

.photo_view_wrap{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 999;
	background-color: rgba(0,0,0,0.1);
}
.viewer_header{
	position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    height: 56px;
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.10196078);
    text-align: right;
}

.viewer{
	position: absolute;
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 56px); 
    background-color: #F3F3F3;
    -webkit-transition: width .25s ease-out;
    -moz-transition: width .25s ease-out;
    transition: width .25s ease-out;
} 
.controls{
	white-space: nowrap;
	width: 100%;
	padding-right: 15px;
}
.close_btn{
	position: relative;
	color: #2c2d30;
	display: inline-block; 
	margin: 13px 12px 13px 19px;
    background: 0 0;
    line-height: 30px;
    text-shadow: none;
    width: 20px;
    height: 30px;
    cursor: pointer;
    border: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
}
.file_ssb_download_link{
	color: #2c2d30;
	display: inline-block;
    margin-right: -2px;
	margin: 13px 0;
    background: 0 0;
    line-height: 30px;
    text-shadow: none;
	font-size: 20px;
    font-style: normal;
    font-weight: 400;
}
.file_ssb_download_link:hover,.close_btn:hover{
	text-decoration: none;
}
.file_ssb_download_link:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: .25rem;
}
.scaled{
	position: absolute; 
    min-width: 100%;
    min-height: 100%;
    margin: 0;
}
.scaled_image{
	max-width: calc(100% - 44px);
    max-height: calc(100% - 44px);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    cursor: nesw-resize;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
}
.actual_pixel{
	visibility: hidden;
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    overflow: auto;
    text-align: center;
    cursor: zoom-out;
    margin: 0;
}
.actual_pixel_center{
	display: table-cell;
    min-width: 100%;
    min-height: 100%;
    vertical-align: middle;
}
.actual_pixel_image{
	max-width: none;
    display: inline-block;
}