Шаблон:Cut-Layout/styles.css: различия между версиями
Материал из Space Station 14 Вики
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| (не показано 5 промежуточных версий этого же участника) | |||
| Строка 2: | Строка 2: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: center; | |||
gap: 8px; | |||
padding: 10px 18px; | padding: 10px 18px; | ||
box-shadow: var(--box-shadow-high); | box-shadow: var(--box-shadow-high); | ||
background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color- | background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */ | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
height: inherit; | |||
box-sizing: border-box; | |||
} | } | ||
| Строка 14: | Строка 15: | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | |||
gap: 8px; | gap: 8px; | ||
} | |||
.cut-layout__header-arrow { | |||
display: grid; | |||
grid-template-columns: 1fr auto 1fr; | |||
text-align: center; | |||
} | } | ||
| Строка 21: | Строка 29: | ||
padding: 8px; | padding: 8px; | ||
position: relative; | position: relative; | ||
font-size: | font-size: var(--font-size-s); | ||
overflow: auto; | overflow: auto; | ||
margin: 0 6px; | margin: 0 6px; | ||
background: rgba( | background: rgba(0, 0, 0, var(--alpha-s)); | ||
border-radius: var(--border-radius-low); | border-radius: var(--border-radius-low); | ||
} | } | ||
Текущая версия от 06:22, 17 июня 2025
.cut-layout {
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
padding: 10px 18px;
box-shadow: var(--box-shadow-high);
background-color: var(--bg-color); /* --bg-color из стилей шаблона; по умолчанию: var(--theme-bg-color-200) */
border-radius: var(--border-radius-low);
height: inherit;
box-sizing: border-box;
}
.cut-layout__header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
}
.cut-layout__header-arrow {
display: grid;
grid-template-columns: 1fr auto 1fr;
text-align: center;
}
.cut-layout__body {
flex-grow: 100;
padding: 8px;
position: relative;
font-size: var(--font-size-s);
overflow: auto;
margin: 0 6px;
background: rgba(0, 0, 0, var(--alpha-s));
border-radius: var(--border-radius-low);
}