Updating files for owncast 0.1.1; changing owncast theme

This commit is contained in:
Siina Mashek 2023-07-15 21:42:47 +03:00
parent dd437f9b71
commit 73c7761837
3 changed files with 294 additions and 77 deletions

View File

@ -4,6 +4,12 @@
Customisations for OwnCast Customisations for OwnCast
== owncast colours
* Action: #1DAD27
* Action Hover: #7BFA56
* Primary Button Border: #7BC965
== custom page content == custom page content
Please ignore how markdown parsers render this file since it is not intended for their parser systems. Please ignore how markdown parsers render this file since it is not intended for their parser systems.

View File

@ -10,9 +10,9 @@
Hardware: Hardware:
* **CPU:** Ryzen 7 3700X @ 4.40GHz * **CPU:** Ryzen 5 7600X @ 4.70GHz
* **GPU:** ASUS ROG Strix OC Radeon RX 580 8GB * **GPU:** Sapphire Pulse Radeon RX 6700 10GB DDR6
* **RAM:** 32GB DDR4 3600 MHz * **RAM:** 32GB DDR5 6000 MHz
* **Keyboard:** HyperX Alloy FPS Pro Mechanical * **Keyboard:** HyperX Alloy FPS Pro Mechanical
* **Mouse:** ASUS TUF Gaming M3 * **Mouse:** ASUS TUF Gaming M3
* **Microphone:** TONOR TC-2030 with arm * **Microphone:** TONOR TC-2030 with arm
@ -22,10 +22,8 @@ Hardware:
Software: Software:
* **OS:** Gentoo/Linux x86_64 * **OS:** Gentoo/Linux x86_64
* **Kernel:** 5.17.0-gentoo * **Desktop:** Plasma Wayland
* **Desktop:** Plasma 5.24.3 * **Broadcast Software:** OBS Studio
* **Mesa:** 22.0.0
* **Broadcast Software:** OBS Studio 27.2.3
</div> </div>
<div> <div>
@ -37,6 +35,6 @@ Software:
* 64 GB RAM * 64 GB RAM
* 2x512 GB NVMe * 2x512 GB NVMe
* 1Gbit/s network connection * 1Gbit/s network connection
* Owncast v0.0.11 * Owncast v0.1.1
</div> </div>

View File

@ -1,86 +1,299 @@
:root { /*
--header-bg-color: #222; Copyright 2023 Le fractal
--owncast-purple: #333; Permission is hereby granted, free of charge, to any person obtaining a copy
} of this software and associated documentation files (the Software), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
#logo-container { The above copyright notice and this permission notice shall be included in all
background-size: 2em; copies or substantial portions of the Software.
background-image: url("/logo");
}
.tab-bar [role="tab"][aria-selected="true"] { THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
background-color: #888; INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
} FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
.tab-bar [role="tab"]:hover { AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
background-color: #444; THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
} */
/* Custom theme by Le fractal - https://direct.disquette.top. */
.text-indigo-600 { /* shoutout appreciated! */
color: #8b9fc3; /* Smaller header */
} :root {
--header-height: 50px;
.text-gray-500 {
color: #666;
}
.text-gray-700 {
color: #aaa;
}
.text-gray-800 {
color: #aaa;
}
.bg-gray-300 {
background-color: #222;
}
.bg-white {
border-color: #aaa;
background-color: rgba(26,32,44,var(--bg-opacity));
}
/* Browser notify content */
#modal-content-content div {
background-color: #444;
color: #aaa;
}
/* Requires important because colour set by javascript */
#notify-button-container button {
background-color: #444 !important;
border-color: #666;
}
/* Invert the bell svg colour */
#notify-button-container .external-action-button img {
filter: invert(100%);
}
/*-- end browser notify content */
/* Formatting tech specs for thin vs wide */
#tech-specs-flex {
display: flex;
}
.column {
width: 50%;
}
@media (max-width: 960px) {
#tech-specs-flex {
display: initial;
} }
.column { [class^="Sidebar_root"],
width: 100%; [class*=" Sidebar_root"] {
top: calc(var(--header-height) - 1px);
} }
}
@media (min-width: 1540px) { /* Add padding to chat */
.user-content { [class^="ChatContainer_virtuoso"] > div > div,
margin: auto; [class*=" ChatContainer_virtuoso"] > div > div {
width: 75%; padding-left: 1em;
padding-right: 1em;
} }
}
/* Show user name for each message, inline */
[class^="ChatUserMessage_repeat"],
[class*=" ChatUserMessage_repeat"],
[class^="ChatUserMessage_user"],
[class*=" ChatUserMessage_user"] {
display: inline-block!important;
margin-right: 3px;
}
[class^="ChatUserMessage_user_"]::after,
[class*=" ChatUserMessage_user_"]::after,
[class^="ChatUserMessage_repeat"]::after,
[class*=" ChatUserMessage_repeat"]::after {
content: ": ";
font-weight: normal;
}
[class^="ChatUserMessage_userBadges"],
[class*=" ChatUserMessage_userBadges"] {
margin: 0px 0px 0px -4px !important;
float: left;
/* Show badges on left of username */
}
[class^="ChatUserMessage_message"] p,
[class*=" ChatUserMessage_message"] p {
display: inline;
}
/* Fix spacing between leading message and followups */
[class^="ChatUserMessage_messagePadding"],
[class*=" ChatUserMessage_messagePadding"] {
padding: 0;
}
/* Remove colorful border on messages */
[class^="ChatUserMessage_root"],
[class*=" ChatUserMessage_root"],
[class^="ChatUserMessage_ownMessage"],
[class*=" ChatUserMessage_ownMessage"] {
border: none!important;
margin-bottom: 0.3em;
}
/* Colors */
:root {
--darker-grey: #0B0C0D;
--lighter-grey-2: #29292E;
--lighter-grey: #131516;
--whitish: rgb(239, 239, 241);
}
body {
background-color: var(--darker-grey);
}
[class^="Header_header"],
[class*=" Header_header"] {
background-color: var(--darker-grey);
}
[class^="Content_mobileActionButtons"],
[class*=" Content_mobileActionButtons"] {
color: var(--theme-color-action);
font-weight: bolder;
}
#chat-container {
background-color: var(--lighter-grey);
}
[class^="ChatContainer_chatTextField"],
[class*=" ChatContainer_chatTextField"] {
border-top: none;
}
[class^="ChatTextField_root"],
[class*=" ChatTextField_root"] {
background-color: transparent;
}
header {
background-color: var(--darker-grey);
}
[class^="ChatUserMessage_background"],
[class*=" ChatUserMessage_background"] {
background-color: transparent!important;
}
[class^="DesktopContent_bottomSectionContent"],
[class*=" DesktopContent_bottomSectionContent"] {
background-color: var(--darker-grey);
color: #fff!important;
}
[class^="ContentHeader_root"],
[class*=" ContentHeader_root"] {
margin-top: 1em;
}
[class^="ContentHeader_titleSection"],
[class*=" ContentHeader_titleSection"] {
padding: 2em;
border-radius: var(--theme-rounded-corners);
background-color: var(--lighter-grey);
}
.ant-tabs-tab {
/*background-color: red;*/
color: var(--theme-color-action);
}
.ant-tabs-tab:hover {
color: var(--whitish);
}
.ant-tabs-tab-active {
/*background-color: lime!important;*/
background-color: transparent!important;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
color: var(--whitish)!important;
}
[class^="CustomPageContent_customPageContent"],
[class*=" CustomPageContent_customPageContent"],
[class^="Content_bottomPageContentContainer"],
[class*=" Content_bottomPageContentContainer"] {
background-color: var(--darker-grey);
color: var(--whitish);
}
[class^="CustomPageContent_customPageContent"] a,
[class*=" CustomPageContent_customPageContent"] a,
[class^="Content_bottomPageContentContainer"] a,
[class*=" Content_bottomPageContentContainer"] a {
filter: saturate(1);
text-decoration: underline;
font-weight: bold;
}
[class^="CustomPageContent_customPageContent"] hr,
[class*=" CustomPageContent_customPageContent"] hr {
border-top: 1px solid var(--lighter-grey-2);
}
[class^="ContentHeader_logoTitleSection"],
[class*=" ContentHeader_logoTitleSection"] {
color: var(--whitish);
}
[class^="ContentHeader_tagList"] > span,
[class*=" ContentHeader_tagList"] > span {
background-color: #393939;
color: rgb(140, 140, 140);
padding-left: 9px;
border-radius: 20px;
padding-right: 5px;
padding-bottom: 2px;
}
[class^="Logo_root"],
[class*=" Logo_root"] {
border-color: var(--theme-color-action-hover);
background-color: var(--theme-color-action);
}
a[class^="SocialLinks_link"],
a[class*=" SocialLinks_link"] {
/*background-color: var(--theme-color-components-primary-button-background);*/
background-color: var(--whitish);
padding: 5px;
width: 40px;
border-radius: 20px;
}
[class^="ChatTextField_root"] :empty::before,
[class*=" ChatTextField_root"] :empty::before {
color: var(--theme-color-action);
font-weight: bold;
}
[class^="ChatTextField_root"],
[class*=" ChatTextField_root"] {
color: var(--whitish);
}
[class^="ChatTextField_inputWrap"],
[class*=" ChatTextField_inputWrap"] {
background-color: transparent!important;
border: 1px solid var(--theme-color-action);
color: var(--whitish)!important;
}
[class^="ChatSystemMessage_chatSystemMessage"],
[class*=" ChatSystemMessage_chatSystemMessage"] {
/*
background: var(--theme-color-action);
background: linear-gradient(70deg,var(--theme-color-action),var(--theme-color-action-hover) 40%,var(--theme-color-action) 80%);
*/
background:none;
margin: 5px 5px 10px;
border-radius: 5px;
border-width: 1px;
border-style: solid;
padding: 12px;
}
/* Followers list */
[class^="FollowerCollection_followerRow"] > div > a,
[class*=" FollowerCollection_followerRow"] > div > a {
text-decoration: none;
}
[class^="FollowerCollection_followerRow"] > div > a > div,
[class*=" FollowerCollection_followerRow"] > div > a > div {
background-color: transparent;
}
[class^="SingleFollower_username"],
[class*=" SingleFollower_username"],
[class^="SingleFollower_account"],
[class*=" SingleFollower_account"] {
color: var(--whitish)!important;
font-weight: normal;
}
[class^="SingleFollower_account"],
[class*=" SingleFollower_account"] {
/*display: none!important;*/
}
[class^="SingleFollower_follower"],
[class*=" SingleFollower_follower"] {
border: none;
border-bottom: 3px solid transparent;
}
[class^="SingleFollower_follower"]:hover,
[class*=" SingleFollower_follower"]:hover {
border: none;
border-bottom: 3px solid var(--theme-color-action);
border-radius: 0
}
[class^="FollowerCollection_pagination"] > li > button,
[class*=" FollowerCollection_pagination"] > li > button,
[class^="FollowerCollection_pagination"] > li,
[class*=" FollowerCollection_pagination"] > li {
background-color: var(--lighter-grey-2)!important;
border: none!important;
font-weight: bold!important;
}
[class^="FollowerCollection_pagination"] > li > button,
[class*=" FollowerCollection_pagination"] > li > button,
[class^="FollowerCollection_pagination"] > li > a,
[class*=" FollowerCollection_pagination"] > li > a {
color: var(--whitish)!important;
}