first commit
이 커밋은 다음에 포함됨:
@@ -0,0 +1,47 @@
|
||||
/*------------------*
|
||||
# Main-menu
|
||||
*------------------*/
|
||||
.main-menu {
|
||||
li {
|
||||
margin: 0 1px;
|
||||
position: relative;
|
||||
a {
|
||||
font-weight: fontweight(semi-bold);
|
||||
display: block;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
text-transform: uppercase;
|
||||
@include max-screen(992, 1199) {
|
||||
padding: 15px;
|
||||
font-size: 13px;
|
||||
}
|
||||
i {
|
||||
font-size: 15px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// theme1
|
||||
.theme1 {
|
||||
li {
|
||||
a {
|
||||
color: $color-dark;
|
||||
}
|
||||
&:hover > a {
|
||||
color: $theme-color;
|
||||
}
|
||||
|
||||
&.active > a {
|
||||
color: $theme-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*------------------*
|
||||
# Main-menu END
|
||||
*------------------*/
|
||||
@@ -0,0 +1,156 @@
|
||||
/*------------------*
|
||||
# mega-menu
|
||||
*------------------*/
|
||||
|
||||
.mega-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
max-width: 100%;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
z-index: 3;
|
||||
background: $color-white;
|
||||
padding: 30px 15px;
|
||||
box-shadow: 0 0 3.76px 0.24px rgba(0, 0, 0, 0.15);
|
||||
margin: 0 15px;
|
||||
transform-origin: 0 0;
|
||||
transform-style: preserve-3d;
|
||||
@include transform(rotateX(-75deg));
|
||||
}
|
||||
|
||||
.main-menu {
|
||||
li {
|
||||
&:hover > {
|
||||
.mega-menu {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transition: transform 0.3s, opacity 0.3s;
|
||||
@include transform(rotateX(0deg));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mega-menu {
|
||||
> li {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.mega-menu li ul li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mega-menu li > ul li:last-child a {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.mega-menu li > ul li > a:hover {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.mega-menu li ul li.mega-menu-title {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.mega-menu li ul li.mega-menu-title a {
|
||||
color: $color-dark;
|
||||
line-height: 1;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
font-weight: fontweight(medium);
|
||||
padding: 0 !important;
|
||||
}
|
||||
.mega-menu li a {
|
||||
text-align: left;
|
||||
padding: 0 0 5px;
|
||||
color: #565656;
|
||||
text-transform: capitalize;
|
||||
line-height: 28px;
|
||||
font-weight: fontweight(regular);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// mega-menu-custom-with
|
||||
|
||||
.mega-menu-custom-with {
|
||||
max-width: 1110px;
|
||||
min-width: 1110px;
|
||||
@include max-screen(1200) {
|
||||
min-width: 95%;
|
||||
left: 0%;
|
||||
right: 0%;
|
||||
}
|
||||
left: 23%;
|
||||
}
|
||||
|
||||
// theme1
|
||||
.theme1 {
|
||||
.mega-menu {
|
||||
li {
|
||||
ul {
|
||||
li {
|
||||
&.mega-menu-title {
|
||||
a {
|
||||
&:hover {
|
||||
color: $theme-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// blog-ctry-menu
|
||||
|
||||
.blog-ctry-menu {
|
||||
li {
|
||||
a {
|
||||
position: relative;
|
||||
font-weight: fontweight(regular);
|
||||
color: #565656;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
text-transform: capitalize;
|
||||
line-height: 35px;
|
||||
&::before {
|
||||
content: "\f2c7";
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
font-family: "Ionicons";
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
a {
|
||||
&::before {
|
||||
content: "\f462";
|
||||
}
|
||||
}
|
||||
}
|
||||
// category-sub-menu
|
||||
ul.category-sub-menu {
|
||||
display: none;
|
||||
li {
|
||||
a {
|
||||
font-size: 13px;
|
||||
line-height: 35px;
|
||||
padding: 0 10px;
|
||||
display: block;
|
||||
color: $body-color;
|
||||
&::before {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------*
|
||||
# mega-menu END
|
||||
*------------------*/
|
||||
@@ -0,0 +1,68 @@
|
||||
/*------------------*
|
||||
# sub-menu
|
||||
*------------------*/
|
||||
|
||||
.sub-menu {
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
min-width: 240px;
|
||||
z-index: 4;
|
||||
box-shadow: 0 0 3.76px 0.24px rgba(0, 0, 0, 0.15);
|
||||
background: $color-white;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform-origin: 0 0;
|
||||
transform-style: preserve-3d;
|
||||
@include transform(rotateX(-75deg));
|
||||
}
|
||||
.main-menu {
|
||||
li {
|
||||
&:hover > {
|
||||
.sub-menu {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transition: transform 0.3s, opacity 0.3s;
|
||||
@include transform(rotateX(0deg));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.sub-menu {
|
||||
li {
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid $border-color2;
|
||||
margin: 0;
|
||||
a {
|
||||
font-weight: fontweight(regular);
|
||||
text-align: left;
|
||||
text-transform: capitalize;
|
||||
padding: 0;
|
||||
color: #565656;
|
||||
font-size: 14px;
|
||||
line-height: 40px;
|
||||
|
||||
i {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
&:hover > a {
|
||||
padding-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
.sub-menu {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
left: 100%;
|
||||
top: 0;
|
||||
transform-origin: 0 0;
|
||||
transform-style: preserve-3d;
|
||||
@include transform(rotateX(-75deg));
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------*
|
||||
# sub-menu END
|
||||
*------------------*/
|
||||
@@ -0,0 +1,136 @@
|
||||
/*------------------*
|
||||
# Top Nave
|
||||
*------------------*/
|
||||
|
||||
.static-info {
|
||||
p {
|
||||
font-size: 14px;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-top {
|
||||
li {
|
||||
position: relative;
|
||||
img {
|
||||
margin-right: 5px;
|
||||
}
|
||||
a {
|
||||
font-weight: fontweight(regular);
|
||||
text-transform: capitalize;
|
||||
padding: 0 15px;
|
||||
@include max-screen(576, 767) {
|
||||
padding: 0 8px;
|
||||
}
|
||||
line-height: 14px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
&.english .topnav-submenu {
|
||||
right: 0 !important;
|
||||
left: auto !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// navbar-top
|
||||
// theme1
|
||||
.theme1 {
|
||||
.navbar-top {
|
||||
ul {
|
||||
li {
|
||||
a {
|
||||
color: $color-white;
|
||||
&:hover {
|
||||
color: $theme-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.modify {
|
||||
ul {
|
||||
li {
|
||||
a {
|
||||
color: $color-white;
|
||||
&:hover {
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* topnav-submenu */
|
||||
|
||||
.topnav-submenu {
|
||||
top: 50px !important;
|
||||
right: 15px !important;
|
||||
left: auto !important;
|
||||
min-width: 130px;
|
||||
overflow: hidden;
|
||||
padding: 0 15px;
|
||||
background: $color-white;
|
||||
z-index: 3;
|
||||
border-radius: 0;
|
||||
transform: translate3d(0px, 0px, 0px) !important;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
display: block;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: ease-in 0.3s;
|
||||
-webkit-transition: ease-in 0.3s;
|
||||
-moz-transition: ease-in 0.3s;
|
||||
-ms-transition: ease-in 0.3s;
|
||||
-o-transition: ease-in 0.3s;
|
||||
box-shadow: 0 0 3.76px 0.24px rgba(0, 0, 0, 0.15);
|
||||
&.show {
|
||||
top: 40px !important;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
@include max-screen(767) {
|
||||
top: 30px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@include max-screen(991) {
|
||||
right: auto !important;
|
||||
left: 0 !important;
|
||||
}
|
||||
|
||||
li {
|
||||
a {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
line-height: 25px;
|
||||
font-size: 13px;
|
||||
border-bottom: 1px solid $border-color;
|
||||
}
|
||||
&:last-child a {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// topnav-submenu
|
||||
// theme1
|
||||
.theme1 {
|
||||
.topnav-submenu {
|
||||
li {
|
||||
a {
|
||||
color: #556655 !important;
|
||||
&:hover {
|
||||
color: $theme-color !important;
|
||||
}
|
||||
}
|
||||
&.active a {
|
||||
color: $theme-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*------------------*
|
||||
# Top Nave ENd
|
||||
*------------------*/
|
||||
새 이슈에서 참조
사용자 차단