Шаблон:FlatCardWithHeader/Сollapsible/styles.css: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки Метка: ручная отмена |
||
| Строка 1: | Строка 1: | ||
.flat-card-with-header--сollapsible { | .flat-card-with-header--сollapsible { | ||
position: relative; | position: relative; | ||
background: rgba(var(--theme-color-lighter--rgb), 0. | background: rgba(var(--theme-color-lighter--rgb), 0.025); | ||
box-shadow: var(--box-shadow); | box-shadow: var(--box-shadow); | ||
border-radius: var(--border-radius-high); | border-radius: var(--border-radius-high); | ||
Версия от 21:59, 20 апреля 2025
.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-250) */
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 {
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;
}