1
0
Fork 0
mirror of https://github.com/owncast/owncast.git synced 2024-12-26 02:58:32 +03:00
owncast/static/web/styles/admin/main-layout.css

196 lines
4.4 KiB
CSS
Raw Normal View History

2023-01-05 03:10:57 +03:00
/* NOTE: This is used for the admin only! */
2022-10-11 02:43:23 +03:00
.app-container .side-nav {
position: fixed;
height: 100vh;
overflow: auto;
z-index: 10;
2023-02-01 08:26:51 +03:00
background-color: var(--theme-color-palette-1);
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .menu-container {
border-color: transparent;
2023-02-01 10:33:00 +03:00
background-color: unset;
color: var(--theme-color-components-text-on-dark);
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2023-02-11 02:39:20 +03:00
.app-container .menu-container .ant-menu-item-selected:not(.ant-menu-item-only-child),
.ant-menu-item a:hover,
.ant-menu-item a::before {
color: var(--theme-color-palette-12);
2023-02-11 02:31:10 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container h1.owncast-title {
padding: 1rem;
padding-bottom: 4px;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
2023-05-01 11:38:30 +03:00
margin-top: unset;
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container h1.owncast-title .logo-container {
2023-02-01 08:26:51 +03:00
background-color: var(--theme-color-palette-4);
2022-10-11 02:43:23 +03:00
padding-top: 4px;
padding-right: 6px;
padding-left: 6px;
border-radius: 9999px;
2023-03-06 04:51:56 +03:00
width: 60px;
height: 60px;
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container h1.owncast-title .title-label {
display: inline-block;
margin-left: 1rem;
2023-02-01 08:26:51 +03:00
color: var(--theme-color-palette-4);
2022-10-11 02:43:23 +03:00
font-size: 1.15rem;
font-weight: 200;
text-transform: uppercase;
line-height: normal;
letter-spacing: 0.05em;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .layout-main {
margin-left: 240px;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .layout-header {
display: flex;
flex-direction: row;
justify-content: flex-end;
padding-right: 1rem;
padding-left: 1rem;
2023-02-01 10:33:00 +03:00
background-color: var(--theme-color-background-main);
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .main-content-container {
2023-02-01 10:33:00 +03:00
background-color: var(--theme-color-palette-3);
2022-10-11 02:43:23 +03:00
padding: 2em 3em 3em;
min-width: 50vw;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .footer-container {
text-align: center;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .online-status-indicator {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .online-status-indicator .online-thumbnail {
width: 12.5rem;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .online-status-indicator .status-label {
2023-02-01 08:26:51 +03:00
color: var(--theme-color-palette-4);
2022-10-11 02:43:23 +03:00
text-transform: uppercase;
font-size: 0.75rem;
display: inline-block;
margin-right: 0.5rem;
color: var(--offline-color);
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .online-status-indicator .status-icon {
font-size: 1.5rem;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container .online-status-indicator .status-icon svg {
fill: var(--offline-color);
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.app-container.online .online-status-indicator .status-icon svg {
fill: var(--online-color);
}
2023-03-13 08:43:24 +03:00
.status-container .status-icon {
padding: 5px;
}
2022-10-11 02:43:23 +03:00
.app-container.online .online-status-indicator .status-label {
white-space: nowrap;
color: var(--online-color);
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
2023-05-01 06:17:07 +03:00
padding-top: 1em;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
2023-05-01 11:38:30 +03:00
.global-stream-title-container ::placeholder {
color: #696767;
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container {
flex-direction: row;
justify-content: center;
align-items: center;
margin-bottom: 0;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .input-side {
width: 400px;
2023-05-01 11:38:30 +03:00
border: 1px solid rgba(120, 113, 255, 0.5);
2023-05-01 06:17:07 +03:00
border-radius: 0.75rem;
2022-10-11 02:43:23 +03:00
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
@media (max-width: 800px) {
.global-stream-title-container .textfield-with-submit-container .input-side {
width: auto;
}
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .label-side {
display: none;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .lower-container {
width: auto;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .lower-container .lower-content {
flex-direction: column-reverse;
position: relative;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .lower-container .label-spacer,
.global-stream-title-container .textfield-with-submit-container .lower-container .field-tip {
display: none;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container .textfield-with-submit-container .lower-container .status-container {
line-height: 1;
position: absolute;
bottom: -2em;
}
2023-03-13 08:43:24 +03:00
2022-10-11 02:43:23 +03:00
.global-stream-title-container
.textfield-with-submit-container
.lower-container
.update-button-container {
margin: 0;
margin-left: 0.5em;
line-height: 1;
}
2022-12-17 05:10:41 +03:00
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
2023-01-05 13:20:54 +03:00
background-color: var(--theme-color-components-form-field-background);
2022-12-17 05:10:41 +03:00
}
2023-02-01 08:26:51 +03:00
2023-02-01 10:33:00 +03:00
.ant-menu-item a,
.ant-menu-submenu-expand-icon,
.ant-menu-submenu-arrow {
color: unset;
2023-02-01 08:26:51 +03:00
}
2023-05-05 04:03:58 +03:00
.ant-modal-title {
2023-05-05 04:15:32 +03:00
color: var(--theme-color-components-modal-header-text);
2023-05-05 04:03:58 +03:00
}