2022-04-16 04:17:48 +03:00
|
|
|
<script>
|
|
|
|
import { HashIcon } from "svelte-feather-icons";
|
|
|
|
</script>
|
|
|
|
|
2022-04-15 02:39:13 +03:00
|
|
|
<style>
|
|
|
|
.main-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2022-04-16 04:17:48 +03:00
|
|
|
border-left: 1px solid var(--background-color-2);
|
2022-04-15 02:39:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.top-bar {
|
2022-04-16 04:17:48 +03:00
|
|
|
height: 3.4em;
|
2022-04-15 02:39:13 +03:00
|
|
|
width: 100%;
|
2022-04-16 04:17:48 +03:00
|
|
|
padding: var(--space-xs);
|
|
|
|
background-color: var(--background-color-1);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid var(--background-color-2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-heading {
|
|
|
|
margin-left: var(--space-xxs);
|
2022-04-15 02:39:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.messages-container {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2022-04-16 04:17:48 +03:00
|
|
|
background-color: var(--background-color-1);
|
2022-04-15 02:39:13 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-input-container {
|
|
|
|
width: 100%;
|
2022-04-16 04:17:48 +03:00
|
|
|
padding: var(--space-md);
|
|
|
|
background-color: var(--background-color-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-input {
|
|
|
|
height: 3.4em;
|
|
|
|
width: 100%;
|
|
|
|
background-color : var(--background-color-2);
|
|
|
|
border: none;
|
|
|
|
color: currentColor;
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
padding: var(--space-sm);
|
2022-04-15 02:39:13 +03:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="main-container">
|
|
|
|
<div class="top-bar">
|
2022-04-16 04:17:48 +03:00
|
|
|
<HashIcon />
|
|
|
|
<span class="h5 channel-heading">channel name</span>
|
2022-04-15 02:39:13 +03:00
|
|
|
</div>
|
|
|
|
<div class="messages-container">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="message-input-container">
|
2022-04-16 04:17:48 +03:00
|
|
|
<input type="text" class="message-input">
|
2022-04-15 02:39:13 +03:00
|
|
|
</div>
|
|
|
|
</div>
|