Files
yeuchaybo/assets/scss/plugins/_genesis-simple-faq.scss
Thuan Bui fd25f13a4f Initial
2018-06-26 11:09:22 +07:00

67 lines
907 B
SCSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ## Genesis Simple FAQ
--------------------------------------------- */
.gs-faq {
padding: 5px 0;
}
.gs-faq__answer {
p:last-of-type {
margin-bottom: 0;
}
.js & {
display: none;
padding: 5px;
}
&.no-animation.gs-faq--expanded {
display: block;
}
}
.gs-faq__question {
display: none;
width: 100%;
margin-top: 10px;
padding-right: 0;
padding-left: 0;
border-bottom: $border;
color: $gs-faq__question--font-color;
background: $gs-faq__question--background-color;
text-align: left;
white-space: normal;
justify-content: space-between;
&:focus,
&:hover {
color: $gs-faq__question--font-color-hover;
background: $gs-faq__question--background-color-hover;
}
&:after {
content: "+";
}
&:first-of-type {
margin-top: 0;
}
&.gs-faq--expanded:after {
content: "";
}
.js & {
display: flex;
}
}
.gs-faq__answer__heading {
.js & {
display: none;
}
}