thelounge-theme-nord/nord.css

352 lines
7.0 KiB
CSS
Raw Normal View History

2019-10-17 17:02:22 -04:00
/*!
2021-08-03 10:46:58 -04:00
* Nord theme for TheLounge by SeraphimRP
2019-10-17 17:02:22 -04:00
*
2021-08-03 10:46:58 -04:00
* Based on Dracula by SpaceLenore, based on Solarized css file
2019-10-17 17:02:22 -04:00
* License: MIT
2021-08-03 10:46:58 -04:00
* Repo: https://github.com/SeraphimRP/thelounge-theme-nord/
2019-10-17 17:02:22 -04:00
*/
/* Samsung Internet and Microsoft Edge (yes, both of them use -webkit- prefix) */
::-webkit-input-placeholder {
color: var(--body-color-muted);
}
:root {
2021-08-03 10:46:58 -04:00
--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;
--highlight-color: #8fbcbb;
--highlight-border-color: #8fbcbb;
--sidebar-color: #3b4252;
2019-10-17 17:02:22 -04:00
--background-light-color: #44475a;
2021-08-03 10:46:58 -04:00
--background-error: #bf616a;
2019-10-17 17:02:22 -04:00
}
::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 {
2021-08-03 10:46:58 -04:00
scrollbar-color: #2e3440 #8fbcbb;
2019-10-17 17:02:22 -04:00
scrollbar-width: thin;
}
#loading .logo,
#windows .logo {
display: none;
}
#loading .logo-inverted,
#windows .logo-inverted {
display: inline-block;
}
#sidebar .logo-inverted {
height: 35px;
}
2021-08-03 10:46:58 -04:00
.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);
}
2019-10-17 17:02:22 -04:00
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 {
2021-08-03 10:46:58 -04:00
background-color: var(--highlight-bg-color);
}
2019-10-17 17:02:22 -04:00
#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);
}
2019-10-17 17:02:22 -04:00
#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,
2019-10-17 17:02:22 -04:00
#chat .content,
#chat .userlist {
2021-08-03 10:46:58 -04:00
border-color: var(--body-bg-color);
2019-10-17 17:02:22 -04:00
}
.context-menu-item,
.textcomplete-item a {
color: var(--body-color);
}
#chat .action .content,
#chat .action .from {
color: var(--highlight-color);
}
#chat .msg.self .content {
2019-10-17 17:02:22 -04:00
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);
2021-08-03 10:46:58 -04:00
background-color: var(--sidebar-color);
2019-10-17 17:02:22 -04:00
}
#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 {
2021-08-03 10:46:58 -04:00
color: #bf616a;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-2,
#chat.colored-nicks .user.color-10,
#chat.colored-nicks .user.color-18,
#chat.colored-nicks .user.color-26 {
2021-08-03 10:46:58 -04:00
color: #d08770;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-3,
#chat.colored-nicks .user.color-11,
#chat.colored-nicks .user.color-19,
#chat.colored-nicks .user.color-27 {
2021-08-03 10:46:58 -04:00
color: #ebcb8b;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-4,
#chat.colored-nicks .user.color-12,
#chat.colored-nicks .user.color-20,
#chat.colored-nicks .user.color-28 {
2021-08-03 10:46:58 -04:00
color: #a3be8c;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-5,
#chat.colored-nicks .user.color-13,
#chat.colored-nicks .user.color-21,
#chat.colored-nicks .user.color-29 {
2021-08-03 10:46:58 -04:00
color: #b48ead;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-6,
#chat.colored-nicks .user.color-14,
#chat.colored-nicks .user.color-22,
#chat.colored-nicks .user.color-30 {
2021-08-03 10:46:58 -04:00
color: #5e81ac;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-7,
#chat.colored-nicks .user.color-15,
#chat.colored-nicks .user.color-23,
#chat.colored-nicks .user.color-31 {
2021-08-03 10:46:58 -04:00
color: #88c0d0;
2019-10-17 17:02:22 -04:00
}
#chat.colored-nicks .user.color-8,
#chat.colored-nicks .user.color-16,
#chat.colored-nicks .user.color-24,
#chat.colored-nicks .user.color-32 {
2021-08-03 10:46:58 -04:00
color: #81a1c1;
2019-10-17 17:02:22 -04:00
}
#chat .msg[data-type="monospace_block"] .text,
#chat .msg[data-type="motd"] .text,
2019-10-17 17:02:22 -04:00
#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: ">";
}
}
2021-08-03 10:46:58 -04:00
.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);
}