Template:FrDS Styles: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
RLopez-WMF (talk | contribs)
No edit summary
RLopez-WMF (talk | contribs)
No edit summary
Line 936: Line 936:
align-items: flex-start;
align-items: flex-start;
gap: 24px;
gap: 24px;
}
.mw-collapsible-toggle::after{
content:"";
width: 24px;
height: 24px;
background-image: url(https://upload.wikimedia.org/wikipedia/donate/e/e9/Keyboard_arrow_down.png);
background-image: url(https://upload.wikimedia.org/wikipedia/donate/e/e9/Keyboard_arrow_down.png);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-position: center right;
background-position: center;
background-size: 24px;
background-size: cover;
}
.mw-collapsible-toggle-expanded.mw-collapsible-toggle::after{
transform: rotate(30deg);
}
}
.mw-collapsible-content{
.mw-collapsible-content{
border: 1px solid #CCCCCC;
border: 1px solid #CCCCCC;
background: #FFFFFF;
background: #FFFFFF;
display: flex;
display: flex;
flex-direction:column;
flex-direction:column;
border-radius: 8px;
border-radius: 8px;
}
}
.mw-collapsible-content > div {
.mw-collapsible-content > div {
display: flex;
display: flex;
padding: 20px;
padding: 20px;
align-items: flex-start;
align-items: flex-start;
gap: 8px;
gap: 8px;
align-self: stretch;
align-self: stretch;
flex-direction:column;
flex-direction:column;
border-bottom: 1px solid #CCCCCC;
border-bottom: 1px solid #CCCCCC;
}
}
.mw-collapsible-content > div:last-of-type {
.mw-collapsible-content > div:last-of-type {
border-bottom: none !important;
border-bottom: none !important;
}
}
@media only screen and (min-width:960px) {
@media only screen and (min-width:960px) {

Revision as of 02:52, 15 October 2024