SideBar.scss 1.5 KB
@import "../../scss/bootstrap/variables";

.side_bar_wrap{
	width: 100%;
    height: 100%;
}

.main_wrap{ 
    width: 100%;
    height: 100%;
	-webkit-transition: .2s ease all;
    -o-transition: .2s ease all;
    transition: .2s ease all;
}

.side_wrap{
	position: absolute;
	top: 150px;
	bottom: 0; 
	right: 0;
	width: 420px;   
    -webkit-transform: translate3d(420px, 0, 0);
    -ms-transform: translate3d(420px, 0, 0);
    transform: translate3d(420px, 0, 0);
    -webkit-transition: -webkit-transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);
    transition: -webkit-transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);
    -o-transition: transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9), -o-transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);
    transition: transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);
    transition: transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9), -webkit-transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9), -o-transform 0.15s cubic-bezier(0.2, 0.3, 0.25, 0.9);
}
.open.main_wrap{
	-webkit-transform: translate3d(-420px, 0, 0);
    -ms-transform: translate3d(-420px, 0, 0);
    transform: translate3d(-420px, 0, 0); 
}
.open.side_wrap{ 
	-webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.mask{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	display: none;
	cursor: pointer;
}
.open.mask{
	display: block;
	opacity: 1; 
	background-color: rgba(0,0,0,0.2);
}