Giao dien Pc 06-04-2023
This commit is contained in:
@@ -1113,12 +1113,76 @@ iframe {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.global-header-main .item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.global-header-main .item:hover .sub-item {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
z-index: 3;
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
white-space: nowrap;
|
||||
-webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
|
||||
border-radius: 5px;
|
||||
top: 80px;
|
||||
left: -85%;
|
||||
min-width: 200px;
|
||||
-webkit-transition: .2s all;
|
||||
transition: .2s all;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a {
|
||||
display: block;
|
||||
-webkit-transition: .1s all;
|
||||
transition: .1s all;
|
||||
line-height: 36px;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:hover {
|
||||
color: #fff;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:first-child::before, .global-header-main .sub-item a:first-child::after {
|
||||
content: '';
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 10px solid #fff;
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 37%;
|
||||
-webkit-transition: .1s all;
|
||||
transition: .1s all;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:first-child::before {
|
||||
border-bottom-color: rgba(0, 0, 0, 0.1);
|
||||
border-width: 12px;
|
||||
top: -12px;
|
||||
left: 36%;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:first-child {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:first-child:hover::after {
|
||||
border-bottom-color: #000;
|
||||
}
|
||||
|
||||
.global-header-main .sub-item a:last-child {
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
.header-search-group {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -750,10 +750,63 @@ iframe {
|
||||
background: #FF0000;
|
||||
font-weight: 600;
|
||||
}
|
||||
.sub-item{
|
||||
display: none;
|
||||
a{
|
||||
.item{
|
||||
position: relative;
|
||||
&:hover .sub-item {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
z-index: 3;
|
||||
top: 40px;
|
||||
}
|
||||
}
|
||||
.sub-item {
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
white-space: nowrap;
|
||||
box-shadow: 0px 0px 4px 0px rgba(0,0,0,.2);
|
||||
border-radius: 5px;
|
||||
top: 80px;
|
||||
left: -85%;
|
||||
min-width: 200px;
|
||||
transition: .2s all;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
z-index: -1;
|
||||
a {
|
||||
display: block;
|
||||
transition: .1s all;
|
||||
line-height: 36px;
|
||||
padding: 0 15px;
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: #000;
|
||||
}
|
||||
&:first-child::before,
|
||||
&:first-child::after {
|
||||
content: '';
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-bottom: 10px solid #fff;
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 37%;
|
||||
transition: .1s all;
|
||||
}
|
||||
&:first-child::before {
|
||||
border-bottom-color: rgba(0,0,0,.1);
|
||||
border-width: 12px;
|
||||
top: -12px;
|
||||
left: 36%;
|
||||
}
|
||||
&:first-child {
|
||||
border-radius: 5px 5px 0 0;
|
||||
&:hover::after {
|
||||
border-bottom-color: #000 ;
|
||||
}
|
||||
}
|
||||
&:last-child {
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user