119 lines
3.1 KiB
CSS
119 lines
3.1 KiB
CSS
/* ========================================================= */
|
|
/* Components: Public Page Components */
|
|
/* ========================================================= */
|
|
|
|
.sg-content-group-box {
|
|
--surface-content-group-box: var(--color-transparent);
|
|
--layout-content-group-box-gap: var(--spacing-large);
|
|
--layout-content-group-box-margin-block: var(--spacing-large);
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: var(--layout-content-group-box-margin-block) 0;
|
|
background: var(--surface-content-group-box);
|
|
gap: var(--layout-content-group-box-gap);
|
|
}
|
|
|
|
.sg-content-group-box > * {
|
|
margin: 0;
|
|
}
|
|
|
|
.sg-text-block {
|
|
--surface-text-block: var(--color-transparent);
|
|
--text-text-block: var(--color-font-light);
|
|
--layout-text-block-width: var(--dimension-public-content-width);
|
|
width: var(--layout-text-block-width);
|
|
box-sizing: border-box;
|
|
background: var(--surface-text-block);
|
|
color: var(--text-text-block);
|
|
}
|
|
|
|
.sg-text-block--align-right {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.sg-text-block .sg-body {
|
|
margin: 0;
|
|
color: var(--text-text-block);
|
|
}
|
|
|
|
.sg-card--call-to-action-card {
|
|
--surface-call-to-action-card: var(--surface-card-group);
|
|
--text-call-to-action-card: var(--color-font-light);
|
|
--layout-call-to-action-card-width: calc(var(--dimension-public-content-width) * 0.5);
|
|
--layout-call-to-action-card-content-columns: minmax(0, 1fr) max-content;
|
|
--layout-call-to-action-card-content-gap: var(--spacing-large);
|
|
width: var(--layout-call-to-action-card-width);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.sg-card--call-to-action-card--three-column {
|
|
--layout-call-to-action-card-width: var(--dimension-public-content-width);
|
|
--layout-call-to-action-card-content-columns: minmax(0, 1fr) 20% max-content;
|
|
}
|
|
|
|
.sg-card--call-to-action-card .sg-card-segment--body {
|
|
display: grid;
|
|
grid-template-columns: var(--layout-call-to-action-card-content-columns);
|
|
gap: var(--layout-call-to-action-card-content-gap);
|
|
align-items: center;
|
|
background: var(--surface-call-to-action-card);
|
|
color: var(--text-call-to-action-card);
|
|
}
|
|
|
|
.sg-call-to-action-card__text {
|
|
margin: 0;
|
|
min-width: 0;
|
|
color: var(--text-call-to-action-card);
|
|
}
|
|
|
|
.sg-call-to-action-card__action {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.sg-card--call-to-action-card--three-column .sg-labeled-input-row {
|
|
min-width: 0;
|
|
}
|
|
|
|
.sg-card--call-to-action-card--three-column .sg-input-single-line {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.sg-call-to-action-card--align-right {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.sg-picture-full-width {
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: var(--radius-picture-full-width);
|
|
}
|
|
|
|
.sg-page-public-page-components .sg-preview-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 48rem) {
|
|
.sg-text-block,
|
|
.sg-card--call-to-action-card {
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-card--call-to-action-card--three-column {
|
|
--layout-call-to-action-card-content-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.sg-card--call-to-action-card--three-column .sg-call-to-action-card__action {
|
|
justify-content: flex-start;
|
|
}
|
|
}
|