Compare commits
43 Commits
2d00abc61e
...
main
Author | SHA1 | Date | |
---|---|---|---|
3d875682d1 | |||
78332ac9c4 | |||
cb659b4892 | |||
f617bc742d | |||
63a1211433 | |||
ed3dc8adc3 | |||
600d399544 | |||
6a6809e552 | |||
2133be5e73 | |||
0c102c6d06 | |||
a60cefb1c3 | |||
8b1e8f9b25 | |||
53efd046e4 | |||
f4265601af | |||
ae3acce994 | |||
215ea006d7 | |||
e074a692de | |||
0ef64f1f05 | |||
53abb7b32e | |||
921621e394 | |||
6388651b54 | |||
b3a2d1623d | |||
f96f00ad3e | |||
0c8544479e | |||
40d2f2fabc | |||
02ee6a2ba6 | |||
6b663d8abd | |||
72a9062a66 | |||
cbec6a6b37 | |||
7e3e2925aa | |||
c0a4284d89 | |||
7422543337 | |||
5b589c45b4 | |||
68edfd8b3e | |||
5ca4968e20 | |||
1834e67082 | |||
1638534b09 | |||
7e40f5571d | |||
f1f68f5e95 | |||
2045aad094 | |||
85aa58f766 | |||
b08c44983b | |||
3b23bd7790 |
@ -1,3 +1 @@
|
|||||||
# PeerTube dark theme
|
# Dark Theme for NCTV >v7.0.0
|
||||||
|
|
||||||
Dark theme for PeerTube.
|
|
||||||
|
299
assets/style.css
299
assets/style.css
@ -1,44 +1,49 @@
|
|||||||
:root {
|
|
||||||
--bs-border-color: #3d3f41;
|
|
||||||
--bs-link-color: #F57200;
|
|
||||||
--bs-link-hover-color: #2467cc
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
--red: #FF3B3B;
|
||||||
|
--green: #2E9D04;
|
||||||
|
|
||||||
--mainBackgroundColor: #121313;
|
--fg: #e0e0e1;
|
||||||
--mainForegroundColor: #FFF;
|
--bg: #111111;
|
||||||
--mainBackgroundHoverColor: #fef3ec;
|
|
||||||
|
|
||||||
/* Compat with PeerTube < 3.2 */
|
--input-fg: #e0e0e1;
|
||||||
--submenuColor: #202020;
|
--input-bg: #111;
|
||||||
--submenuBackgroundColor: #181818;
|
--input-placeholder: #d1d1d1;
|
||||||
|
--input-border-color: #a5a5a5;
|
||||||
|
|
||||||
|
/* --bg-secondary: hsl(30 4% 26% / 1); */
|
||||||
|
--bg-secondary: var(--nctv-bg-secondary);
|
||||||
|
|
||||||
|
--on-primary: #111;
|
||||||
|
--border-primary: var(--nctv-blue-secondary);
|
||||||
|
--primary: var(--nctv-blue-primary);
|
||||||
|
--menu-bg: var(--nctv-bg-secondary);
|
||||||
|
|
||||||
|
/**
|
||||||
|
NCTV Branding colors
|
||||||
|
*/
|
||||||
|
|
||||||
|
--nctv-blue-secondary: #0079b8ff;
|
||||||
|
--nctv-blue-primary: #32abeaff;
|
||||||
|
--nctv-blue-dark: #012741ff;
|
||||||
|
--nctv-accent-orange: #f57200ff;
|
||||||
|
--nctv-accent-orange-subtle: #d46400ff;
|
||||||
|
|
||||||
|
--nctv-bg-primary: #111111;
|
||||||
|
--nctv-bg-secondary: #202020;
|
||||||
|
--nctv-text-light: #d9d9d9;
|
||||||
|
|
||||||
--inputForegroundColor: #e0e0e1;
|
|
||||||
--inputBackgroundColor: var(--mainBackgroundColor);
|
|
||||||
--inputPlaceholderColor: #d1d1d1;
|
|
||||||
--textareaForegroundColor: #e0e0e1;
|
|
||||||
--textareaBackgroundColor: var(--mainBackgroundColor);
|
|
||||||
--markdownTextareaBackgroundColor: #30363d;
|
|
||||||
--greyForegroundColor: #bbb;
|
|
||||||
--greyBackgroundColor: #464340;
|
|
||||||
--greySecondaryBackgroundColor: #4e4d4a;
|
|
||||||
--actionButtonColor: #bbb;
|
|
||||||
--activatedActionButtonColor: #fff;
|
|
||||||
--channelBackgroundColor: #303030;
|
|
||||||
--mainColorVeryLight: #242320;
|
|
||||||
--mainColorLightest: #3f3834;
|
|
||||||
--mainColor: #0083F5;
|
|
||||||
--inputBorderColor: #a5a5a5;
|
|
||||||
--hoverColor: #2d2d2d0d;
|
|
||||||
--mainHoverColor: #2a4858;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
NCTV header text for desktop
|
||||||
|
*/
|
||||||
|
|
||||||
span.instance-name,
|
span.instance-name,
|
||||||
h1.instance-name.home-page,
|
h1.instance-name.home-page,
|
||||||
.custom-markup-container h1,
|
.custom-markup-container h1,
|
||||||
.custom-markup-container a.instance-name {
|
.custom-markup-container a.instance-name {
|
||||||
background: -webkit-linear-gradient(left, #0083F5, #f57200 65%) !important;
|
background: -webkit-linear-gradient(left, var(--nctv-blue-primary), var(--nctv-accent-orange) 65%) !important;
|
||||||
background-clip: text !important;
|
background-clip: text !important;
|
||||||
-webkit-background-clip: text !important;
|
-webkit-background-clip: text !important;
|
||||||
-moz-background-clip: text !important;
|
-moz-background-clip: text !important;
|
||||||
@ -48,226 +53,26 @@ h1.instance-name.home-page,
|
|||||||
font-weight: 900 !important;
|
font-weight: 900 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
input.p-inputtext.p-component.ng-star-inserted {
|
/**
|
||||||
color: white;
|
Alerts
|
||||||
|
*/
|
||||||
|
|
||||||
|
.alert.pt-alert-primary {
|
||||||
|
color: var(--nctv-text-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-markup-container a ,
|
/**
|
||||||
.modal-body p a {
|
Video thumbnail stuff
|
||||||
color: #f57200 !important;
|
*/
|
||||||
text-decoration: underline !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom-markup-container a:hover,
|
.video-thumbnail.ng-star-inserted:hover {
|
||||||
.modal-body p a:hover {
|
scale: 1.02;
|
||||||
color: #D16100 !important;
|
|
||||||
text-decoration: none !important;
|
|
||||||
font-weight: 900 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Get rid of the little bar under the like/dislike button until I can figure out how to align it properly
|
||||||
|
*/
|
||||||
|
|
||||||
.icon.icon-logo {
|
.likes-dislikes-bar-outer-container {
|
||||||
display: inline-block;
|
display: none;
|
||||||
margin-right: 5px;
|
|
||||||
border-radius: 0px;
|
|
||||||
margin-top: 0.25rem;
|
|
||||||
background: url(https://cdn.nicecrew.digital/nctv_color_icon.png) 0% 0% / contain no-repeat;
|
|
||||||
width: 4rem;
|
|
||||||
height: 2.75rem;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.custom-markup-container a {
|
|
||||||
color: #f57200 !important;
|
|
||||||
text-decoration: underline !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
input.p-inputtext.p-component.ng-star-inserted {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.external-login-blocks {
|
|
||||||
color: red;
|
|
||||||
font-size: 2rem;
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .svg.feather.feather-thumbs-up:hover {
|
|
||||||
color: green !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg.feather.feather-thumbs-up:active,
|
|
||||||
svg.feather.feather-thumbs-up:visited {
|
|
||||||
fill: green !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.action-button-like.activated {
|
|
||||||
fill: green !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.action-button-dislike.activated {
|
|
||||||
fill: red !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg.feather.feather-thumbs-down:hover {
|
|
||||||
color: red !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
svg.feather.feather-thumbs-down:active,
|
|
||||||
svg.feather.feather-thumbs-down:visited,
|
|
||||||
.action-button-dislike {
|
|
||||||
fill: red !important;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
a.video-thumbnail:hover {
|
|
||||||
transform: scale(1.02);
|
|
||||||
}
|
|
||||||
|
|
||||||
a.video-thumbnail {
|
|
||||||
background-color: transparent !important;
|
|
||||||
border-radius: 0.45rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.logged-in-block,
|
|
||||||
.logged-in-block > div {
|
|
||||||
background-color: #181818 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.danger-zone button,
|
|
||||||
.danger-zone input[type=submit] {
|
|
||||||
background-color: #af3221 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.danger-zone button:hover,
|
|
||||||
.danger-zone input[type=submit]:hover {
|
|
||||||
background-color: #61261e !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.channel-info {
|
|
||||||
background-color: #1c1c1c !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.video-miniature-account.ng-star-inserted {
|
|
||||||
color: #F57200;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.video-miniature-account.ng-star-inserted:hover {
|
|
||||||
color: #f5720085
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-link:hover {
|
|
||||||
color: #F57200 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-header {
|
|
||||||
color: var(--mainForegroundColor);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-item:active {
|
|
||||||
background-color: var(--hoverColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-menu {
|
|
||||||
--bs-dropdown-link-hover-bg: var(--hoverColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-menu,
|
|
||||||
.dropdown-divider {
|
|
||||||
border-color: var(--inputBorderColor);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .icon-logo {
|
|
||||||
background-color: #fff;
|
|
||||||
background-origin: content-box;
|
|
||||||
border-radius: 20px;
|
|
||||||
min-height: 29px;
|
|
||||||
min-width: 29px;
|
|
||||||
padding: 3px 4px 3px 8px;
|
|
||||||
} */
|
|
||||||
|
|
||||||
.ng-dropdown-panel {
|
|
||||||
border-color: var(--inputBorderColor);
|
|
||||||
}
|
|
||||||
|
|
||||||
.ng-optgroup {
|
|
||||||
background-color: var(--mainBackgroundColor) !important;
|
|
||||||
color: var(--inputPlaceholderColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ng-option-marked,
|
|
||||||
.ng-select-container,
|
|
||||||
.ng-select-container.ng-has-value,
|
|
||||||
.ng-select-container.ng-select-focused.ng-select-opened,
|
|
||||||
.ng-select-multiple {
|
|
||||||
background-color: var(--mainBackgroundColor) !important;
|
|
||||||
color: var(--mainForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ng-option:hover,
|
|
||||||
.ng-option.ng-option-selected {
|
|
||||||
background-color: #555 !important;
|
|
||||||
color: var(--mainForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ng-select-container .ng-arrow,
|
|
||||||
.peertube-select-container::after {
|
|
||||||
border-top-color: var(--mainForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ng-select.ng-select.ng-select-opened>.ng-select-container .ng-arrow {
|
|
||||||
border-bottom-color: var(--mainForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification {
|
|
||||||
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification svg,
|
|
||||||
.notifications-header svg,
|
|
||||||
.menu-link svg {
|
|
||||||
color: var(--greyForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification.unread {
|
|
||||||
background-color: #ffffff0d !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notifications-header {
|
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
|
|
||||||
color: var(--greyForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.popover {
|
|
||||||
--bs-popover-bg: var(--mainBackgroundColor) !important;
|
|
||||||
--bs-popover-body-color: var(--mainForegroundColor) !important;
|
|
||||||
--bs-popover-box-shadow: 0 .5rem 1rem rgba(255, 255, 255, .15) !important;
|
|
||||||
--bs-popover-header-color: var(--mainForegroundColor) !important
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress {
|
|
||||||
background-color: var(--greySecondaryBackgroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress>span,
|
|
||||||
.all-notifications,
|
|
||||||
.notifications-header svg:hover,
|
|
||||||
.menu-link:hover svg {
|
|
||||||
color: var(--mainForegroundColor) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.root-header {
|
|
||||||
box-shadow: 0 1px 3px rgba(200, 200, 200, .10) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
input#search-video {
|
|
||||||
box-shadow: rgba(200, 200, 200, 0.1) 0 1px 20px 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Livechat plugin styling */
|
|
||||||
|
|
||||||
.chat-msg__time {
|
|
||||||
display: none !important;
|
|
||||||
}
|
}
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-theme-nctv-dark",
|
"name": "peertube-theme-nctv-dark",
|
||||||
"version": "1.1.4",
|
"version": "3.0.0",
|
||||||
"description": "NCTV dark theme",
|
"description": "Dark theme for NCTV for PeerTube >7.0.0",
|
||||||
"engine": {
|
"engine": {
|
||||||
"peertube": ">=4.2.0"
|
"peertube": ">=7.0.0"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"peertube",
|
"peertube",
|
||||||
|
Reference in New Issue
Block a user