fixed navigation issue

This commit is contained in:
Themefisher Dev 2020-01-27 09:57:24 +06:00
parent 0754fc72a3
commit 2e7e2290b9
5 changed files with 53 additions and 20 deletions

2
.gitignore vendored
View file

@ -7,4 +7,4 @@ npm-debug.log
node_modules node_modules
builds builds
package-lock.json package-lock.json
public

View file

@ -334,6 +334,12 @@ header.sticky-top {
padding: 0; padding: 0;
} }
@media (max-width: 768px) {
.navbar {
padding: 10px 0;
}
}
.navbar-brand img { .navbar-brand img {
max-width: 100px; max-width: 100px;
margin-bottom: 0; margin-bottom: 0;
@ -341,7 +347,7 @@ header.sticky-top {
.navbar .nav-item .nav-link { .navbar .nav-item .nav-link {
text-transform: uppercase; text-transform: uppercase;
padding: 18px 15px !important; padding: 10px 15px !important;
font-size: 15px; font-size: 15px;
} }
@ -356,7 +362,7 @@ header.sticky-top {
box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12); box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
padding: 15px; padding: 15px;
border: 0; border: 0;
top: 60px; top: 40px;
left: -25px; left: -25px;
border-radius: 0; border-radius: 0;
display: block; display: block;
@ -368,7 +374,7 @@ header.sticky-top {
background: var(--white-color); background: var(--white-color);
} }
@media (max-width: 991px) { @media (max-width: 768px) {
.navbar .dropdown-menu { .navbar .dropdown-menu {
display: none; display: none;
opacity: 1; opacity: 1;
@ -389,7 +395,7 @@ header.sticky-top {
transform-origin: top; transform-origin: top;
} }
@media (max-width: 991px) { @media (max-width: 768px) {
.navbar .dropdown-menu.view { .navbar .dropdown-menu.view {
display: block; display: block;
} }
@ -399,7 +405,7 @@ header.sticky-top {
visibility: hidden; visibility: hidden;
} }
@media (max-width: 991px) { @media (max-width: 768px) {
.navbar .dropdown-menu.show { .navbar .dropdown-menu.show {
visibility: visible; visibility: visible;
display: block; display: block;
@ -413,21 +419,25 @@ header.sticky-top {
font-family: var(--font-family), sans-serif; font-family: var(--font-family), sans-serif;
} }
@media (max-width: 991px) { @media (max-width: 768px) {
.navbar .dropdown-item { .navbar .dropdown-item {
text-align: center; text-align: center;
} }
} }
.navbar .dropdown-item:not(:last-child) {
margin-bottom: 10px;
}
.navbar .dropdown-item:hover { .navbar .dropdown-item:hover {
color: var(--primary-color); color: var(--primary-color);
background: transparent; background: transparent;
} }
.lang-list{
background: transparent;
color: var(--white-color);
}
.lang-list.dark{
color: var(--text-color-dark);
}
.banner p { .banner p {
font-size: 20px; font-size: 20px;
@ -905,9 +915,4 @@ code{
z-index: 1; z-index: 1;
left: -15px; left: -15px;
top: -3px; top: -3px;
}
#select-language{
background: transparent;
color: var(--white-color);
} }

View file

@ -4,4 +4,18 @@ date: 2018-12-28T11:02:05+06:00
icon: "ti-credit-card" icon: "ti-credit-card"
description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet" description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet"
type : "docs" type : "docs"
--- ---
Many businesses employ full-time pricing analysts or hire an analyst as a consultant for a particular project or concern.
Pricing analysts look at industry standards, playing close attention to the pricing strategies of their competitors.
They use mathematical analysis to track pricing trends in the marketplace using industry databases, catalogues and other industry sources. They study consumer habits to determine how much people are willing to pay for various products, and to look for patterns in consumer spending.
They are also interested in the cost of production of various items, the amount of profit a company wants to make, and associated costs like marketing.
They may be involved with the packaging and presentation of products, which can influence how much people are willing to pay, and they provide advice during the research and development phase to help create the most income for the company.
They work with a variety of departments, including sales, product management, marketing and accounting, to ensure that their methods comply with company strategy and maximise profitability.
Other duties that are included under a pricing analyst's job title include maintaining price lists, contributing content for sales proposals, reviewing price quotes, generating pricing reports on sales revenue and preparing revenue forecasts and budgets for project managers.

View file

@ -4,4 +4,18 @@ date: 2018-12-28T11:02:05+06:00
icon: "ti-credit-card" icon: "ti-credit-card"
description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet" description: "Lorem ipsum dolor sit amet ipsum dolor sit amet ipsum dolor sit amet"
type : "docs" type : "docs"
--- ---
Many businesses employ full-time pricing analysts or hire an analyst as a consultant for a particular project or concern.
Pricing analysts look at industry standards, playing close attention to the pricing strategies of their competitors.
They use mathematical analysis to track pricing trends in the marketplace using industry databases, catalogues and other industry sources. They study consumer habits to determine how much people are willing to pay for various products, and to look for patterns in consumer spending.
They are also interested in the cost of production of various items, the amount of profit a company wants to make, and associated costs like marketing.
They may be involved with the packaging and presentation of products, which can influence how much people are willing to pay, and they provide advice during the research and development phase to help create the most income for the company.
They work with a variety of departments, including sales, product management, marketing and accounting, to ensure that their methods comply with company strategy and maximise profitability.
Other duties that are included under a pricing analyst's job title include maintaining price lists, contributing content for sales proposals, reviewing price quotes, generating pricing reports on sales revenue and preparing revenue forecasts and budgets for project managers.

View file

@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-md navbar-dark"> <nav class="navbar navbar-expand-md {{ if .IsHome }}navbar-dark{{ else }}navbar-light{{ end }}">
<a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}"> <a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}">
{{ $logo:= .Site.Params.logo }} {{ $logo:= .Site.Params.logo }}
{{ $logoWhite:= .Site.Params.logo_white }} {{ $logoWhite:= .Site.Params.logo_white }}
@ -44,7 +44,7 @@
</ul> </ul>
<!-- Language List --> <!-- Language List -->
{{- if .Site.IsMultiLingual }} {{- if .Site.IsMultiLingual }}
<select id="select-language" onchange="location = this.value;"> <select class="lang-list {{ if not .IsHome }}dark{{ end }}" id="select-language" onchange="location = this.value;">
{{ $siteLanguages := .Site.Languages}} {{ $siteLanguages := .Site.Languages}}
{{ $pageLang := .Page.Lang}} {{ $pageLang := .Page.Lang}}
{{ range .Page.AllTranslations }} {{ range .Page.AllTranslations }}