2024-07-20 14:54:52 +02:00
|
|
|
/* src/base.css */
|
2024-07-20 15:35:10 +02:00
|
|
|
#home-page {
|
|
|
|
|
--background-transparent: hsla(0, 0%, 100%, 40%);
|
|
|
|
|
--surface: hsla(0, 0%, 100%, 40%);
|
|
|
|
|
--surface-hover: hsla(0, 0%, 91%, 40%);
|
|
|
|
|
--surface-active: hsla(0, 0%, 78%, 40%);
|
|
|
|
|
}
|
|
|
|
|
@media (display-mode: browser) and (prefers-color-scheme: dark) {
|
2024-07-20 14:54:52 +02:00
|
|
|
#home-page {
|
2024-07-20 15:35:10 +02:00
|
|
|
--background-transparent: hsla(0, 0%, 5%, 30%);
|
|
|
|
|
--surface: hsla(0, 0%, 5%, 30%);
|
|
|
|
|
--surface-hover: hsla(0, 0%, 20%, 30%);
|
|
|
|
|
--surface-active: hsla(0, 0%, 44%, 30%);
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#background {
|
|
|
|
|
position: fixed;
|
2024-07-20 15:35:10 +02:00
|
|
|
top: 0px;
|
|
|
|
|
left: var(--safe-area-left);
|
|
|
|
|
right: var(--safe-area-right);
|
|
|
|
|
bottom: 0px;
|
2024-07-20 15:18:11 +02:00
|
|
|
z-index: 1;
|
2024-07-20 14:54:52 +02:00
|
|
|
pointer-events: none;
|
2024-07-20 15:35:10 +02:00
|
|
|
overflow: hidden;
|
2024-07-20 15:02:17 +02:00
|
|
|
opacity: 0.2;
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
2024-07-20 15:18:11 +02:00
|
|
|
main {
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
2024-07-20 14:54:52 +02:00
|
|
|
#background::after,
|
|
|
|
|
#background::before {
|
|
|
|
|
content: "";
|
2024-07-20 15:35:10 +02:00
|
|
|
position: absolute;
|
2024-07-20 14:54:52 +02:00
|
|
|
z-index: -1;
|
|
|
|
|
pointer-events: none;
|
2024-07-20 15:35:10 +02:00
|
|
|
filter: blur(60px);
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
|
#background {
|
|
|
|
|
background-image:
|
|
|
|
|
linear-gradient(
|
|
|
|
|
120deg,
|
2024-07-20 15:18:11 +02:00
|
|
|
hsla(210, 100%, 50%, 60%),
|
|
|
|
|
hsla(210, 100%, 50%, 55%),
|
|
|
|
|
transparent 60%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (display-mode: standalone) {
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
|
#background {
|
|
|
|
|
background-image:
|
|
|
|
|
linear-gradient(
|
|
|
|
|
120deg,
|
|
|
|
|
hsla(210, 100%, 50%, 80%),
|
|
|
|
|
hsla(210, 100%, 50%, 75%),
|
|
|
|
|
transparent 60%);
|
|
|
|
|
}
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
|
#background {
|
|
|
|
|
background-image:
|
|
|
|
|
linear-gradient(
|
|
|
|
|
120deg,
|
2024-07-20 15:02:17 +02:00
|
|
|
hsla(210, 100%, 50%, 50%),
|
|
|
|
|
hsla(210, 100%, 50%, 25%));
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
#background::before {
|
2024-07-20 15:02:17 +02:00
|
|
|
top: -130%;
|
|
|
|
|
left: -150%;
|
|
|
|
|
right: -800%;
|
|
|
|
|
bottom: -20%;
|
2024-07-20 14:54:52 +02:00
|
|
|
background-image:
|
|
|
|
|
radial-gradient(
|
|
|
|
|
transparent 60%,
|
2024-07-20 15:02:17 +02:00
|
|
|
hsla(110, 100%, 40%, 50%) 60%,
|
2024-07-20 14:54:52 +02:00
|
|
|
hsla(110, 100%, 20%, 40%));
|
|
|
|
|
}
|
|
|
|
|
#background::after {
|
2024-07-20 15:02:17 +02:00
|
|
|
top: -100%;
|
|
|
|
|
left: 0%;
|
|
|
|
|
right: -500%;
|
2024-07-20 14:54:52 +02:00
|
|
|
bottom: -50%;
|
|
|
|
|
background-image:
|
|
|
|
|
radial-gradient(
|
|
|
|
|
transparent 70%,
|
2024-07-20 15:02:17 +02:00
|
|
|
hsla(110, 100%, 30%, 90%) 70%,
|
|
|
|
|
hsla(110, 100%, 10%, 70%));
|
2024-07-20 14:54:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-20 14:16:26 +02:00
|
|
|
/* src/View/chatPage.css */
|
|
|
|
|
#chat-page-wrapper {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
#chat-page-wrapper[open] {
|
|
|
|
|
display: flex;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
right: 0px;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
background-color: var(--background);
|
2024-07-20 15:27:27 +02:00
|
|
|
z-index: 2;
|
|
|
|
|
}
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page {
|
|
|
|
|
--ribbon-size: calc(var(--control-height) + 2 * var(--gap-between-tiles));
|
|
|
|
|
}
|
|
|
|
|
#chat-page #ribbon,
|
|
|
|
|
#chat-page .toolbar,
|
|
|
|
|
#chat-page #main,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
2024-07-20 15:27:27 +02:00
|
|
|
#chat-page > div {
|
|
|
|
|
padding: 0px;
|
|
|
|
|
overflow: hidden;
|
2024-07-20 17:19:10 +02:00
|
|
|
display: flex;
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
flex: 1;
|
2024-07-20 15:27:27 +02:00
|
|
|
}
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main > div,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2024-07-20 14:16:26 +02:00
|
|
|
}
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main .content {
|
|
|
|
|
overflow: auto;
|
2024-07-20 17:30:36 +02:00
|
|
|
padding: var(--content-padding);
|
2024-07-20 15:02:17 +02:00
|
|
|
}
|
2024-07-20 15:49:58 +02:00
|
|
|
#chat-page #ribbon,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #main,
|
|
|
|
|
#chat-page #main .content {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
#chat-page #ribbon {
|
|
|
|
|
width: var(--ribbon-size);
|
|
|
|
|
border-right: 1px solid var(--border);
|
|
|
|
|
overflow: auto;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
#chat-page #main .toolbar {
|
|
|
|
|
height: var(--ribbon-size);
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
padding-left: var(--content-padding);
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
|
|
|
|
#chat-page #ribbon,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar {
|
|
|
|
|
align-items: center;
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
|
|
|
|
#chat-page #ribbon > span,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar > span {
|
2024-07-20 15:49:58 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding: var(--gap-between-tiles);
|
2024-07-20 16:28:00 +02:00
|
|
|
gap: var(--gap-between-tiles);
|
|
|
|
|
}
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page #ribbon > span {
|
|
|
|
|
width: 100%;
|
2024-07-20 15:49:58 +02:00
|
|
|
}
|
2024-07-20 16:28:00 +02:00
|
|
|
#chat-page #ribbon button,
|
2024-07-20 17:19:10 +02:00
|
|
|
#chat-page .toolbar button {
|
2024-07-20 15:49:58 +02:00
|
|
|
padding: 0px;
|
|
|
|
|
width: 100%;
|
2024-07-20 16:28:00 +02:00
|
|
|
max-width: var(--control-height);
|
2024-07-20 15:49:58 +02:00
|
|
|
height: var(--control-height);
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2024-07-20 14:16:26 +02:00
|
|
|
|
2024-07-19 23:45:07 +02:00
|
|
|
/* src/View/homePage.css */
|
|
|
|
|
#home-page > div {
|
2024-07-10 19:07:58 +02:00
|
|
|
display: flex;
|
2024-07-19 23:58:18 +02:00
|
|
|
flex-direction: row;
|
2024-07-19 23:45:07 +02:00
|
|
|
gap: var(--large-gap);
|
2024-07-19 23:58:18 +02:00
|
|
|
scroll-snap-type: x mandatory;
|
|
|
|
|
scroll-behavior: smooth;
|
2024-07-20 01:14:21 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
overflow-x: scroll;
|
2024-07-20 15:18:11 +02:00
|
|
|
padding: 0px;
|
2024-07-18 17:42:41 +02:00
|
|
|
}
|
2024-07-19 23:45:07 +02:00
|
|
|
#home-page > div > div {
|
2024-07-18 17:42:41 +02:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2024-07-19 23:45:07 +02:00
|
|
|
justify-content: start;
|
|
|
|
|
gap: var(--gap-between-tiles);
|
2024-07-20 01:14:21 +02:00
|
|
|
padding: var(--content-padding);
|
2024-07-20 15:18:11 +02:00
|
|
|
padding-top: calc(var(--header-height) + var(--content-margin));
|
2024-07-18 17:42:41 +02:00
|
|
|
width: 100%;
|
2024-07-19 23:58:18 +02:00
|
|
|
min-width: 100%;
|
2024-07-20 01:14:21 +02:00
|
|
|
height: 100%;
|
|
|
|
|
overflow: scroll;
|
2024-07-19 23:58:18 +02:00
|
|
|
scroll-snap-align: center;
|
2024-07-18 17:42:41 +02:00
|
|
|
}
|
2024-07-20 13:30:01 +02:00
|
|
|
#home-page #chat-grid {
|
|
|
|
|
margin-top: var(--content-padding);
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: var(--gap-between-tiles);
|
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
|
|
|
|
|
}
|
2024-07-19 23:58:18 +02:00
|
|
|
@media (min-width: 640px) {
|
|
|
|
|
#home-page #overview-section {
|
|
|
|
|
width: 20rem;
|
|
|
|
|
min-width: 20rem;
|
|
|
|
|
}
|
|
|
|
|
#home-page #chat-section {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: unset;
|
|
|
|
|
}
|
2024-07-18 17:42:41 +02:00
|
|
|
}
|
2024-07-19 23:58:18 +02:00
|
|
|
@media (min-width: 1200px) {
|
2024-07-19 23:45:07 +02:00
|
|
|
#home-page > div {
|
|
|
|
|
gap: 8rem;
|
2024-07-18 17:42:41 +02:00
|
|
|
}
|
2024-07-20 13:30:01 +02:00
|
|
|
#home-page #chat-grid {
|
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
}
|
2024-07-19 23:45:07 +02:00
|
|
|
#home-page #overview-section {
|
|
|
|
|
width: var(--max-input-width);
|
2024-07-19 23:58:18 +02:00
|
|
|
min-width: var(--max-input-width);
|
2024-07-18 23:25:37 +02:00
|
|
|
}
|
|
|
|
|
}
|
2024-07-20 13:30:01 +02:00
|
|
|
|
|
|
|
|
/* src/View/Components/chatEntry.css */
|
|
|
|
|
.chat-entry {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-end !important;
|
|
|
|
|
justify-content: start;
|
|
|
|
|
height: 8rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.chat-entry h2 {
|
|
|
|
|
margin: 0px;
|
|
|
|
|
}
|
|
|
|
|
.chat-entry .shadow {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -15px;
|
|
|
|
|
bottom: -45px;
|
|
|
|
|
font-size: 6rem;
|
|
|
|
|
opacity: 0.1;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|