thelounge-theme-nord/nord.css

371 lines
7.4 KiB
CSS

/*!
* Nord theme for TheLounge by SeraphimRP
*
* Based on Dracula by SpaceLenore, based on Solarized css file
* License: MIT
* Repo: https://github.com/SeraphimRP/thelounge-theme-nord/
*/
/* Samsung Internet and Microsoft Edge (yes, both of them use -webkit- prefix) */
::-webkit-input-placeholder {
color: var(--body-color-muted);
}
:root {
--body-bg-color: #2e3440;
--window-bg-color: #2e3440;
--body-color: #e5e9f0;
--body-color-muted: #9499a3;
--link-color: #8fbcbb;
--unread-marker-color: #8fbcbb;
--date-marker-color: #8fbcbb;
--highlight-bg-color: #434c5e;
--button-color: #8fbcbb;
--highlight-color: #8fbcbb;
--highlight-border-color: #8fbcbb;
--sidebar-color: #3b4252;
--background-light-color: #44475a;
--background-error: #bf616a;
--window-heading-color: #8fbcbb;
}
::placeholder {
color: var(--body-color-muted);
opacity: 1; /* fix opacity in Firefox */
}
::-webkit-scrollbar-thumb:vertical {
background: hsla(232, 14%, 31%, 0.4);
}
::-webkit-scrollbar-thumb:vertical:hover {
background: hsla(232, 14%, 31%, 0.5);
}
::-webkit-scrollbar-thumb:vertical:active {
background: hsla(232, 14%, 31%, 0.6);
}
html {
scrollbar-color: #2e3440 #8fbcbb;
scrollbar-width: thin;
}
#chat .msg[data-type="notice"] .content,
#chat .msg[data-type="notice"] .time,
#chat .msg[data-type="notice"] .user {
color: var(--highlight-color);
}
#loading .logo,
#windows .logo {
display: none;
}
#loading .logo-inverted,
#windows .logo-inverted {
display: inline-block;
}
#sidebar .logo-inverted {
height: 35px;
}
.input {
background-color: var(--background-light-color);
color: var(--body-color);
}
.jump-to-input .input {
background-color: var(--highlight-bg-color);
border: 1px solid var(--body-color-muted);
}
i.hostmask {
font-size: 90%;
font-style: normal;
opacity: 0.7;
}
.irc-monospace,
pre,
code,
kbd {
color: var(--body-color);
background-color: var(--highlight-bg-color);
border-color: var(--highlight-bg-color);
box-shadow: none;
text-shadow: none;
}
.channel-list-item.active,
#footer button.active {
background-color: var(--highlight-bg-color);
}
#chat .count::before,
#form #submit,
#form #upload,
#chat button.menu,
#viewport .lt,
#viewport .rt {
color: var(--body-color);
}
#chat .msg[data-type="topic"] .from::before,
#chat .msg[data-type="mode_channel"] .from::before,
#chat .msg[data-type="join"] .from::before {
color: var(--unread-marker-color);
}
#chat .msg[data-type="part"] .from::before,
#chat .msg[data-type="quit"] .from::before {
color: var(--background-error);
}
#context-menu,
.textcomplete-menu {
background-color: var(--window-bg-color);
border: 1px solid var(--background-light-color);
border-width: 0.5px;
}
.context-menu-item,
.textcomplete-item {
transition: none;
}
.context-menu-divider {
border: 1px solid var(--background-light-color);
border-width: 0.5px;
}
#loading,
#chat .userlist,
#windows .window,
body {
background-color: var(--body-bg-color);
color: var(--body-color);
}
#form,
#viewport .lt::after,
#chat .header,
#chat .content,
#chat .userlist {
border-color: var(--body-bg-color);
}
.context-menu-item,
.textcomplete-item a {
color: var(--body-color);
}
#chat .action .content,
#chat .action .from {
color: var(--highlight-color);
}
#chat .msg.self .content {
color: var(--body-color);
}
#chat .show-more .btn {
background: var(--unread-marker-color);
color: var(--body-bg-color);
border: 0;
border-radius: 0;
text-transform: uppercase;
transition: background 0.2s;
}
.btn-reconnect {
background: var(--background-error);
color: var(--body-color);
border: 0;
border-radius: 0;
margin: 0;
}
#input,
#windows #form .input,
#form,
#chat .userlist .count {
background-color: inherit;
}
/* Hide close button on channels, it is not used that frequently */
#sidebar .chan.channel .close {
display: none;
}
#sidebar .chan.active {
background-color: var(--window-bg-color);
}
#footer {
height: 43px;
line-height: 43px;
}
#footer .icon {
border-radius: 0;
}
.context-menu-item:focus,
.context-menu-item:hover,
.textcomplete-item:hover,
.textcomplete-menu .active,
#chat .userlist .user.active,
#sidebar,
#footer {
color: var(--body-color);
background-color: var(--sidebar-color);
}
#chat .userlist .search,
#windows #form .input {
border: 0;
color: var(--body-color);
}
#chat.colored-nicks .user.color-1,
#chat.colored-nicks .user.color-9,
#chat.colored-nicks .user.color-17,
#chat.colored-nicks .user.color-25 {
color: #bf616a;
}
#chat.colored-nicks .user.color-2,
#chat.colored-nicks .user.color-10,
#chat.colored-nicks .user.color-18,
#chat.colored-nicks .user.color-26 {
color: #d08770;
}
#chat.colored-nicks .user.color-3,
#chat.colored-nicks .user.color-11,
#chat.colored-nicks .user.color-19,
#chat.colored-nicks .user.color-27 {
color: #ebcb8b;
}
#chat.colored-nicks .user.color-4,
#chat.colored-nicks .user.color-12,
#chat.colored-nicks .user.color-20,
#chat.colored-nicks .user.color-28 {
color: #a3be8c;
}
#chat.colored-nicks .user.color-5,
#chat.colored-nicks .user.color-13,
#chat.colored-nicks .user.color-21,
#chat.colored-nicks .user.color-29 {
color: #b48ead;
}
#chat.colored-nicks .user.color-6,
#chat.colored-nicks .user.color-14,
#chat.colored-nicks .user.color-22,
#chat.colored-nicks .user.color-30 {
color: #5e81ac;
}
#chat.colored-nicks .user.color-7,
#chat.colored-nicks .user.color-15,
#chat.colored-nicks .user.color-23,
#chat.colored-nicks .user.color-31 {
color: #88c0d0;
}
#chat.colored-nicks .user.color-8,
#chat.colored-nicks .user.color-16,
#chat.colored-nicks .user.color-24,
#chat.colored-nicks .user.color-32 {
color: #81a1c1;
}
#chat .msg[data-type="monospace_block"] .text,
#chat .msg[data-type="motd"] .text,
#chat .toggle-content {
background-color: var(--background-light-color);
}
#chat .toggle-content,
#chat .toggle-text .body,
#chat .toggle-type-error {
color: var(--body-color-muted);
}
#chat .channel .msg.highlight .time {
color: var(--body-color);
}
#chat .channel .highlight .toggle-content {
background-color: var(--body-bg-color);
}
#chat table.channel-list td {
color: var(--body-color-muted);
}
#chat table.channel-list th,
#chat table.ban-list th,
#chat table.channel-list td,
#chat table.ban-list td {
border-bottom-color: var(--background-light-color);
}
/* Increase contrast of some IRC colors */
/* .irc-fg2 { color: #007ae6; }
.irc-fg5 { color: #e969a7; }
.irc-fg6 { color: #d20ff0; }
.irc-fg12 { color: #66b2ff; } */
@media (max-width: 768px) {
#sidebar-overlay {
background: rgba(0, 0, 0, 0.8);
}
}
@media (max-width: 479px) {
#chat .message .from .user::before {
content: "<";
}
#chat .message .from .user::after {
content: ">";
}
}
.channel-list-item.active[data-type="lobby"],
.channel-list-item[data-type="lobby"],
.channel-list-item[data-type="lobby"]:hover {
color: var(--highlight-color);
}
.channel-list-item[data-type="channel"]::before,
.context-menu-chan::before {
display: none;
}
#footer button:hover,
.channel-list-item:hover {
background-color: var(--highlight-bg-color);
}
.chat .toggle-text a {
color: var(--link-color);
}
#chat .msg[data-type="nick"] .from::before {
color: var(--highlight-color);
}
#chat button.mentions,
#chat button.menu,
#viewport .lt,
#viewport .rt {
color: var(--button-color);
}