ajout admin panel
@@ -0,0 +1,116 @@
|
||||
<Files ~ "\.php$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.phtml$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php3$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php6$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.phps$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.cgi$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.exe$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.pl$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.asp$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.shtml$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.fcgi$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.fpl$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.jsp$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.wml$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
|
||||
<Files ~ "\.inc$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.ini$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.conf$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.bin$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.sh$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.tpl$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php5$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php4$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php.gif$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php.jpg$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php.png$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php;gif$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<Files ~ "\.php;jpg$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
<files ".htaccess">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</files>
|
||||
#php_flag engine 0
|
||||
RemoveHandler .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml
|
||||
AddType application/x-httpd-php-source .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml
|
||||
@@ -0,0 +1,331 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 The Bootstrap Authors
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
-ms-overflow-style: scrollbar;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
@-ms-viewport {
|
||||
width: device-width;
|
||||
}
|
||||
|
||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
[tabindex="-1"]:focus {
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-original-title] {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
-webkit-text-decoration-skip: objects;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: 1px dotted;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
button,
|
||||
html [type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
-webkit-appearance: listbox;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type="search"] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[type="search"]::-webkit-search-cancel-button,
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
@@ -0,0 +1,8 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 The Bootstrap Authors
|
||||
* Copyright 2011-2018 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
||||
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
@@ -0,0 +1,525 @@
|
||||
@font-face {
|
||||
font-family: 'OpenSansWeb';
|
||||
src: url('../fonts/OpenSans-Regular.woff2') format('woff2'), url('../fonts/OpenSans-Regular.woff') format('woff');
|
||||
}
|
||||
|
||||
*, body {
|
||||
font-family: OpenSansWeb;
|
||||
}
|
||||
|
||||
html {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.main-box {
|
||||
width: 100%;
|
||||
margin: 20px auto;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.box-form {
|
||||
max-width: 80%;
|
||||
margin: 10px auto 10px auto;
|
||||
padding: 25px;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.login-form img {
|
||||
max-width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
margin: 5px 0px 10px 0px;
|
||||
}
|
||||
|
||||
.input-group span {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#myCarousel {
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #008BBA;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav ul.nav > li > a {
|
||||
color: #0CF;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav {
|
||||
background-color: transparent;
|
||||
border-bottom: none;
|
||||
background: url(../images/headerbar_bg.png) no-repeat center 38px, url(../images/headerbar_bg2.png) no-repeat right 38px;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav:before, nav.navbar.bootsnav:after {
|
||||
background-image: url(../images/headerbar_bg.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
}
|
||||
|
||||
.box1 {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.content1 {
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td, th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.modal-backdrop {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#pills-topplayers button {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
body {
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
color: #6f6f6f;
|
||||
}
|
||||
|
||||
#myVideo {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
Navbar Adjusment
|
||||
=========================== */
|
||||
/* Navbar Atribute ------*/
|
||||
.attr-nav > ul > li > a {
|
||||
padding: 28px 15px;
|
||||
}
|
||||
|
||||
ul.cart-list > li.total > .btn {
|
||||
border-bottom: solid 1px #cfcfcf !important;
|
||||
color: #fff !important;
|
||||
padding: 10px 15px;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
/* Navbar General ------*/
|
||||
nav.navbar ul.nav > li > a {
|
||||
padding: 30px 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
nav.navbar .navbar-brand {
|
||||
margin-top: -50px;
|
||||
}
|
||||
|
||||
nav.navbar .navbar-brand img.logo {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
nav.navbar li.dropdown ul.dropdown-menu {
|
||||
border-top: solid 5px;
|
||||
}
|
||||
|
||||
/* Navbar Center ------*/
|
||||
nav.navbar-center .navbar-brand {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* Navbar Brand Top ------*/
|
||||
nav.navbar-brand-top .navbar-brand {
|
||||
margin: 10px !important;
|
||||
}
|
||||
|
||||
/* Navbar Full ------*/
|
||||
nav.navbar-full .navbar-brand {
|
||||
position: relative;
|
||||
top: -15px;
|
||||
}
|
||||
|
||||
/* Navbar Sidebar ------*/
|
||||
nav.navbar-sidebar ul.nav,
|
||||
nav.navbar-sidebar .navbar-brand {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
nav.navbar-sidebar ul.nav > li > a {
|
||||
padding: 10px 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Navbar Transparent & Fixed ------*/
|
||||
nav.navbar.bootsnav.navbar-transparent.white {
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
border-bottom: solid 1px #bbb;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.bootsnav.navbar-transparent.dark,
|
||||
nav.navbar.bootsnav.navbar-transparent.dark {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-bottom: solid 1px #555;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav.navbar-transparent.white .attr-nav {
|
||||
border-left: solid 1px #bbb;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.bootsnav.navbar-transparent.dark .attr-nav,
|
||||
nav.navbar.bootsnav.navbar-transparent.dark .attr-nav {
|
||||
border-left: solid 1px #555;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav.no-background.white .attr-nav > ul > li > a,
|
||||
nav.navbar.bootsnav.navbar-transparent.white .attr-nav > ul > li > a,
|
||||
nav.navbar.bootsnav.navbar-transparent.white ul.nav > li > a,
|
||||
nav.navbar.bootsnav.no-background.white ul.nav > li > a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav.navbar-transparent.dark .attr-nav > ul > li > a,
|
||||
nav.navbar.bootsnav.navbar-transparent.dark ul.nav > li > a {
|
||||
color: #eee;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
/* Navbar General ------*/
|
||||
nav.navbar .navbar-brand {
|
||||
margin-top: 0;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
nav.navbar.bootsnav {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
nav.navbar .navbar-brand img.logo {
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.attr-nav > ul > li > a {
|
||||
padding: 16px 15px 15px;
|
||||
}
|
||||
|
||||
/* Navbar Mobile slide ------*/
|
||||
nav.navbar.navbar-mobile ul.nav > li > a {
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-mobile ul.nav ul.dropdown-menu > li > a {
|
||||
padding-right: 15px !important;
|
||||
padding-top: 15px !important;
|
||||
padding-bottom: 15px !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-mobile ul.nav ul.dropdown-menu .col-menu .title {
|
||||
padding-right: 30px !important;
|
||||
padding-top: 13px !important;
|
||||
padding-bottom: 13px !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-mobile ul.nav ul.dropdown-menu .col-menu ul.menu-col li a {
|
||||
padding-top: 13px !important;
|
||||
padding-bottom: 13px !important;
|
||||
}
|
||||
|
||||
/* Navbar Full ------*/
|
||||
nav.navbar-full .navbar-brand {
|
||||
top: 0;
|
||||
padding-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Navbar Inverse
|
||||
=================================*/
|
||||
nav.navbar.navbar-inverse {
|
||||
background-color: #222;
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.cart-list > li.total > .btn {
|
||||
border-bottom: solid 1px #222 !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.cart-list > li.total .pull-right {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.megamenu ul.dropdown-menu.megamenu-content .content ul.menu-col li a,
|
||||
nav.navbar.navbar-inverse ul.nav > li > a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.nav > li.dropdown > a {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse li.dropdown ul.dropdown-menu > li > a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h1,
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h2,
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h3,
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h4,
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h5,
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu h6 {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .form-control {
|
||||
background-color: #333;
|
||||
border-color: #303030;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .attr-nav > ul > li > a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .attr-nav > ul > li.dropdown ul.dropdown-menu {
|
||||
background-color: #222;
|
||||
border-left: solid 1px #303030;
|
||||
border-bottom: solid 1px #303030;
|
||||
border-right: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.cart-list > li {
|
||||
border-bottom: solid 1px #303030;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.cart-list > li img {
|
||||
border: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.cart-list > li.total {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .share ul > li > a {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu {
|
||||
border-right: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu > ul > li > a {
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-content {
|
||||
border-left: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu > ul > li > a:hover,
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu > ul > li > a:focus,
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu > ul > li.active > a {
|
||||
background-color: #333 !important;
|
||||
}
|
||||
|
||||
nav.navbar-inverse.navbar-full ul.nav > li > a {
|
||||
border: none;
|
||||
}
|
||||
|
||||
nav.navbar-inverse.navbar-full .navbar-collapse .wrap-full-menu {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
nav.navbar-inverse.navbar-full .navbar-toggle {
|
||||
background-color: #222 !important;
|
||||
color: #6f6f6f;
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
nav.navbar.navbar-inverse ul.nav .dropdown-menu {
|
||||
background-color: #222 !important;
|
||||
border-left: solid 1px #303030 !important;
|
||||
border-bottom: solid 1px #303030 !important;
|
||||
border-right: solid 1px #303030 !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse li.dropdown ul.dropdown-menu > li > a {
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.dropdown-menu.megamenu-content .col-menu {
|
||||
border-left: solid 1px #303030;
|
||||
border-right: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.navbar-transparent.dark {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-bottom: solid 1px #999;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.navbar-transparent.dark .attr-nav {
|
||||
border-left: solid 1px #999;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.no-background.white .attr-nav > ul > li > a,
|
||||
nav.navbar.navbar-inverse.navbar-transparent.dark .attr-nav > ul > li > a,
|
||||
nav.navbar.navbar-inverse.navbar-transparent.dark ul.nav > li > a,
|
||||
nav.navbar.navbar-inverse.no-background.white ul.nav > li > a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.no-background.dark .attr-nav > ul > li > a,
|
||||
nav.navbar.navbar-inverse.no-background.dark .attr-nav > ul > li > a,
|
||||
nav.navbar.navbar-inverse.no-background.dark ul.nav > li > a,
|
||||
nav.navbar.navbar-inverse.no-background.dark ul.nav > li > a {
|
||||
color: #3f3f3f;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
nav.navbar.navbar-inverse .navbar-toggle {
|
||||
color: #eee;
|
||||
background-color: #222 !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .navbar-nav > li > a {
|
||||
border-top: solid 1px #303030;
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse ul.nav li.dropdown ul.dropdown-menu > li > a {
|
||||
color: #999;
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown .megamenu-content .col-menu .title {
|
||||
border-bottom: solid 1px #303030;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown .megamenu-content .col-menu ul > li > a {
|
||||
border-bottom: solid 1px #303030;
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown .megamenu-content .col-menu.on:last-child .title {
|
||||
border-bottom: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse .dropdown-tabs .tab-menu > ul {
|
||||
border-top: solid 1px #303030;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-inverse.navbar-mobile .navbar-collapse {
|
||||
background-color: #222;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
nav.navbar.navbar-inverse.navbar-mobile ul.nav {
|
||||
border-top: solid 1px #222;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Color
|
||||
=========================== */
|
||||
nav.navbar.bootsnav ul.dropdown-menu.megamenu-content .content ul.menu-col li a:hover,
|
||||
.side .widget ul.link li a:hover,
|
||||
.side .widget ul.link li a:focus,
|
||||
.check-list li:before,
|
||||
ul.cart-list > li > h6 > a,
|
||||
.attr-nav > ul > li > a:hover,
|
||||
.attr-nav > ul > li > a:focus,
|
||||
nav.navbar-sidebar ul.nav li.dropdown.on > a,
|
||||
nav.navbar-sidebar .dropdown .megamenu-content .col-menu.on .title,
|
||||
nav.navbar-sidebar ul.nav li.dropdown ul.dropdown-menu li a:hover,
|
||||
nav.navbar ul.nav li.dropdown.on > a,
|
||||
nav.navbar.navbar-inverse ul.nav li.dropdown.on > a,
|
||||
nav.navbar-sidebar ul.nav li.dropdown.on ul.dropdown-menu li.dropdown.on > a,
|
||||
nav.navbar .dropdown .megamenu-content .col-menu.on .title,
|
||||
nav.navbar ul.nav > li > a:hover,
|
||||
nav.navbar ul.nav > li.active > a:hover,
|
||||
nav.navbar ul.nav li.active > a,
|
||||
nav.navbar li.dropdown ul.dropdown-menu > li a:hover {
|
||||
color: #FFFFFF;
|
||||
text-shadow: 0px 0px 5px #0CF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav.navbar.navbar-transparent ul.nav > li > a:hover,
|
||||
nav.navbar.no-background ul.nav > li > a:hover,
|
||||
nav.navbar ul.nav li.scroll.active > a,
|
||||
nav.navbar.navbar-dark ul.nav li.dropdown ul.dropdown-menu > li > a:hover,
|
||||
nav.navbar ul.nav li.dropdown.on > a,
|
||||
nav.navbar-dark ul.nav li.dropdown.on > a {
|
||||
color: #FFFFFF;
|
||||
text-shadow: 0px 0px 5px #0CF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (max-width: 920px) {
|
||||
nav.navbar .dropdown .megamenu-content .col-menu ul > li > a:hover,
|
||||
nav.navbar.navbar-dark .dropdown .megamenu-content .col-menu .title:hover {
|
||||
color: #f43438 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Border
|
||||
=========================== */
|
||||
ul.cart-list > li.total > .btn {
|
||||
border-color: #f43438;
|
||||
}
|
||||
|
||||
nav.navbar li.dropdown ul.dropdown-menu {
|
||||
border-top-color: #f43438 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
Background
|
||||
=========================== */
|
||||
ul.cart-list > li.total > .btn,
|
||||
.attr-nav > ul > li > a span.badge,
|
||||
nav.navbar .share ul > li > a:hover,
|
||||
nav.navbar .share ul > li > a:focus {
|
||||
background-color: #f43438;
|
||||
}
|
||||
|
||||
ul.cart-list > li.total > .btn:hover,
|
||||
ul.cart-list > li.total > .btn:focus {
|
||||
background-color: #dc3236 !important;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
|
After Width: | Height: | Size: 336 B |
|
After Width: | Height: | Size: 870 B |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 813 B |
|
After Width: | Height: | Size: 370 B |
|
After Width: | Height: | Size: 301 B |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 355 B |
|
After Width: | Height: | Size: 342 B |
|
After Width: | Height: | Size: 372 B |
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 350 B |
|
After Width: | Height: | Size: 768 B |
|
After Width: | Height: | Size: 524 B |
|
After Width: | Height: | Size: 767 B |
|
After Width: | Height: | Size: 518 B |
|
After Width: | Height: | Size: 767 B |
|
After Width: | Height: | Size: 739 B |
|
After Width: | Height: | Size: 766 B |
|
After Width: | Height: | Size: 517 B |
|
After Width: | Height: | Size: 758 B |
|
After Width: | Height: | Size: 347 B |
|
After Width: | Height: | Size: 752 B |
|
After Width: | Height: | Size: 325 B |
|
After Width: | Height: | Size: 769 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 835 B |
|
After Width: | Height: | Size: 817 B |
|
After Width: | Height: | Size: 835 B |
|
After Width: | Height: | Size: 817 B |
|
After Width: | Height: | Size: 835 B |
|
After Width: | Height: | Size: 817 B |
|
After Width: | Height: | Size: 831 B |
|
After Width: | Height: | Size: 844 B |
|
After Width: | Height: | Size: 742 B |
|
After Width: | Height: | Size: 748 B |
|
After Width: | Height: | Size: 860 B |
|
After Width: | Height: | Size: 812 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 350 B |
|
After Width: | Height: | Size: 749 B |
|
After Width: | Height: | Size: 330 B |
|
After Width: | Height: | Size: 842 B |
|
After Width: | Height: | Size: 841 B |
|
After Width: | Height: | Size: 786 B |
|
After Width: | Height: | Size: 808 B |
|
After Width: | Height: | Size: 793 B |
|
After Width: | Height: | Size: 785 B |
|
After Width: | Height: | Size: 760 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 767 B |
|
After Width: | Height: | Size: 371 B |
|
After Width: | Height: | Size: 764 B |
|
After Width: | Height: | Size: 365 B |
|
After Width: | Height: | Size: 758 B |
|
After Width: | Height: | Size: 362 B |
|
After Width: | Height: | Size: 762 B |
|
After Width: | Height: | Size: 378 B |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 352 B |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 373 B |
|
After Width: | Height: | Size: 750 B |
|
After Width: | Height: | Size: 346 B |
|
After Width: | Height: | Size: 757 B |
|
After Width: | Height: | Size: 360 B |
|
After Width: | Height: | Size: 761 B |
|
After Width: | Height: | Size: 373 B |
|
After Width: | Height: | Size: 819 B |
|
After Width: | Height: | Size: 779 B |
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 172 KiB |
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||
@@ -0,0 +1,598 @@
|
||||
// ------------------------------------------------------------------------------ //
|
||||
//
|
||||
// Template name : Bootsnav - Multi Purpose Header
|
||||
// Categorie : Bootstrap Menu in CSS
|
||||
// Author : adamnurdin01
|
||||
// Version : v.1.2
|
||||
// Created : 2016-06-02
|
||||
// Last update : 2016-10-19
|
||||
//
|
||||
// ------------------------------------------------------------------------------ //
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
var bootsnav = {
|
||||
initialize: function() {
|
||||
this.event();
|
||||
this.hoverDropdown();
|
||||
this.navbarSticky();
|
||||
this.navbarScrollspy();
|
||||
},
|
||||
event : function(){
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Variable
|
||||
// ------------------------------------------------------------------------------ //
|
||||
var getNav = $("nav.navbar.bootsnav");
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Sticky
|
||||
// ------------------------------------------------------------------------------ //
|
||||
var navSticky = getNav.hasClass("navbar-sticky");
|
||||
if( navSticky ){
|
||||
// Wraped navigation
|
||||
getNav.wrap("<div class='wrap-sticky'></div>");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Center
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("brand-center")){
|
||||
var postsArr = new Array(),
|
||||
index = $("nav.brand-center"),
|
||||
$postsList = index.find('ul.navbar-nav');
|
||||
|
||||
index.prepend("<span class='storage-name' style='display:none;'></span>");
|
||||
|
||||
//Create array of all posts in lists
|
||||
index.find('ul.navbar-nav > li').each(function(){
|
||||
if( $(this).hasClass("active") ){
|
||||
var getElement = $("a", this).eq(0).text();
|
||||
$(".storage-name").html(getElement);
|
||||
}
|
||||
postsArr.push($(this).html());
|
||||
});
|
||||
|
||||
//Split the array at this point. The original array is altered.
|
||||
var firstList = postsArr.splice(0, Math.round(postsArr.length / 2)),
|
||||
secondList = postsArr,
|
||||
ListHTML = '';
|
||||
|
||||
var createHTML = function(list){
|
||||
ListHTML = '';
|
||||
for (var i = 0; i < list.length; i++) {
|
||||
ListHTML += '<li>' + list[i] + '</li>'
|
||||
}
|
||||
}
|
||||
|
||||
//Generate HTML for first list
|
||||
createHTML(firstList);
|
||||
$postsList.html(ListHTML);
|
||||
index.find("ul.nav").first().addClass("navbar-left");
|
||||
|
||||
//Generate HTML for second list
|
||||
createHTML(secondList);
|
||||
//Create new list after original one
|
||||
$postsList.after('<ul class="nav navbar-nav"></ul>').next().html(ListHTML);
|
||||
index.find("ul.nav").last().addClass("navbar-right");
|
||||
|
||||
//Wrap navigation menu
|
||||
index.find("ul.nav.navbar-left").wrap("<div class='col-half left'></div>");
|
||||
index.find("ul.nav.navbar-right").wrap("<div class='col-half right'></div>");
|
||||
|
||||
//Selection Class
|
||||
index.find('ul.navbar-nav > li').each(function(){
|
||||
var dropDown = $("ul.dropdown-menu", this),
|
||||
megaMenu = $("ul.megamenu-content", this);
|
||||
dropDown.closest("li").addClass("dropdown");
|
||||
megaMenu.closest("li").addClass("megamenu-fw");
|
||||
});
|
||||
|
||||
var getName = $(".storage-name").html();
|
||||
if( !getName == "" ){
|
||||
$( "ul.navbar-nav > li:contains('" + getName + "')" ).addClass("active");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Sidebar
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("navbar-sidebar")){
|
||||
// Add Class to body
|
||||
$("body").addClass("wrap-nav-sidebar");
|
||||
getNav.wrapInner("<div class='scroller'></div>");
|
||||
}else{
|
||||
$(".bootsnav").addClass("on");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Menu Center
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.find("ul.nav").hasClass("navbar-center")){
|
||||
getNav.addClass("menu-center");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Full
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("navbar-full")){
|
||||
// Add Class to body
|
||||
$("nav.navbar.bootsnav").find("ul.nav").wrap("<div class='wrap-full-menu'></div>");
|
||||
$(".wrap-full-menu").wrap("<div class='nav-full'></div>");
|
||||
$("ul.nav.navbar-nav").prepend("<li class='close-full-menu'><a href='#'><i class='fa fa-times'></i></a></li>");
|
||||
}else if( getNav.hasClass("navbar-mobile")){
|
||||
getNav.removeClass("no-full");
|
||||
}else{
|
||||
getNav.addClass("no-full");
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Mobile
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("navbar-mobile")){
|
||||
// Add Class to body
|
||||
$('.navbar-collapse').on('shown.bs.collapse', function() {
|
||||
$("body").addClass("side-right");
|
||||
});
|
||||
$('.navbar-collapse').on('hide.bs.collapse', function() {
|
||||
$("body").removeClass("side-right");
|
||||
});
|
||||
|
||||
$(window).on("resize", function(){
|
||||
$("body").removeClass("side-right");
|
||||
});
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Fixed
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("no-background")){
|
||||
$(window).on("scroll", function(){
|
||||
var scrollTop = $(window).scrollTop();
|
||||
if(scrollTop >34){
|
||||
$(".navbar-fixed").removeClass("no-background");
|
||||
}else {
|
||||
$(".navbar-fixed").addClass("no-background");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Fixed
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("navbar-transparent")){
|
||||
$(window).on("scroll", function(){
|
||||
var scrollTop = $(window).scrollTop();
|
||||
if(scrollTop >34){
|
||||
$(".navbar-fixed").removeClass("navbar-transparent");
|
||||
}else {
|
||||
$(".navbar-fixed").addClass("navbar-transparent");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Button Cart
|
||||
// ------------------------------------------------------------------------------ //
|
||||
$(".btn-cart").on("click", function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Toggle Search
|
||||
// ------------------------------------------------------------------------------ //
|
||||
$("nav.navbar.bootsnav .attr-nav").each(function(){
|
||||
$("li.search > a", this).on("click", function(e){
|
||||
e.preventDefault();
|
||||
$(".top-search").slideToggle();
|
||||
});
|
||||
});
|
||||
$(".input-group-addon.close-search").on("click", function(){
|
||||
$(".top-search").slideUp();
|
||||
});
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Toggle Side Menu
|
||||
// ------------------------------------------------------------------------------ //
|
||||
$("nav.navbar.bootsnav .attr-nav").each(function(){
|
||||
$("li.side-menu > a", this).on("click", function(e){
|
||||
e.preventDefault();
|
||||
$("nav.navbar.bootsnav > .side").toggleClass("on");
|
||||
$("body").toggleClass("on-side");
|
||||
});
|
||||
});
|
||||
$(".side .close-side").on("click", function(e){
|
||||
e.preventDefault();
|
||||
$("nav.navbar.bootsnav > .side").removeClass("on");
|
||||
$("body").removeClass("on-side");
|
||||
});
|
||||
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Wrapper
|
||||
// ------------------------------------------------------------------------------ //
|
||||
$("body").wrapInner( "<div class='wrapper'></div>");
|
||||
},
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Change dropdown to hover on dekstop
|
||||
// ------------------------------------------------------------------------------ //
|
||||
hoverDropdown : function(){
|
||||
var getNav = $("nav.navbar.bootsnav"),
|
||||
getWindow = $(window).width(),
|
||||
getHeight = $(window).height(),
|
||||
getIn = getNav.find("ul.nav").data("in"),
|
||||
getOut = getNav.find("ul.nav").data("out");
|
||||
|
||||
if( getWindow < 991 ){
|
||||
|
||||
// Height of scroll navigation sidebar
|
||||
$(".scroller").css("height", "auto");
|
||||
|
||||
// Disable mouseenter event
|
||||
$("nav.navbar.bootsnav ul.nav").find("li.dropdown").off("mouseenter");
|
||||
$("nav.navbar.bootsnav ul.nav").find("li.dropdown").off("mouseleave");
|
||||
$("nav.navbar.bootsnav ul.nav").find(".title").off("mouseenter");
|
||||
$("nav.navbar.bootsnav ul.nav").off("mouseleave");
|
||||
$(".navbar-collapse").removeClass("animated");
|
||||
|
||||
// Enable click event
|
||||
$("nav.navbar.bootsnav ul.nav").each(function(){
|
||||
$(".dropdown-menu", this).addClass("animated");
|
||||
$(".dropdown-menu", this).removeClass(getOut);
|
||||
|
||||
// Dropdown Fade Toggle
|
||||
$("a.dropdown-toggle", this).off('click');
|
||||
$("a.dropdown-toggle", this).on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
$(this).closest("li.dropdown").find(".dropdown-menu").first().stop().fadeToggle().toggleClass(getIn);
|
||||
$(this).closest("li.dropdown").first().toggleClass("on");
|
||||
return false;
|
||||
});
|
||||
|
||||
// Hidden dropdown action
|
||||
$('li.dropdown', this).each(function () {
|
||||
$(this).find(".dropdown-menu").stop().fadeOut();
|
||||
$(this).on('hidden.bs.dropdown', function () {
|
||||
$(this).find(".dropdown-menu").stop().fadeOut();
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
// Megamenu style
|
||||
$(".megamenu-fw", this).each(function(){
|
||||
$(".col-menu", this).each(function(){
|
||||
$(".content", this).addClass("animated");
|
||||
$(".content", this).stop().fadeOut();
|
||||
$(".title", this).off("click");
|
||||
$(".title", this).on("click", function(){
|
||||
$(this).closest(".col-menu").find(".content").stop().fadeToggle().addClass(getIn);
|
||||
$(this).closest(".col-menu").toggleClass("on");
|
||||
return false;
|
||||
});
|
||||
|
||||
$(".content", this).on("click", function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// Hidden dropdown
|
||||
var cleanOpen = function(){
|
||||
$('li.dropdown', this).removeClass("on");
|
||||
$(".dropdown-menu", this).stop().fadeOut();
|
||||
$(".dropdown-menu", this).removeClass(getIn);
|
||||
$(".col-menu", this).removeClass("on");
|
||||
$(".col-menu .content", this).stop().fadeOut();
|
||||
$(".col-menu .content", this).removeClass(getIn);
|
||||
}
|
||||
|
||||
// Hidden om mouse leave
|
||||
$("nav.navbar.bootsnav").on("mouseleave", function(){
|
||||
cleanOpen();
|
||||
});
|
||||
|
||||
// Enable click atribute navigation
|
||||
$("nav.navbar.bootsnav .attr-nav").each(function(){
|
||||
$(".dropdown-menu", this).removeClass("animated");
|
||||
$("li.dropdown", this).off("mouseenter");
|
||||
$("li.dropdown", this).off("mouseleave");
|
||||
$("a.dropdown-toggle", this).off('click');
|
||||
$("a.dropdown-toggle", this).on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
$(this).closest("li.dropdown").find(".dropdown-menu").first().stop().fadeToggle();
|
||||
$(".navbar-toggle").each(function(){
|
||||
$(".fa", this).removeClass("fa-times");
|
||||
$(".fa", this).addClass("fa-bars");
|
||||
$(".navbar-collapse").removeClass("in");
|
||||
$(".navbar-collapse").removeClass("on");
|
||||
});
|
||||
});
|
||||
|
||||
$(this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).stop().fadeOut();
|
||||
$("li.dropdown", this).removeClass("on");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
// Toggle Bars
|
||||
$(".navbar-toggle").each(function(){
|
||||
$(this).off("click");
|
||||
$(this).on("click", function(){
|
||||
$(".fa", this).toggleClass("fa-bars");
|
||||
$(".fa", this).toggleClass("fa-times");
|
||||
cleanOpen();
|
||||
});
|
||||
});
|
||||
|
||||
}else if( getWindow > 991 ){
|
||||
// Height of scroll navigation sidebar
|
||||
$(".scroller").css("height", getHeight + "px");
|
||||
|
||||
// Navbar Sidebar
|
||||
if( getNav.hasClass("navbar-sidebar")){
|
||||
// Hover effect Sidebar Menu
|
||||
$("nav.navbar.bootsnav ul.nav").each(function(){
|
||||
$("a.dropdown-toggle", this).off('click');
|
||||
$("a.dropdown-toggle", this).on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$(".dropdown-menu", this).addClass("animated");
|
||||
$("li.dropdown", this).on("mouseenter", function(){
|
||||
$(".dropdown-menu", this).eq(0).removeClass(getOut);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeIn().addClass(getIn);
|
||||
$(this).addClass("on");
|
||||
return false;
|
||||
});
|
||||
|
||||
$(".col-menu").each(function(){
|
||||
$(".content", this).addClass("animated");
|
||||
$(".title", this).on("mouseenter", function(){
|
||||
$(this).closest(".col-menu").find(".content").stop().fadeIn().addClass(getIn);
|
||||
$(this).closest(".col-menu").addClass("on");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
$(this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).stop().removeClass(getIn);
|
||||
$(".dropdown-menu", this).stop().addClass(getOut).fadeOut();
|
||||
$(".col-menu", this).find(".content").stop().fadeOut().removeClass(getIn);
|
||||
$(".col-menu", this).removeClass("on");
|
||||
$("li.dropdown", this).removeClass("on");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}else{
|
||||
// Hover effect Default Menu
|
||||
$("nav.navbar.bootsnav ul.nav").each(function(){
|
||||
$("a.dropdown-toggle", this).off('click');
|
||||
$("a.dropdown-toggle", this).on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$(".megamenu-fw", this).each(function(){
|
||||
$(".title", this).off("click");
|
||||
$("a.dropdown-toggle", this).off("click");
|
||||
$(".content").removeClass("animated");
|
||||
});
|
||||
|
||||
$(".dropdown-menu", this).addClass("animated");
|
||||
$("li.dropdown", this).on("mouseenter", function(){
|
||||
$(".dropdown-menu", this).eq(0).removeClass(getOut);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeIn().addClass(getIn);
|
||||
$(this).addClass("on");
|
||||
return false;
|
||||
});
|
||||
|
||||
$("li.dropdown", this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).eq(0).removeClass(getIn);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeOut().addClass(getOut);
|
||||
$(this).removeClass("on");
|
||||
});
|
||||
|
||||
$(this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).removeClass(getIn);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeOut().addClass(getOut);
|
||||
$("li.dropdown", this).removeClass("on");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Hover effect Atribute Navigation
|
||||
// ------------------------------------------------------------------------------ //
|
||||
$("nav.navbar.bootsnav .attr-nav").each(function(){
|
||||
$("a.dropdown-toggle", this).off('click');
|
||||
$("a.dropdown-toggle", this).on('click', function (e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
$(".dropdown-menu", this).addClass("animated");
|
||||
$("li.dropdown", this).on("mouseenter", function(){
|
||||
$(".dropdown-menu", this).eq(0).removeClass(getOut);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeIn().addClass(getIn);
|
||||
$(this).addClass("on");
|
||||
return false;
|
||||
});
|
||||
|
||||
$("li.dropdown", this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).eq(0).removeClass(getIn);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeOut().addClass(getOut);
|
||||
$(this).removeClass("on");
|
||||
});
|
||||
|
||||
$(this).on("mouseleave", function(){
|
||||
$(".dropdown-menu", this).removeClass(getIn);
|
||||
$(".dropdown-menu", this).eq(0).stop().fadeOut().addClass(getOut);
|
||||
$("li.dropdown", this).removeClass("on");
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Menu Fullscreen
|
||||
// ------------------------------------------------------------------------------ //
|
||||
if( getNav.hasClass("navbar-full")){
|
||||
var windowHeight = $(window).height(),
|
||||
windowWidth = $(window).width();
|
||||
|
||||
$(".nav-full").css("height", windowHeight + "px");
|
||||
$(".wrap-full-menu").css("height", windowHeight + "px");
|
||||
$(".wrap-full-menu").css("width", windowWidth + "px");
|
||||
|
||||
$(".navbar-collapse").addClass("animated");
|
||||
$(".navbar-toggle").each(function(){
|
||||
var getId = $(this).data("target");
|
||||
$(this).off("click");
|
||||
$(this).on("click", function(e){
|
||||
e.preventDefault();
|
||||
$(getId).removeClass(getOut);
|
||||
$(getId).addClass("in");
|
||||
$(getId).addClass(getIn);
|
||||
return false;
|
||||
});
|
||||
|
||||
$("li.close-full-menu").on("click", function(e){
|
||||
e.preventDefault();
|
||||
$(getId).addClass(getOut);
|
||||
setTimeout(function(){
|
||||
$(getId).removeClass("in");
|
||||
$(getId).removeClass(getIn);
|
||||
}, 500);
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Sticky
|
||||
// ------------------------------------------------------------------------------ //
|
||||
navbarSticky : function(){
|
||||
var getNav = $("nav.navbar.bootsnav"),
|
||||
navSticky = getNav.hasClass("navbar-sticky");
|
||||
|
||||
if( navSticky ){
|
||||
|
||||
// Set Height Navigation
|
||||
var getHeight = getNav.height();
|
||||
$(".wrap-sticky").height(getHeight);
|
||||
|
||||
// Windown on scroll
|
||||
var getOffset = $(".wrap-sticky").offset().top;
|
||||
$(window).on("scroll", function(){
|
||||
var scrollTop = $(window).scrollTop();
|
||||
if(scrollTop > getOffset){
|
||||
getNav.addClass("sticked");
|
||||
}else {
|
||||
getNav.removeClass("sticked");
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
// ------------------------------------------------------------------------------ //
|
||||
// Navbar Scrollspy
|
||||
// ------------------------------------------------------------------------------ //
|
||||
navbarScrollspy : function(){
|
||||
var navScrollSpy = $(".navbar-scrollspy"),
|
||||
$body = $('body'),
|
||||
getNav = $('nav.navbar.bootsnav'),
|
||||
offset = getNav.outerHeight();
|
||||
|
||||
if( navScrollSpy.length ){
|
||||
$body.scrollspy({target: '.navbar', offset: offset });
|
||||
|
||||
// Animation Scrollspy
|
||||
$('.scroll').on('click', function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
// Active link
|
||||
$('.scroll').removeClass("active");
|
||||
$(this).addClass("active");
|
||||
|
||||
// Remove navbar collapse
|
||||
$(".navbar-collapse").removeClass("in");
|
||||
|
||||
// Toggle Bars
|
||||
$(".navbar-toggle").each(function(){
|
||||
$(".fa", this).removeClass("fa-times");
|
||||
$(".fa", this).addClass("fa-bars");
|
||||
});
|
||||
|
||||
// Scroll
|
||||
var scrollTop = $(window).scrollTop(),
|
||||
$anchor = $(this).find('a'),
|
||||
$section = $($anchor.attr('href')).offset().top,
|
||||
$window = $(window).width(),
|
||||
$minusDesktop = getNav.data("minus-value-desktop"),
|
||||
$minusMobile = getNav.data("minus-value-mobile"),
|
||||
$speed = getNav.data("speed");
|
||||
|
||||
if( $window > 992 ){
|
||||
var $position = $section - $minusDesktop;
|
||||
}else{
|
||||
var $position = $section - $minusMobile;
|
||||
}
|
||||
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: $position
|
||||
}, $speed);
|
||||
});
|
||||
|
||||
// Activate Navigation
|
||||
var fixSpy = function() {
|
||||
var data = $body.data('bs.scrollspy');
|
||||
if (data) {
|
||||
offset = getNav.outerHeight();
|
||||
data.options.offset = offset;
|
||||
$body.data('bs.scrollspy', data);
|
||||
$body.scrollspy('refresh');
|
||||
}
|
||||
}
|
||||
|
||||
// Activate Navigation on resize
|
||||
var resizeTimer;
|
||||
$(window).on('resize', function() {
|
||||
clearTimeout(resizeTimer);
|
||||
var resizeTimer = setTimeout(fixSpy, 200);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Initialize
|
||||
$(document).ready(function(){
|
||||
bootsnav.initialize();
|
||||
});
|
||||
|
||||
// Reset on resize
|
||||
$(window).on("resize", function(){
|
||||
bootsnav.hoverDropdown();
|
||||
setTimeout(function(){
|
||||
bootsnav.navbarSticky();
|
||||
}, 500);
|
||||
|
||||
// Toggle Bars
|
||||
$(".navbar-toggle").each(function(){
|
||||
$(".fa", this).removeClass("fa-times");
|
||||
$(".fa", this).addClass("fa-bars");
|
||||
$(this).removeClass("fixed");
|
||||
});
|
||||
$(".navbar-collapse").removeClass("in");
|
||||
$(".navbar-collapse").removeClass("on");
|
||||
$(".navbar-collapse").removeClass("bounceIn");
|
||||
});
|
||||
|
||||
}(jQuery));
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<a href="https://masterking32.com">MasterkinG32.CoM</a>
|
||||