Debian Codegraph @

sat_templates/templates/bulma/static/chat.css

raw symbols SCIP
1 html, body, #body {
2 height: 100%;
3 overflow: hidden;
4 }
5
6
7 .chat-main {
8 /* Base colors */
9 --color-background: #ffffff;
10 --color-text: #4a4a4a;
11
12 /* Message colors */
13 --message-background: #f5f5f5;
14 --message-hover-background: #e8e8e8;
15
16 }
17
18 [data-theme="dark"] .chat-main {
19 --color-background: #2c2c2c;
20 --color-text: #ffffff;
21
22 --message-background: #363636;
23 --message-hover-background: #404040;
24
25 }
26
27 .chat-container {
28 height: 100%;
29 overflow-y: auto;
30 }
31
32 .chat-main {
33 height: 100%;
34 display: flex;
35 flex-direction: column;
36 }
37
38 .columns.is-gapless.chat-container {
39 flex-wrap: nowrap;
40 }
41
42 .author {
43 font-weight: bold;
44 }
45 #messages {
46 flex-grow: 1;
47 overflow-y: auto;
48 padding: 1rem;
49 }
50
51 #left_panel a {
52 background-color: inherit;
53 }
54
55 .chat-input {
56 border-top: 1px solid #dbdbdb;
57 padding: 1rem;
58 }
59
60 .chat-input button, .chat-input input, .chat-input select {
61 height: auto;
62 min-height: 3rem;
63 }
64
65 #message_input_area, #message_input_area_rich {
66 height: 100%;
67 min-height: 3rem;
68 }
69
70 div.ql-editor {
71 margin: 0 2px;
72 min-height: 3rem;
73 border: 1px lightgray solid;
74 padding: 11px;
75 }
76
77 .media.chat-message {
78 max-width: 95%;
79 border: none;
80 margin: 0;
81 }
82
83 .message-core {
84 margin-bottom: 1rem;
85 padding: 0.75rem;
86 border-radius: 0.5rem;
87 overflow-wrap: anywhere;
88 background-color: #f5f5f5;
89 transition: background-color 0.2s, border-left 0.2s;
90 list-style-position: inside;
91 }
92 .message-core:hover, .message-core.has-popup-focus {
93 background-color: #e8e8e8;
94 border-left: 4px solid #3273dc;
95 }
96
97 .message-actions {
98 opacity: 0;
99 transition: opacity 0.3s ease-in-out;
100 }
101
102 .message-core:hover .message-actions,
103 .message-core.has-popup-focus .message-actions
104 {
105 opacity: 1;
106 }
107
108 .message-core:hover, .message-core.has-popup-focus {
109 background-color: #f5f5f5;
110 box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
111 }
112
113 .message-body {
114 white-space: pre-wrap;
115 overflow-wrap: break-word;
116 }
117
118 .message-attachment {
119 max-width: 20rem;
120 }
121 .status-icons {
122 display: inline;
123 }
124
125 .action-button {
126 box-sizing: border-box;
127 margin: 0 0.2rem;
128 user-select: none;
129 cursor: pointer;
130 z-index: 10;
131 }
132
133 .action-button:hover {
134 box-shadow: 0 0 0 10px rgba(0,0,0,0.1);
135 border-radius: 50%;
136 transition: box-shadow 0.3s ease;
137 }
138
139
140 /* Reply to indicator */
141 #reply-to {
142 background-color: var(--message-background);
143 border-left: 4px solid #3273dc;
144 padding: 0.5rem;
145 margin-bottom: 1rem;
146 border-radius: 0.25rem;
147 }
148
149 /* Sub Messages Panel */
150
151 div.panel-block {
152 overflow-y: auto;
153 }
154
155 #sub-messages {
156 overflow-y: auto;
157 }