@patreon/studio
Version:
Patreon Studio Design System
95 lines (79 loc) • 1.62 kB
CSS
.root {
bottom: 0;
isolation: isolate;
left: 0;
overflow: inherit;
position: fixed;
right: 0;
width: 100%;
z-index: var(--global-layer-z20);
}
.container {
background-color: var(--global-bg-base-default);
border-top: var(--global-borderWidth-thin) solid var(--global-border-muted-default);
box-sizing: border-box;
display: flex;
justify-content: center;
overflow: hidden;
padding: var(--global-space-x16);
}
.wrapper {
align-items: center;
display: flex;
flex-direction: column;
gap: var(--global-space-x16);
justify-content: space-between;
width: 100%;
}
.contentContainer {
align-items: center;
display: flex;
gap: var(--global-space-x8);
justify-content: center;
width: 100%;
}
.messageHideMobile .contentContainer {
display: none;
}
.contentContainer > :first-child {
display: none;
}
.actionContainer {
display: flex;
flex-direction: row-reverse;
gap: var(--global-space-x16);
justify-content: center;
width: 100%;
}
.actionContainer > :last-child {
flex-grow: 1;
}
@media (min-width: 588px) {
.root {
padding-left: 1px;
position: sticky;
top: 0;
}
.container {
border-bottom: var(--global-borderWidth-thin) solid var(--global-border-muted-default);
border-top: none;
}
.wrapper {
align-items: center;
flex-direction: row;
justify-content: space-between;
}
.contentContainer {
display: flex;
width: auto;
}
.contentContainer > :first-child {
display: block;
}
.actionContainer {
width: auto;
}
.actionContainer > :last-child {
flex-grow: initial;
}
}