Шаблон:FlatCardWithHeader/Сollapsible/styles.css
Материал из Space Station 14 Вики
.flat-card-with-header--сollapsible {
position: relative;
background: rgba(var(--theme-color-lighter--rgb), 0.025);
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-high);
display: grid;
}
.flat-card-with-header--сollapsible__header {
display: flex;
align-items: center;
font-family: "noto sans";
text-align: left;
padding: 3px;
border: 1px solid rgba(var(--color-lighter--rgb), 0.07);
border-bottom: 3px solid var(--color-darkened-border);
min-height: 36px;
border-radius: var(--border-radius-high);
overflow-wrap: anywhere;
background: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-350) */
grid-row: 1;
grid-column: 1 / 3;
}
.flat-card-with-header--сollapsible__header-img {
background: rgba(var(--color-darkened--rgb), var(--alpha-xs));
padding: 2px;
border-radius: var(--border-radius-low);
}
.flat-card-with-header--сollapsible__content {
border-top: 1px solid var(--color-darkened-border-m);
grid-column: 1 / 3;
grid-row: 2;
}
.flat-card-with-header--сollapsible > .mw-collapsible-toggle {
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 7px;
top: 0;
right: 0;
grid-row: 1;
grid-column: 1 / 3;
}
.flat-card-with-header--сollapsible__header a {
z-index: 2;
position: relative;
}