You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

99 lines
1.9 KiB

.ui.accordion {
width: 600px;
max-width: 100%;
overflow: hidden;
font-size: 1rem;
border-radius: .3125em;
background-color: #FFF;
box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ui.accordion .title {
cursor: pointer;
margin: 0;
padding: .75em 1em;
color: rgba(0,0,0,.6);
border-top: 1px solid rgba(0,0,0,.05);
-webkit-transition: background-color .2s ease-out;
transition: background-color .2s ease-out;
}
.ui.accordion .title:first-child {
border-top: 0;
}
.ui.accordion .content {
display: none;
margin: 0;
padding: 1.3em 1em;
}
.ui.accordion .title .dropdown.icon {
display: inline-block;
float: none;
margin: 0 .5em 0 0;
-webkit-transition: -webkit-transform .2s ease,opacity .2s ease;
transition: transform .2s ease,opacity .2s ease;
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.ui.accordion .title .dropdown.icon:before {
content: '\f0da';
}
.ui.basic.accordion.menu {
background-color: #FFF;
box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.ui.basic.accordion.menu .title,
.ui.basic.accordion.menu .content {
padding: 0;
}
.ui.basic.accordion {
background-color: transparent;
box-shadow: none;
}
.ui.basic.accordion .title,
.ui.basic.accordion .title {
background-color: transparent;
border-top: 0;
padding-left: 0;
padding-right: 0;
}
.ui.basic.accordion .content {
padding: .5em 0;
}
.ui.basic.accordion .active.title {
background-color: transparent;
}
.ui.accordion .title:hover,
.ui.accordion .active.title {
color: rgba(0,0,0,.8);
}
.ui.accordion .active.title {
background-color: rgba(0,0,0,.1);
color: rgba(0,0,0,.8);
}
.ui.accordion .active.title .dropdown.icon {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.ui.accordion .active.content {
display: block;
}
.ui.fluid.accordion {
width: 100%;
}