PHP Classes
elePHPant
Icontem

File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_offcanvas.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_offcanvas.scss  >  Download  
File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_offcanvas.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 3 years ago
Size: 1,066 bytes
 

 

Contents

Class file image Download
// Off canvas navigation
// --------------------------------------------------

@mixin offcanvas {
  display: none;
  &.in {
    display: block;
  }
}

@media (max-width: $screen-xs-max) {
  .offcanvas-xs {
    @include offcanvas;
  }
}
@media (max-width: $screen-sm-max) {
  .offcanvas-sm {
    @include offcanvas;
  }
}
@media (max-width: $screen-md-max) {
  .offcanvas-md {
    @include offcanvas;
  }
}
.offcanvas-lg {
  @include offcanvas;
}

.canvas-sliding {
	-webkit-transition: top 0.35s, left 0.35s, bottom 0.35s, right 0.35s;
	-moz-transition: top 0.35s, left 0.35s, bottom 0.35s, right 0.35s;
	-o-transition: top 0.35s, left 0.35s, bottom 0.35s, right 0.35s;
	transition: top 0.35s, left 0.35s, bottom 0.35s, right 0.35s;
}

.offcanvas-clone {
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  bottom: 0 !important;
  right: 0 !important;
  opacity: 0 !important;
}