Files
T-DAS/Epost.TestToolsWeb/Content/css/Accordion.css

105 lines
1.8 KiB
CSS
Raw Normal View History

2023-01-13 15:30:20 +08:00
/** =======================
* Contenedor Principal
===========================*/
#iframe-wrap h1 {
color: #FFF;
font-size: 24px;
font-weight: 400;
text-align: center;
margin-top: 80px;
}
#iframe-wrap h1 a {
color: #c12c42;
font-size: 16px;
}
.accordionul {
width: 100%;
max-width: 220px;
margin: 10px ;
background: #FFF;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.accordionul .link {
cursor: pointer;
display: block;
padding: 15px 25px 15px 0px;
color: #4D4D4D;
font-size: 14px;
font-weight: 700;
border-bottom: 1px solid #CCC;
position: relative;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.accordionul li:last-child .link {
border-bottom: 0;
}
.accordionul li i {
position: absolute;
top: 16px;
left: 12px;
font-size: 18px;
color: #595959;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.accordionul li i.fa-chevron-down {
right: 12px;
left: auto;
font-size: 16px;
}
.accordionul li.open .link {
color: #b63b4d;
}
.accordionul li.open i {
color: #b63b4d;
}
.accordionul li.open i.fa-chevron-down {
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
}
/**
* Submenu
-----------------------------*/
.submenu {
display: none;
/* background: #4cceb6;/*<2A><><EFBFBD><EFBFBD>ɫ*/
font-size: 14px;
}
.submenu li {
border-bottom: 1px solid #CCC;
}
.submenu a {
display: block;
text-decoration: none;
color: #4D4D4D;
padding: 12px;
padding-left: 42px;
-webkit-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
}
.submenu a:hover {
/*background: #b63b4d;*/
color: #b63b4d;
}