2023-03-31 14:45:43 +00:00
|
|
|
:root {
|
|
|
|
--topbar-height: 56px;
|
|
|
|
--composer-height: 100px;
|
|
|
|
}
|
|
|
|
|
2023-01-16 12:08:24 +00:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#root {
|
|
|
|
height: 100%;
|
|
|
|
overscroll-behavior: none;
|
2023-03-22 09:39:42 +00:00
|
|
|
user-select: none;
|
2023-01-16 12:08:24 +00:00
|
|
|
}
|
|
|
|
|
2023-01-19 22:54:39 +00:00
|
|
|
*::selection {
|
|
|
|
color: #fff;
|
|
|
|
background: hsla(229, 71%, 57%, 1);
|
|
|
|
}
|
|
|
|
|
2023-01-16 12:08:24 +00:00
|
|
|
#app {
|
2023-04-04 13:52:02 +00:00
|
|
|
isolation: isolate;
|
2023-04-05 14:31:35 +00:00
|
|
|
height: 100vh;
|
2023-01-16 12:08:24 +00:00
|
|
|
display: grid;
|
2023-01-18 15:43:23 +00:00
|
|
|
grid-template-columns: 352px 1fr auto;
|
2023-01-16 12:08:24 +00:00
|
|
|
}
|
|
|
|
|
2023-04-05 14:31:35 +00:00
|
|
|
#sidebar-community {
|
|
|
|
overflow: auto;
|
2023-01-18 15:43:23 +00:00
|
|
|
height: 100vh;
|
2023-01-16 12:08:24 +00:00
|
|
|
}
|
2023-01-18 13:15:51 +00:00
|
|
|
|
2023-04-05 14:31:35 +00:00
|
|
|
#sidebar-members {
|
|
|
|
width: 352px;
|
2023-01-18 13:15:51 +00:00
|
|
|
overflow: auto;
|
2023-04-05 14:31:35 +00:00
|
|
|
background-color: #fff;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main {
|
|
|
|
position: relative;
|
2023-01-18 13:15:51 +00:00
|
|
|
}
|
2023-01-18 15:43:23 +00:00
|
|
|
|
2023-03-31 14:45:43 +00:00
|
|
|
#topbar {
|
|
|
|
position: absolute;
|
|
|
|
inset: 0 0 auto;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
|
2023-01-18 15:43:23 +00:00
|
|
|
#content {
|
2023-02-28 13:59:47 +00:00
|
|
|
position: relative;
|
2023-01-18 15:43:23 +00:00
|
|
|
overflow: auto;
|
2023-03-31 14:45:43 +00:00
|
|
|
padding-top: var(--topbar-height);
|
|
|
|
padding-bottom: var(--composer-height);
|
2023-02-10 16:25:13 +00:00
|
|
|
height: 100vh;
|
2023-04-05 14:31:35 +00:00
|
|
|
isolation: isolate;
|
2023-01-18 15:43:23 +00:00
|
|
|
}
|
|
|
|
|
2023-02-21 11:47:00 +00:00
|
|
|
#messages {
|
2023-03-31 14:45:43 +00:00
|
|
|
padding: 8px;
|
2023-02-21 11:47:00 +00:00
|
|
|
}
|
|
|
|
|
2023-03-22 13:42:04 +00:00
|
|
|
#anchor-actions {
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
transform: translateY(calc(-100% - 12px));
|
|
|
|
}
|
|
|
|
|
2023-02-14 16:36:38 +00:00
|
|
|
#composer {
|
2023-03-31 14:45:43 +00:00
|
|
|
position: absolute;
|
|
|
|
inset: auto 0 0;
|
2023-04-05 14:31:35 +00:00
|
|
|
z-index: 1;
|
2023-01-18 15:43:23 +00:00
|
|
|
}
|
2023-02-14 16:36:38 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
#app {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-04-05 12:48:38 +00:00
|
|
|
|
|
|
|
@keyframes gradient {
|
|
|
|
0% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
background-position: 100% 50%;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
background-position: 0% 50%;
|
|
|
|
}
|
|
|
|
}
|