asiaH6/assets/stylesheets/template/base/_orbitbar-override.scss

210 lines
4.6 KiB
SCSS
Raw Normal View History

2021-04-19 03:11:42 +00:00
@charset "utf-8";
@import "variables";
@import "mixins";
$theme-white: #fff;
$orbit-bg-color:#098eda;
$orbit-bg-hover-color: $theme-color-main;
$orbit-border-color: #444;
body {
#orbit-bar .orbit-bar-inner > ul > li:hover > a,
#orbit-bar .orbit-bar-inner > ul > li:hover > span,
#orbit-bar .orbit-bar-inner > ul > li:hover > label,
#orbit-bar .orbit-bar-inner > ul > li > ul li:hover,
#orbit-bar .orbit-bar-inner > ul > li > ul li.active {
background: $orbit-bg-hover-color;
}
#orbit-bar .orbit-bar-inner {
background: $orbit-bg-color;
}
#orbit-bar .orbit-bar-title{
display: none;
}
#orbit-bar .orbit-bar-search-sign-language #search input[type="search"] {
margin-bottom: 0;
font-size: 0.8rem;
}
#orbit-bar #search {
border-right: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
}
@media screen and (max-width: 550px) {
body #orbit-bar .orbit-bar-search-sign-language #search input[type="search"] {
width: 140px;
}
}
@media (max-width: 540px) {
body {
#orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > a,
#orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > span {
background-color: $orbit-bg-color;
}
#orbit-bar .orbit-bar-inner > label {
border-color: $theme-white;
color: $theme-white;
}
#orbit-bar .orbit-bar-inner > ul {
background: $orbit-bg-color;
}
#orbit-bar .orbit-bar-inner > ul > li > ul li:hover,
#orbit-bar .orbit-bar-inner > ul > li > ul li.active {
background: $orbit-bg-hover-color;
}
#orbit-bar .orbit-bar-inner > ul > li > ul a {
color: $theme-white;
}
#orbit-bar .orbit-bar-inner > ul > li > ul li.divider {
background: none;
display: none;
}
#orbit-bar ul.orbit-bar-search-sign-language > li {
background: none;
}
#orbit-bar ul.orbit-bar-search-sign-language > li {
display: block;
}
#orbit-bar ul.orbit-bar-search-sign-language > li + li {
border-top: 1px solid $orbit-border-color;
border-right: 1px solid $orbit-border-color;
box-sizing: border-box;
box-shadow: none;
}
#orbit-bar ul.orbit-bar-search-sign-language > li + li:hover > ul {
background-color: $orbit-bg-color;
}
.orbit-bar-logo + ul > li {
border-bottom: 1px solid $orbit-border-color;
}
}
}
// extend orbit-bar
body {
@include orbit-bar-toggle-transition(0.15s, margin);
// margin-top: 0 !important;
}
.orbit-txt {
2021-06-28 10:23:54 +00:00
font-size: 0.75em;
2021-04-19 03:11:42 +00:00
margin-right: 5px;
text-transform: uppercase;
}
.has-orbit-bar {
.orbit-bar-toggle {
@include orbit-bar-toggle-transition(0.15s, all);
position: absolute;
top: 0;
right: 0;
cursor: pointer;
color: #fff;
padding: 8px 12px;
background-color: $theme-color-main;
&:hover {
background-color:lighten($theme-color-second,10%);
}
}
.home {
transition:.3s linear;
position: absolute;
top:0;
left:30%;
cursor: pointer;
padding: 5px 10px;
background-color:$theme-color-second;
&.menuMouseover{
left: 168px;
}
a{
color: #fff;
font-size: 1.4em;
}
span{
vertical-align: middle;
2021-06-28 10:23:54 +00:00
font-size: 0.875em;
2021-04-19 03:11:42 +00:00
}
&:hover {
background-color: #47BAB5;
}
}
.orbit-bar-inner {
display: none;
margin-top: -40px;
}
.fa-chevron-down {
color:white;
@include orbit-bar-toggle-transition(0.5s, transform);
}
.fa-chevron-up{
color: white;
}
.orbit-bar-inner {
@include orbit-bar-toggle-transition;
}
.layout-header {
@include orbit-bar-toggle-transition;
}
}
.orbit-bar--active {
margin-top: 40px !important;
// background: url(/assets/header_bg.jpg) no-repeat scroll 50% 93px #EAE5FD !important;
.orbit-bar-toggle {
top: 40px;
}
.social-share-toggle{
top: 40px;
}
.home{
top: -100px;
}
header{
margin-top: 40px ;
}
.orbit-bar-toggle-icon {
-webkit-transform: rotate(-180deg);
transform: rotate(-180deg);
-webkit-transform-origin: center 9px;
transform-origin: center 9px;
}
.orbit-bar-inner {
margin-top: 0;
}
}
// disable animation when the localstorage state is already set
.orbit-bar--no-animation {
@include orbit-bar-toggle-transition(0s, margin);
.orbit-bar-inner {
@include orbit-bar-toggle-transition(0s);
}
.layout-header {
@include orbit-bar-toggle-transition(0s);
}
}
body[data-module='home'] .home{
display: none;
}