|
@@ -1,7 +1,7 @@
|
|
|
// https://bootswatch.com/vapor
|
|
|
|
|
|
-&[data-converse-theme="cyberpunk"],
|
|
|
-&[data-bs-theme="cyberpunk"] {
|
|
|
+&[data-converse-theme='cyberpunk'],
|
|
|
+&[data-bs-theme='cyberpunk'] {
|
|
|
$theme: 'vapor' !default;
|
|
|
|
|
|
// Hex color values
|
|
@@ -21,9 +21,22 @@
|
|
|
// Base variables
|
|
|
// --------------
|
|
|
--background-color: #1a0933;
|
|
|
- --background-color-lighter: #2C174C;
|
|
|
+ --background-color-lighter: #2c174c;
|
|
|
--foreground-color: var(--white);
|
|
|
|
|
|
+ // RGB values to be used with rgba()
|
|
|
+ // ---------------------------------
|
|
|
+ --background-color-rgb: 26, 9, 51;
|
|
|
+ --green-rgb: 60, 242, 129;
|
|
|
+ --orange-rgb: 255, 193, 7;
|
|
|
+ --pink-rgb: 234, 57, 185;
|
|
|
+ --purple-rgb: 111, 66, 193;
|
|
|
+
|
|
|
+ --chat-rgb: var(--green-rgb);
|
|
|
+ --muc-rgb: var(--orange-rgb);
|
|
|
+ --primary-rgb: var(--pink-rgb);
|
|
|
+ --secondary-rgb: var(--purple-rgb);
|
|
|
+
|
|
|
// Bootstrap variables
|
|
|
--primary-color: var(--pink) !important;
|
|
|
--secondary-color: var(--purple) !important;
|
|
@@ -35,6 +48,11 @@
|
|
|
--converse-body-bg: var(--background-color);
|
|
|
--converse-body-color: var(--foreground-color) !important;
|
|
|
--converse-highlight-color: var(--yellow);
|
|
|
+
|
|
|
+ .shadow-lg {
|
|
|
+ --converse-box-shadow-lg: 0 1rem 3rem var(--background-color);
|
|
|
+ }
|
|
|
+
|
|
|
.navbar-nav {
|
|
|
--converse-nav-link-color: var(--link-color) !important;
|
|
|
--converse-nav-link-hover-color: var(--link-color-hover) !important;
|
|
@@ -102,18 +120,95 @@
|
|
|
color: var(--foreground-color) !important;
|
|
|
}
|
|
|
|
|
|
- #controlbox {
|
|
|
- .flyout {
|
|
|
+ input {
|
|
|
+ background-color: rgba(var(--background-color-rgb), 0.7);
|
|
|
+ border: 1px solid rgba(var(--pink-rgb), 0.6);
|
|
|
+ color: var(--foreground-color);
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.25rem 0 rgba(var(--pink-rgb), 0.4),
|
|
|
+ 0 0 1rem 0 rgba(var(--pink-rgb), 0.2) !important;
|
|
|
+
|
|
|
+ &:focus {
|
|
|
+ background-color: rgba(var(--background-color-rgb), 0.9);
|
|
|
+ border-color: var(--purple);
|
|
|
box-shadow:
|
|
|
- 0 0 1rem 0rem rgba(234, 57, 184, 0.5) inset,
|
|
|
- 0 0 2rem 0rem rgba(234, 57, 184, 0.2) inset,
|
|
|
- 0 0 4rem 2rem rgba(234, 57, 184, 0.1) inset !important;
|
|
|
+ 0 0 0.5rem 0 rgba(var(--pink-rgb), 0.8),
|
|
|
+ 0 0 1.5rem 0 rgba(var(--pink-rgb), 0.4) !important;
|
|
|
+ outline: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Handle browser autofill */
|
|
|
+ &:-webkit-autofill,
|
|
|
+ &:-webkit-autofill:hover,
|
|
|
+ &:-webkit-autofill:focus {
|
|
|
+ -webkit-text-fill-color: var(--foreground-color);
|
|
|
+ -webkit-box-shadow:
|
|
|
+ 0 0 0px 1000px rgba(var(--background-color-rgb), 0.9) inset,
|
|
|
+ 0 0 0.5rem 0 rgba(var(--pink-rgb), 0.8),
|
|
|
+ 0 0 1.5rem 0 rgba(var(--pink-rgb), 0.4) !important;
|
|
|
+ transition: red 5000s ease-in-out 0s;
|
|
|
+ caret-color: var(--foreground-color);
|
|
|
+ background-color: rgba(var(--background-color-rgb), 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ #controlbox {
|
|
|
+ .converse-fullscreen & {
|
|
|
+ #converse-login {
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.5rem 0 rgba(var(--pink-rgb), 0.6) inset,
|
|
|
+ 0 0 2rem 0 rgba(var(--pink-rgb), 0.3) inset,
|
|
|
+ 0 0 3rem 2rem rgba(var(--purple-rgb), 0.1) inset,
|
|
|
+ 0 0 1rem 0.5rem rgba(var(--background-color-rgb), 0.5),
|
|
|
+ 0 0 2rem 1rem rgba(var(--background-color-rgb), 0.4) !important;
|
|
|
+ }
|
|
|
+ .footer {
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.5rem 0 rgba(var(--pink-rgb), 0.6) inset,
|
|
|
+ 0 0 2rem 0 rgba(var(--pink-rgb), 0.3) inset,
|
|
|
+ 0 0 3rem 2rem rgba(var(--pink-rgb), 0.1) inset,
|
|
|
+ 0 0 1rem 0.5rem rgba(var(--background-color-rgb), 0.6),
|
|
|
+ 0 0 2rem 1rem rgba(var(--background-color-rgb), 0.4) !important;
|
|
|
+ }
|
|
|
+ .navbar {
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.5rem 0 rgba(var(--pink-rgb), 0.6) inset,
|
|
|
+ 0 0 2rem 0 rgba(var(--pink-rgb), 0.3) inset,
|
|
|
+ 0 0 3rem 2rem rgba(var(--purple-rgb), 0.1) inset,
|
|
|
+ 0 0 1rem 0.5rem rgba(var(--background-color-rgb), 0.7),
|
|
|
+ 0 0 2rem 1rem rgba(var(--background-color-rgb), 0.2) !important;
|
|
|
+ }
|
|
|
+ .flyout {
|
|
|
+ box-shadow:
|
|
|
+ 0 0 1rem 0rem rgba(var(--purple-rgb), 0.5) inset,
|
|
|
+ 0 0 2rem 0rem rgba(var(--purple-rgb), 0.2) inset,
|
|
|
+ 0 0 4rem 2rem rgba(var(--purple-rgb), 0.1) inset !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .modal-header {
|
|
|
- .btn-close {
|
|
|
- background-color: var(--header-color);
|
|
|
+ .modal-content {
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.5rem 0 rgba(var(--secondary-rgb), 0.6) inset,
|
|
|
+ 0 0 2rem 0 rgba(var(--secondary-rgb), 0.3) inset,
|
|
|
+ 0 0 3rem 2rem rgba(var(--secondary-rgb), 0.1) inset !important;
|
|
|
+
|
|
|
+ .modal-header {
|
|
|
+ .btn-close {
|
|
|
+ svg {
|
|
|
+ fill: var(--primary-color);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .modal-title {
|
|
|
+ color: var(--primary-color);
|
|
|
+ }
|
|
|
+ background-color: var(--background-color);
|
|
|
+ box-shadow:
|
|
|
+ 0 0 0.5rem 0 rgba(var(--primary-rgb), 0.6) inset,
|
|
|
+ 0 0 2rem 0 rgba(var(--primary-rgb), 0.3) inset,
|
|
|
+ 0 0 3rem 2rem rgba(var(--secondary-rgb), 0.1) inset,
|
|
|
+ 0 0 1rem 0.5rem rgba(var(--background-color-rgb), 0.5),
|
|
|
+ 0 0 2rem 1rem rgba(var(--background-color-rgb), 0.4) !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -122,65 +217,65 @@
|
|
|
.separator-text {
|
|
|
border-radius: 50px;
|
|
|
box-shadow:
|
|
|
- 0 0 0.25rem rgba(60, 242, 129, 0.8),
|
|
|
- 0 0 1rem rgba(60, 242, 129, 0.2),
|
|
|
- 0 0 4rem rgba(60, 242, 129, 0.1) !important;
|
|
|
+ 0 0 0.25rem rgba(var(--chat-rgb), 0.8),
|
|
|
+ 0 0 1rem rgba(var(--chat-rgb), 0.2),
|
|
|
+ 0 0 4rem rgba(var(--chat-rgb), 0.1) !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.card {
|
|
|
box-shadow:
|
|
|
- inset 0 0 0.5rem rgba(234, 57, 184, 0.8),
|
|
|
- inset 0 0 1rem rgba(234, 57, 184, 0.4),
|
|
|
- inset 0 0 2rem rgba(234, 57, 184, 0.3),
|
|
|
- inset 0 0 4rem rgba(234, 57, 184, 0.1) !important;
|
|
|
+ inset 0 0 0.5rem rgba(var(--purple-rgb), 0.8),
|
|
|
+ inset 0 0 1rem rgba(var(--purple-rgb), 0.4),
|
|
|
+ inset 0 0 2rem rgba(var(--purple-rgb), 0.3),
|
|
|
+ inset 0 0 4rem rgba(var(--purple-rgb), 0.1) !important;
|
|
|
}
|
|
|
|
|
|
.chat-toolbar {
|
|
|
box-shadow:
|
|
|
- 0 0 0.5rem rgba(60, 242, 129, 0.4),
|
|
|
- 0 0 2rem rgba(60, 242, 129, 0.2),
|
|
|
- 0 0 4rem rgba(60, 242, 129, 0.1) !important;
|
|
|
+ 0 0 0.5rem rgba(var(--chat-rgb), 0.4),
|
|
|
+ 0 0 2rem rgba(var(--chat-rgb), 0.2),
|
|
|
+ 0 0 4rem rgba(var(--chat-rgb), 0.1) !important;
|
|
|
}
|
|
|
|
|
|
.chat-head-chatbox {
|
|
|
box-shadow:
|
|
|
- 0 0 1rem 0rem rgba(60, 242, 129, 0.5) inset,
|
|
|
- 0 0 2rem 0rem rgba(60, 242, 129, 0.4) inset,
|
|
|
- 0 0 4rem 2rem rgba(60, 242, 129, 0.2) inset,
|
|
|
- 0 0 1rem 0rem rgba(60, 242, 129, 0.4),
|
|
|
- 0 0 2rem 0rem rgba(60, 242, 129, 0.2),
|
|
|
- 0 0 4rem 0rem rgba(60, 242, 129, 0.1) !important;
|
|
|
+ 0 0 1rem 0rem rgba(var(--chat-rgb), 0.5) inset,
|
|
|
+ 0 0 2rem 0rem rgba(var(--chat-rgb), 0.4) inset,
|
|
|
+ 0 0 4rem 2rem rgba(var(--chat-rgb), 0.2) inset,
|
|
|
+ 0 0 1rem 0rem rgba(var(--chat-rgb), 0.4),
|
|
|
+ 0 0 2rem 0rem rgba(var(--chat-rgb), 0.2),
|
|
|
+ 0 0 4rem 0rem rgba(var(--chat-rgb), 0.1) !important;
|
|
|
}
|
|
|
|
|
|
.chatroom {
|
|
|
.message .separator-text {
|
|
|
border-radius: 50px;
|
|
|
box-shadow:
|
|
|
- 0 0 0.25rem rgba(255, 193, 7, 0.8),
|
|
|
- 0 0 1rem rgba(255, 193, 7, 0.2),
|
|
|
- 0 0 4rem rgba(255, 193, 7, 0.1) !important;
|
|
|
+ 0 0 0.25rem rgba(var(--muc-rgb), 0.8),
|
|
|
+ 0 0 1rem rgba(var(--muc-rgb), 0.2),
|
|
|
+ 0 0 4rem rgba(var(--muc-rgb), 0.1) !important;
|
|
|
}
|
|
|
|
|
|
.chat-head-chatroom {
|
|
|
box-shadow:
|
|
|
- 0 0 1rem 0rem rgba(255, 193, 7, 0.5) inset,
|
|
|
- 0 0 2rem 0rem rgba(255, 193, 7, 0.4) inset,
|
|
|
- 0 0 4rem 2rem rgba(255, 193, 7, 0.2) inset,
|
|
|
- 0 0 1rem 0rem rgba(255, 193, 7, 0.4),
|
|
|
- 0 0 2rem 0rem rgba(255, 193, 7, 0.2),
|
|
|
- 0 0 4rem 0rem rgba(255, 193, 7, 0.1) !important;
|
|
|
+ 0 0 1rem 0rem rgba(var(--muc-rgb), 0.5) inset,
|
|
|
+ 0 0 2rem 0rem rgba(var(--muc-rgb), 0.4) inset,
|
|
|
+ 0 0 4rem 2rem rgba(var(--muc-rgb), 0.2) inset,
|
|
|
+ 0 0 1rem 0rem rgba(var(--muc-rgb), 0.4),
|
|
|
+ 0 0 2rem 0rem rgba(var(--muc-rgb), 0.2),
|
|
|
+ 0 0 4rem 0rem rgba(var(--muc-rgb), 0.1) !important;
|
|
|
}
|
|
|
|
|
|
converse-muc-sidebar {
|
|
|
- box-shadow: 0 0 1rem 1rem rgba(255, 193, 7, 0.1) inset !important;
|
|
|
+ box-shadow: 0 0 1rem 1rem rgba(var(--muc-rgb), 0.1) inset !important;
|
|
|
}
|
|
|
|
|
|
.chat-toolbar {
|
|
|
box-shadow:
|
|
|
- 0 0 0.5rem rgba(255, 193, 7, 0.4),
|
|
|
- 0 0 2rem rgba(255, 193, 7, 0.2),
|
|
|
- 0 0 4rem rgba(255, 193, 7, 0.1) !important;
|
|
|
+ 0 0 0.5rem rgba(var(--muc-rgb), 0.4),
|
|
|
+ 0 0 2rem rgba(var(--muc-rgb), 0.2),
|
|
|
+ 0 0 4rem rgba(var(--muc-rgb), 0.1) !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -194,13 +289,13 @@
|
|
|
&:before {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
- top: 4rem;
|
|
|
+ top: 3rem;
|
|
|
width: 100%;
|
|
|
height: 0;
|
|
|
box-shadow:
|
|
|
0 0 1rem 0.5rem rgba(255, 255, 255, 0.5),
|
|
|
- 0 0 2rem 0rem rgba(234, 57, 184, 0.3),
|
|
|
- 0 0 4rem 2rem rgba(234, 57, 184, 0.1) !important;
|
|
|
+ 0 0 2rem 0rem rgba(var(--purple-rgb), 0.3),
|
|
|
+ 0 0 4rem 2rem rgba(var(--purple-rgb), 0.1) !important;
|
|
|
}
|
|
|
.container {
|
|
|
position: relative;
|