353 lines
8.6 KiB
SCSS
353 lines
8.6 KiB
SCSS
|
|
@media (min-width: 768px){
|
|
.navbar-form {
|
|
margin-top: 21px;
|
|
margin-bottom: 21px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
.navbar-search-form{
|
|
display: none;
|
|
}
|
|
.navbar-nav > li > .dropdown-menu, .dropdown .dropdown-menu{
|
|
transform: translate3d(0px, -40px, 0px);
|
|
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
|
|
}
|
|
.navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu{
|
|
transform: translate3d(0px, 0px, 0px);
|
|
}
|
|
|
|
.navbar-nav > li > .dropdown-menu:before{
|
|
border-bottom: 11px solid $medium-pale-bg;
|
|
border-left: 11px solid rgba(0, 0, 0, 0);
|
|
border-right: 11px solid rgba(0, 0, 0, 0);
|
|
content: "";
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 12px;
|
|
top: -11px;
|
|
}
|
|
.navbar-nav > li > .dropdown-menu:after {
|
|
border-bottom: 11px solid $pale-bg;
|
|
border-left: 11px solid rgba(0, 0, 0, 0);
|
|
border-right: 11px solid rgba(0, 0, 0, 0);
|
|
content: "";
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 12px;
|
|
top: -10px;
|
|
}
|
|
|
|
.navbar-nav.navbar-right > li > .dropdown-menu:before{
|
|
left: auto;
|
|
right: 12px;
|
|
}
|
|
|
|
.navbar-nav.navbar-right > li > .dropdown-menu:after{
|
|
left: auto;
|
|
right: 12px;
|
|
}
|
|
|
|
.footer:not(.footer-big){
|
|
nav > ul{
|
|
li:first-child{
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
body > .navbar-collapse.collapse{
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* Changes for small display */
|
|
|
|
@media (max-width: 767px){
|
|
.navbar-transparent{
|
|
padding-top: 15px;
|
|
background-color: rgba(0, 0, 0, 0.45);
|
|
}
|
|
body {
|
|
position: relative;
|
|
font-size: $font-size-xs;
|
|
}
|
|
h6{
|
|
font-size: 1em;
|
|
}
|
|
.wrapper{
|
|
@include transform-translate-x(0px);
|
|
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
|
left: 0;
|
|
background-color: white;
|
|
}
|
|
.navbar .container{
|
|
left: 0;
|
|
width: 100%;
|
|
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
|
position: relative;
|
|
}
|
|
.navbar .navbar-collapse.collapse,
|
|
.navbar .navbar-collapse.collapse.in,
|
|
.navbar .navbar-collapse.collapsing{
|
|
display: none !important;
|
|
}
|
|
|
|
body > .navbar-collapse {
|
|
position: fixed;
|
|
display: block;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 230px;
|
|
right: 0;
|
|
z-index: 1032;
|
|
visibility: visible;
|
|
background-color: #999;
|
|
overflow-y: visible;
|
|
border-top: none;
|
|
text-align: left;
|
|
border-left: 1px solid #CCC5B9;
|
|
padding-right: 0px;
|
|
padding-left: 40px;
|
|
padding-top: 15px;
|
|
|
|
@include transform-translate-x(230px);
|
|
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
|
|
ul {
|
|
position: relative;
|
|
z-index: 3;
|
|
overflow-y:scroll;
|
|
height: 95%;
|
|
}
|
|
.nav > li{
|
|
// border-bottom: 1px solid;
|
|
&:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
& > a{
|
|
margin: 0px 0px;
|
|
color: $default-color;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
font-size: $font-size-small;
|
|
line-height: $line-height-general;
|
|
padding: 15px 0;
|
|
&:hover,
|
|
&.active{
|
|
color: $default-states-color;
|
|
}
|
|
}
|
|
}
|
|
&::after{
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
background-color: $bg-nude;
|
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
|
|
display: block;
|
|
content: "";
|
|
z-index: 1;
|
|
}
|
|
&.has-image::after{
|
|
@include black-filter(.8);
|
|
}
|
|
}
|
|
.nav-open .navbar-collapse{
|
|
@include transform-translate-x(0px);
|
|
}
|
|
.nav-open .navbar .container{
|
|
left: -230px;
|
|
}
|
|
.nav-open .wrapper{
|
|
left: 0;
|
|
@include transform-translate-x(-230px);
|
|
}
|
|
.navbar-toggle .icon-bar {
|
|
display: block;
|
|
position: relative;
|
|
background: #fff;
|
|
width: 24px;
|
|
height: 2px;
|
|
border-radius: 1px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.navbar-header .navbar-toggle {
|
|
margin-top: 12px;
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.bar1,
|
|
.bar2,
|
|
.bar3 {
|
|
outline: 1px solid transparent;
|
|
}
|
|
.bar1 {
|
|
top: 0px;
|
|
@include bar-animation($topbar-back);
|
|
}
|
|
.bar2 {
|
|
opacity: 1;
|
|
}
|
|
.bar3 {
|
|
bottom: 0px;
|
|
@include bar-animation($bottombar-back);
|
|
}
|
|
.toggled .bar1 {
|
|
top: 6px;
|
|
@include bar-animation($topbar-x);
|
|
}
|
|
.toggled .bar2 {
|
|
opacity: 0;
|
|
}
|
|
.toggled .bar3 {
|
|
bottom: 6px;
|
|
@include bar-animation($bottombar-x);
|
|
}
|
|
|
|
@include topbar-x-rotation();
|
|
@include topbar-back-rotation();
|
|
@include bottombar-x-rotation();
|
|
@include bottombar-back-rotation();
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
0% {opacity: 0;}
|
|
100% {opacity: 1;}
|
|
}
|
|
@-moz-keyframes fadeIn {
|
|
0% {opacity: 0;}
|
|
100% {opacity: 1;}
|
|
}
|
|
@keyframes fadeIn {
|
|
0% {opacity: 0;}
|
|
100% {opacity: 1;}
|
|
}
|
|
|
|
|
|
|
|
.navbar-nav {
|
|
margin: 1px -15px;
|
|
|
|
.open .dropdown-menu > li {
|
|
& > a{
|
|
padding: 15px 15px 5px 50px;
|
|
}
|
|
|
|
&:first-child > a{
|
|
padding: 5px 15px 5px 50px;
|
|
}
|
|
|
|
&:last-child > a {
|
|
padding: 15px 15px 25px 50px;
|
|
}
|
|
}
|
|
}
|
|
|
|
[class*="navbar-"] .navbar-nav {
|
|
& > li > a, > li > a:hover, > li > a:focus, .active > a, .active > a:hover, .active > a:focus, .open .dropdown-menu > li > a, .open .dropdown-menu > li > a:hover, .open .dropdown-menu > li > a:focus, .navbar-nav .open .dropdown-menu > li > a:active {
|
|
color: white;
|
|
|
|
}
|
|
|
|
& > li > a,
|
|
> li > a:hover,
|
|
> li > a:focus,
|
|
.open .dropdown-menu > li > a,
|
|
.open .dropdown-menu > li > a:hover,
|
|
.open .dropdown-menu > li > a:focus{
|
|
opacity: .7;
|
|
background: transparent;
|
|
}
|
|
|
|
&.navbar-nav .open .dropdown-menu > li > a:active {
|
|
opacity: 1;
|
|
}
|
|
|
|
& .dropdown > a{
|
|
&:hover .caret {
|
|
border-bottom-color: #777;
|
|
border-top-color: #777;
|
|
}
|
|
&:active .caret {
|
|
border-bottom-color: white;
|
|
border-top-color: white;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
display: none;
|
|
}
|
|
.navbar-fixed-top {
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
#bodyClick {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: fixed;
|
|
opacity: 0;
|
|
top: 0;
|
|
left: auto;
|
|
right: 230px;
|
|
content: "";
|
|
z-index: 9999;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.social-line .btn{
|
|
margin: $margin-bottom;
|
|
}
|
|
.subscribe-line .form-control{
|
|
margin: $margin-bottom;
|
|
}
|
|
.social-line.pull-right{
|
|
float: none;
|
|
}
|
|
.footer nav.pull-left{
|
|
float: none !important;
|
|
}
|
|
.footer:not(.footer-big) nav > ul li{
|
|
float: none;
|
|
}
|
|
.social-area.pull-right{
|
|
float: none !important;
|
|
}
|
|
.form-control + .form-control-feedback{
|
|
margin-top: -8px;
|
|
}
|
|
.navbar-toggle:hover,.navbar-toggle:focus {
|
|
background-color: transparent !important;
|
|
}
|
|
.btn.dropdown-toggle{
|
|
margin-bottom: 0;
|
|
}
|
|
.media-post .author{
|
|
width: 20%;
|
|
float: none !important;
|
|
display: block;
|
|
margin: 0 auto 10px;
|
|
}
|
|
.media-post .media-body{
|
|
width: 100%;
|
|
}
|
|
.modal-footer .btn-simple {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
|
|
//overwrite table responsive for 768px screens
|
|
|
|
@media (max-width: 768px){
|
|
.table-responsive {
|
|
width: 100%;
|
|
margin-bottom: 15px;
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
border: 1px solid #dddddd;
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
}
|