summary refs log tree commit diff
path: root/styles.less
blob: b1938ead926a0b47985123486a051decb74d1937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* i have no idea what im doing so */
body {
    /* why */
    margin: 0;
	height: 100vh;
}

.main {
	height: 100%;
	width: 100%;
	line-break: anywhere;
	word-break: break-all;
}

.channel {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: auto;
}

.messages {
	flex-grow: 1;
}

.topbar {
	background: white;
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-between;
}

.topbar.hidden {
	display: none;
}

.messageInput {
	background: white;
	position: sticky;
	bottom: 0;
}

.messageInputForm {
	display: flex;
}

.reply {
	color: #000000aa
}

.attachment {
	max-height: 25vw;
	max-width: 25vw;
	width: auto;
	height: auto;
}

#messageInput {
	flex-grow: 1;
}

.messageInput.disabled {
    display: none;
}

.message {
	p, h1, h2, h3, h4, h5, h6 {
		margin: 0;
	}
}

.message-header {
	display: flex;
	justify-content: space-between;
	.username {
		font-size: 1.3em;
	}
	.action-buttons {
		display: none;
	}
}
.message:hover {
	background: #0004;
	.action-buttons {
		display: block;
	}
}