owncast/web/styles/main-layout.scss

155 lines
2.9 KiB
SCSS
Raw Normal View History

.app-container {
.side-nav {
position: fixed;
height: 100vh;
overflow: auto;
z-index: 10;
background-color: var(--nav-bg-color);
}
.menu-container {
border-color: transparent;
}
h1.owncast-title {
padding: 1rem;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
.logo-container {
background-color: var(--white);
2021-02-15 09:24:09 +03:00
padding: 0.35rem;
border-radius: 9999px;
}
.title-label {
display: inline-block;
margin-left: 1rem;
color: var(--white);
font-size: 1.15rem;
font-weight: 200;
text-transform: uppercase;
line-height: normal;
2021-02-15 09:24:09 +03:00
letter-spacing: 0.05em;
}
}
.layout-main {
margin-left: 240px; // width of Ant Sider
}
.layout-header {
display: flex;
flex-direction: row;
justify-content: flex-end;
padding-right: 1rem;
Admin social features (#408) * ActivityPub admin pages for configuration * Fix dev build * Add support for requiring follow approval. Closes https://github.com/owncast/owncast/issues/1208 * Point at admin version of followers endpoint * Add setting for toggling displaying fediverse engagement in admin. https://github.com/owncast/owncast/issues/1404 * Add instance URL textfield to federation config and disable federation if it is empty * If instance URL is not https disable federation * Tweak federation toggle text. Make go live message optional * Add federation info modal. Closes https://github.com/owncast/owncast/issues/1544 * Add support for blocked federated domains. For https://github.com/owncast/owncast/issues/1209 * Simplify fediverse post input * Add placeholder Fediverse icon * Tweak federation logo in admin menu. Closes https://github.com/owncast/owncast/issues/1603 * Add global button for composing a fediverse post. Closes https://github.com/owncast/owncast/issues/1610 * Federation -> Social * Add page for listing federated actions. Closes https://github.com/owncast/owncast/issues/1573 * Auto-close social post modal after success * Make user modal action buttons look nicer * Center and reduce width and center count column. Closes https://github.com/owncast/owncast/issues/1580 * Update the followers table to be clearer * Fix exception thrown when passing undefined * Disable federation settings if feature is disabled * Update enable social modal. For https://github.com/owncast/owncast/issues/1594 * Fix type props * Quiet, linter * Move compose button to the left * Add tooltip for compose button * Add NSFW toggle to federation config. Closes https://github.com/owncast/owncast/issues/1628 * Add support for blocking/removing followers. For https://github.com/owncast/owncast/issues/1630 * Allow editing the server url field even when federation is disabled * Continue to update the copy around the social features * Use relative path to action images. Fixes https://github.com/owncast/owncast/issues/1646 * Link IRIs and make action verbse present tense * Update caniuse
2022-01-13 00:52:37 +03:00
padding-left: 1rem;
background-color: var(--nav-bg-color);
}
.main-content-container {
2021-02-14 12:30:42 +03:00
padding: 2em 3em 3em;
min-width: 50vw;
}
.footer-container {
text-align: center;
}
.online-status-indicator {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
.online-thumbnail {
width: 12.5rem;
}
.status-label {
color: var(--white);
text-transform: uppercase;
2021-02-15 09:24:09 +03:00
font-size: 0.75rem;
display: inline-block;
2021-02-15 09:24:09 +03:00
margin-right: 0.5rem;
color: var(--offline-color);
}
.status-icon {
font-size: 1.5rem;
svg {
fill: var(--offline-color);
}
}
}
&.online {
.online-status-indicator {
.status-icon {
svg {
fill: var(--online-color);
}
}
.status-label {
white-space: nowrap;
color: var(--online-color);
}
}
}
}
// stream title form field in header
.global-stream-title-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
.textfield-with-submit-container {
flex-direction: row;
justify-content: center;
align-items: center;
margin-bottom: 0;
.ant-input-affix-wrapper {
border-color: var(--owncast-purple-50);
}
input.ant-input {
&::placeholder {
color: var(--owncast-purple);
text-align: center;
}
}
.input-side {
width: 400px;
@media (max-width: 800px) {
width: auto;
}
}
.label-side {
display: none;
}
.lower-container {
width: auto;
.lower-content {
flex-direction: column-reverse;
position: relative;
}
.label-spacer,
.field-tip {
display: none;
}
.status-container {
line-height: 1;
position: absolute;
bottom: -2em;
}
.update-button-container {
margin: 0;
2021-02-15 09:24:09 +03:00
margin-left: 0.5em;
line-height: 1;
}
2021-02-15 09:24:09 +03:00
}
}
}