rulingcom/assets/stylesheets/template/layout/header.scss

584 lines
12 KiB
SCSS
Raw Normal View History

2021-08-30 10:09:12 +00:00
@charset "utf-8";
@import "../initial";
.dropdowns{
z-index: 1;
}
.kenjohn{
@media (min-width: 769px) {
display: none;
}
position: absolute;
width: 100%;
}
2021-10-21 14:19:15 +00:00
.navFixed .header-nav, .navRel .header-nav {
color: #000;
}
2021-08-30 10:09:12 +00:00
.header-nav {
text-align: center;
z-index: 1;
2023-04-09 06:25:48 +00:00
padding: 1em 0.5em 0!important;
2021-10-13 13:01:12 +00:00
color: #fff;
2021-08-30 10:09:12 +00:00
font-family: $main-font;
text-transform:uppercase;
@media (min-width: 769px) {
display: none!important;
}
@media (min-width: $screen-sm){
display: flex;
justify-content: center;
}
& > * {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.8em;
color: $theme-color-main;
}
a {
color: #fff;
text-decoration: none;
padding: 5px;
@media (min-width: $screen-sm){
text-shadow: 1px 1px 1px #0000008c;
}
}
}
2021-10-13 06:42:03 +00:00
a#content{
color: inherit !important;
position: relative;
margin: 0;
z-index: 1000;
}
.layout-content-inner.container{
2021-11-15 09:45:30 +00:00
margin-top: -25px;
2021-10-13 06:42:03 +00:00
}
2021-08-30 10:09:12 +00:00
.layout-header .header-banner{
.w-ba-banner{
.ad-overlay{
.kennav{
a{
padding: 0.5em;
}
@media(max-width: $screen-sm){
display: none;
}
a{
&:hover{
text-decoration: underline;
color: #fff!important;
}
}
}
.kenmenu{
display: flex;
width: 100%;
justify-content: center;
.navbar-nav>li{
padding: 0.5em;
margin: 0.5em;
2023-04-09 06:25:48 +00:00
border: 2px solid #fff;
color: #fff;
padding: calc(0.7777777778em - 2px) calc(2.5em - 2px);
align-items: center;
border-radius: 4px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
&:nth-child(3){
background: #c49951;
border: 2px solid #c49951;
2021-08-30 10:09:12 +00:00
}
2023-04-09 06:25:48 +00:00
a{
color: #fff;
text-shadow: 0px 0px 8px #00000070;
font-size: 1.2em;
2021-08-30 10:09:12 +00:00
2023-04-09 06:25:48 +00:00
}
&:hover{
background: #ffffffe6;
border-color: #f2f2f2;
color: #64696b;
a{
color: #64696b;
text-shadow: none;
text-decoration: none;
2021-08-30 10:09:12 +00:00
}
}
}
@media(max-width: $screen-sm){
display: none;
}
span{
&:hover{
2023-04-09 06:25:48 +00:00
color: #c49951!important;
2021-08-30 10:09:12 +00:00
}
}
}
}
2021-10-12 12:38:16 +00:00
&,& .jp-jplayer{
2021-08-30 10:09:12 +00:00
@media(min-width:1801px){
.ad-overlay{
2023-04-09 06:25:48 +00:00
bottom: 6%;
2021-08-30 10:09:12 +00:00
position: absolute;
}
}
@media screen and (min-width:1451px) and (max-width:1800px){
.ad-overlay{
2023-04-09 06:25:48 +00:00
bottom: 6%;
2021-08-30 10:09:12 +00:00
position: absolute;
}
}
@media screen and (min-width:1281px) and (max-width:1450px){
.ad-overlay{
2023-04-09 06:25:48 +00:00
bottom: 6%;
2021-08-30 10:09:12 +00:00
position: absolute;
}
}
@media screen and (min-width:1026px) and (max-width:1280px){
.ad-overlay{
2023-04-09 06:25:48 +00:00
bottom: 6%;
2021-08-30 10:09:12 +00:00
position: absolute;
}
}
2023-04-09 06:25:48 +00:00
@media screen and (min-width:$screen-xs) and (max-width:1025px){
2021-08-30 10:09:12 +00:00
.ad-overlay{
2023-04-09 06:25:48 +00:00
bottom: 40%;
2021-08-30 10:09:12 +00:00
position: absolute;
}
}
@media(max-width: $screen-xs){
.ad-overlay{
top: 17%;
position: absolute;
}
}
2022-01-03 04:04:17 +00:00
@media screen and (min-width: 769px){
2023-04-09 06:25:48 +00:00
height: 65vh!important;
}
@media screen and(min-width:$screen-xs) and (max-width:768px){
height: 1000px!important;
.w-ad-banner__image{
height: 1000px!important;
max-width: unset;
width: auto;
}
2022-01-03 04:04:17 +00:00
}
2023-04-09 06:25:48 +00:00
@media screen and (max-width: $screen-xs){
height: 680px!important;
.w-ad-banner__image{
height: 680px!important;
max-width: unset;
width: auto;
}
}
2021-10-12 12:38:16 +00:00
}
2021-08-30 10:09:12 +00:00
}
.jp-jplayer{
position: fixed;
}
.jp-video.hide-ui [id^="jp_video_"]{
cursor: context-menu;
}
.jp-video, .jp-video > div, .jp-video img{
@media(max-width: $screen-xs){
2021-10-13 08:56:05 +00:00
height: 760px!important;
2021-08-30 10:09:12 +00:00
}
}
.jplayer_slide{
@media(max-width: $screen-xs){
2021-10-13 08:56:05 +00:00
height: 760px!important;
2021-08-30 10:09:12 +00:00
}
}
[id^="jp_video_"]{
2021-08-30 11:11:52 +00:00
height: auto !important;
2021-08-30 11:07:52 +00:00
width: auto !important;
2021-08-31 05:04:00 +00:00
min-height: 100%;
min-width: 100%;
max-width: none !important;
2021-08-30 10:09:12 +00:00
}
.ad-overlay{
background: none;
visibility: visible!important;
text-align: center!important;
}
}
.layout-header {
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
border-bottom: 1px solid #e8e8e8;
color: #fff;
height: auto;
.button-mid{
display: none;
}
2023-04-09 06:25:48 +00:00
input[type=search]{
-webkit-appearance: none;
border-radius: 20px;
height: 40px;
border: none;
padding: 1em;
color: #333;
}
.icon{
background: #c49951;
border-radius: 50%;
height: 40px;
left: 163px;
top: 2px;
transition-delay: .3s;
width: 40px;
border: none;
padding: 10px;
&:hover{
background: #9d7528;
}
}
2021-08-30 10:09:12 +00:00
.container {
@extend .response-container;
}
.header-banner { overflow: hidden; }
.jp-audio, .jp-audio-stream, .jp-video{
border: 0px;
}
.navbar-header {
padding: 0;
margin: 0;
height: 75px;
@media (min-width: 769px){
display: none!important;
}
@media (max-width: 768px) {
position:relative!important;
}
@media (min-width: $screen-sm) {
height: 150px;
margin:0;
padding: 0;
line-height: 3.75em;
font-size: 1em;
display: flex;
}
.navbar-brand {
margin: 0;
padding-bottom: 0;
line-height: 2.125em;
color: $theme-color-main;
font-size: 0.6em;
font-family: $main-font;
@media (max-width: $screen-sm) {
height: 5em;
display: none;
}
@media (max-width: 480px) {
margin: 0;
}
.default_site_h1{
width:100%!important;
}
.site-logo{
width:100%!important;
}
@media(min-width:1900px){
width: 225px;
2023-04-09 06:25:48 +00:00
margin-top: 10px;
2021-08-30 10:09:12 +00:00
}
@media screen and (min-width:1025px) and (max-width:1899px){
width: 181px;
2023-04-09 06:25:48 +00:00
margin-top: 10px;
2021-08-30 10:09:12 +00:00
}
@media screen and (min-width:769px) and (max-width:1025px){
2023-04-09 06:25:48 +00:00
width: 250px !important;
margin-top: 23px;
2021-08-30 10:09:12 +00:00
}
@media screen and (min-width:$screen-xs) and (max-width:769px){
2023-04-09 06:25:48 +00:00
width: 200px !important;
margin-top: 10px;
2021-08-30 10:09:12 +00:00
}
@media screen and (max-width:$screen-xs){
2023-04-09 06:25:48 +00:00
width: 200px !important;
margin-top: 10px;
2021-08-30 10:09:12 +00:00
}
}
.navbar-brand:nth-child(2){
@media(min-width:1900px){
width: 330px!important;
margin-top: -14px;
}
@media screen and (min-width:1025px) and (max-width:1899px){
width: 261px!important;
margin-top: -5px;
}
@media screen and (min-width:769px) and (max-width:1025px){
width: 200px!important;
}
@media screen and (min-width:$screen-xs) and (max-width:769px){
width: 200px!important;
}
@media screen and (max-width:$screen-xs){
width: 150px !important;
}
}
}
}
.navbar-toggle {
padding: 0.875em 0.625em;
margin-top: 1em;
// border-radius: 0.125em;
// border-width: 0.125em;
// border-color: lighten($theme-color-main, 30%);
.icon-bar {
background-color: #fff;
}
&.collapsed {
.icon-bar-top {
top: 0;
-webkit-transform: rotate(0);
transform: rotate(0);
}
.icon-bar-middle {
opacity: 1;
}
.icon-bar-bottom {
top: 0;
-webkit-transform: rotate(0);
transform: rotate(0);
}
}
// icon bar animation
.icon-bar {
transition: .2s all;
position: relative;
}
.icon-bar-top {
top: 0.375em;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.icon-bar-middle {
opacity: 0;
}
.icon-bar-bottom {
top: -0.375em;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
}
.outdropdowns{
width:100%;
}
.navFixed{
position: fixed!important;
2023-04-09 06:25:48 +00:00
top:0;
.btn-search{
color: #333333;
}
2021-08-30 10:09:12 +00:00
}
.internal-page .kenjohn.navRel,.navRel {
position: relative!important;
top: 0;
}
.navFixed,.navRel {
flex-wrap:wrap-reverse;
display: flex;
.navbar-header{
display: flex!important;
}
.header-nav{
@media(min-width: 480px){
display: flex!important;
}
}
.layout-header .header-nav a{
text-shadow: none;
}
z-index: 10;
left: 0;
2023-04-09 06:25:48 +00:00
-webkit-backdrop-filter: saturate(180%) blur(20px);
backdrop-filter: saturate(180%) blur(20px);
background-color: #ffffffe6;
2021-08-30 10:09:12 +00:00
margin-top: 0;
min-width: 100%;
transition: opacity .5s ease-out;
.collapse{
flex: 0 0 62%;
@media screen and (min-width:1025px) and (max-width:1599px){
flex: 0 0 65%;
}
@media(min-width: 1900px){
flex: 0 0 65%;
}
}
@media(min-width: 769px){
.dropdowns{
display: flex;
flex-direction: row-reverse;
}
}
.navbar-header{
@media screen and (min-width:769px) {
2023-04-09 06:25:48 +00:00
height: 80px;
margin-bottom: 0;
2021-08-30 10:09:12 +00:00
width: 35%;
justify-content: center;
}
@media (min-width: 1900px){
height: 90px;
}
}
@media screen and (max-width:768px) {
.navbar-header{
height: 75px;
margin-bottom: 1em;
width: 100%;
}
}
.modules-menu .modules-menu-level-0 > li > a{
color: #333;
text-shadow: none;
}
.header-nav{
2023-04-09 06:25:48 +00:00
background:#e2e2e2;
padding:0.5em!important;
margin: 0;
width: 100%;
2021-08-30 10:09:12 +00:00
}
.header-nav a{
text-shadow:none;
color: #333333;
}
.navbar-toggle .icon-bar{
background-color: #333;
}
.modules-menu .modules-menu-level-0 > li:hover .modules-menu-level-1{
@media (min-width: $screen-sm){
visibility: visible;
2021-10-13 09:31:58 +00:00
max-height: 65%;
2021-12-07 06:05:43 +00:00
verflow-y: scroll;
border-radius: 0.5em;
2023-04-09 06:25:48 +00:00
opacity: 1;
2021-12-07 06:05:43 +00:00
padding:1em 5% 3em;
2021-08-30 10:09:12 +00:00
transition-duration: opacity 0.3s cubic-bezier(0.48, 0.01, 0.5, 0.99),visibility 0.1s linear;
2021-12-07 06:05:43 +00:00
&::-webkit-scrollbar {
display: none;
}
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
2021-08-30 10:09:12 +00:00
}
}
.navbar-header .navbar-brand{
@media(max-width: 769px){
display: block!important;
}
}
.navbar-toggle{
position: absolute;
right: 0;
}
}
@media (width: 768px) {
.navbar-toggle{
display: block!important;
}
}
.header-nav{
}
.outdropdowns{
}
.nav-menu{
display:flex!important;
float: right;
li{
padding: 1em 0;
&:hover{
background-color: #C40516;
a{
color: #FFFFFF;
}
}
}
}
.nav{
font-family: "Industry_Demi", Sans-serif;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
padding: 1em 0;
&:hover{
background-color: #e4002b;
color: #fff;
}
}
.navone ::before{
content: '';
position: absolute;
background: url("/assets/account-icon.png") no-repeat;
width: 23px;
height: 23px;
left: -10px;
top: 10px;
display: inline-block;
left: 5px;
}
2023-04-09 06:25:48 +00:00
.btn-search{
&:hover{
.searchbox{
display: block;
}
}
}
.btn-search{
padding-right: 0.5em;
float: right;
padding-top: 5px;
padding-left: 5px;
color: #fff;
@media(max-width:$screen-xs){
float:left;
margin-left: 1em;
.searchbox{
margin-top: 2em;
margin-left: 1em;
}
}
}
.searchbox{
display: none;
position: absolute;
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: #fff;
opacity: 1; /* Firefox */
}
input[type=search]{
background: #4e4e4e66;
}
}