2021-01-09 22:12:14 +01:00
|
|
|
@import "~antd/dist/antd.dark";
|
|
|
|
|
2020-11-13 12:43:28 +01:00
|
|
|
$owncast-purple: rgba(90,103,216,1);
|
2020-10-22 10:03:15 +02:00
|
|
|
|
2020-09-30 23:59:20 +02:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2020-10-22 10:03:15 +02:00
|
|
|
font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
|
|
|
|
|
|
|
|
font-size: 16px;
|
2021-01-09 22:12:14 +01:00
|
|
|
|
2021-01-10 04:13:25 +01:00
|
|
|
background-color: #1f1f21;
|
2020-09-30 23:59:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2020-10-22 10:03:15 +02:00
|
|
|
color: rgba(90,103,216,1);
|
2020-09-30 23:59:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2021-01-18 04:51:38 +01:00
|
|
|
p {
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
2020-11-13 12:43:28 +01:00
|
|
|
pre {
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
|
|
|
margin: .5rem 0;
|
2021-01-10 11:37:22 +01:00
|
|
|
background-color: rgb(44, 44, 44);
|
|
|
|
color:lightgrey;
|
2020-11-13 12:43:28 +01:00
|
|
|
}
|
2021-01-09 22:12:14 +01:00
|
|
|
|
2021-01-03 10:54:04 +01:00
|
|
|
code {
|
|
|
|
color: var(--owncast-purple);
|
|
|
|
}
|
2020-10-22 10:03:15 +02:00
|
|
|
|
|
|
|
.owncast-layout .ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
|
|
|
background-color: $owncast-purple;
|
|
|
|
}
|
2021-01-03 09:29:37 +01:00
|
|
|
// GENERAL ANT FORM OVERRIDES
|
2021-01-10 04:13:25 +01:00
|
|
|
.ant-layout,
|
|
|
|
.ant-layout-footer,
|
|
|
|
.ant-menu,
|
|
|
|
.ant-menu.ant-menu-dark {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.ant-layout-header,
|
|
|
|
.ant-layout-sider {
|
|
|
|
background-color: #07050d;
|
|
|
|
}
|
|
|
|
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
|
|
|
|
// background-color: rgba(255,255,255,.05);
|
2021-01-17 00:33:48 +01:00
|
|
|
background-color: #140028;
|
2021-01-10 04:13:25 +01:00
|
|
|
}
|
2020-11-03 05:49:52 +01:00
|
|
|
.ant-card {
|
|
|
|
border-radius: .5em;
|
|
|
|
}
|
2021-01-03 10:54:04 +01:00
|
|
|
.ant-input-affix-wrapper {
|
|
|
|
border-radius: 5px;
|
2021-01-09 22:12:14 +01:00
|
|
|
background-color: rgba(255,255,255,.1);
|
|
|
|
|
2021-01-03 10:54:04 +01:00
|
|
|
textarea {
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
2021-01-09 22:12:14 +01:00
|
|
|
input {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2021-01-03 10:54:04 +01:00
|
|
|
}
|
2021-01-03 09:29:37 +01:00
|
|
|
.ant-btn-primary:hover, .ant-btn-primary:focus {
|
|
|
|
background-color: white;
|
|
|
|
color: #40a9ff;
|
|
|
|
}
|
|
|
|
.ant-btn.ant-btn-primary:focus {
|
2021-01-09 22:12:14 +01:00
|
|
|
border-color: white;
|
|
|
|
|
2021-01-03 09:29:37 +01:00
|
|
|
}
|
|
|
|
.ant-input-affix-wrapper,
|
|
|
|
.ant-btn {
|
|
|
|
transition-delay: 0s;
|
|
|
|
transition-duration: 0.15s;
|
|
|
|
}
|
2021-01-10 04:13:25 +01:00
|
|
|
.ant-table-thead > tr > th,
|
|
|
|
.ant-table-small .ant-table-thead > tr > th {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
2021-01-10 11:37:22 +01:00
|
|
|
.ant-modal-content {
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
.ant-modal-header {
|
|
|
|
background-color: #1c173d;
|
|
|
|
border-radius: 6px 6px 0 0;
|
|
|
|
}
|
|
|
|
.ant-modal-title {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2021-01-24 10:22:28 +01:00
|
|
|
.ant-modal-body {
|
|
|
|
background-color: #33333c;
|
|
|
|
}
|
|
|
|
.ant-modal-footer {
|
|
|
|
background-color: #222229;
|
|
|
|
}
|
2021-01-19 19:34:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
.ant-select-dropdown {
|
|
|
|
background-color: #334;
|
|
|
|
}
|
|
|
|
.rc-virtual-list-scrollbar {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-01-03 11:13:21 +01:00
|
|
|
// markdown editor overrides
|
|
|
|
|
2021-01-09 22:12:14 +01:00
|
|
|
.rc-md-editor {
|
|
|
|
// Set the background color of the preview container
|
|
|
|
.editor-container {
|
|
|
|
background-color: #E2E8F0;
|
|
|
|
color: rgba(45,55,72,1);
|
|
|
|
}
|
2021-01-03 11:13:21 +01:00
|
|
|
|
2021-01-09 22:12:14 +01:00
|
|
|
// Custom CSS for formatting the preview text
|
|
|
|
.markdown-editor-preview-pane {
|
|
|
|
// color:lightgrey;
|
|
|
|
a {
|
|
|
|
color: $owncast-purple;
|
2021-01-03 11:13:21 +01:00
|
|
|
}
|
2021-01-09 22:12:14 +01:00
|
|
|
h1 {
|
|
|
|
font-size: 2em;
|
2021-01-03 11:13:21 +01:00
|
|
|
}
|
2021-01-09 22:12:14 +01:00
|
|
|
}
|
2021-01-03 11:13:21 +01:00
|
|
|
|
2021-01-09 22:12:14 +01:00
|
|
|
// Custom CSS class used to format the text of the editor
|
|
|
|
.markdown-editor-pane {
|
|
|
|
color: white !important;
|
|
|
|
background-color: black;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Set the background color of the editor text input
|
|
|
|
textarea {
|
|
|
|
background-color: rgb(44,44,44) !important;
|
|
|
|
color:lightgrey !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide extra toolbar buttons.
|
|
|
|
.button-type-undo, .button-type-redo, .button-type-clear, .button-type-image, .button-type-wrap, .button-type-quote, .button-type-strikethrough, .button-type-code-inline, .button-type-code-block {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|