Spaces:
Running
Running
File size: 1,161 Bytes
ce1ab17 8ee4cb7 ce1ab17 8ee4cb7 ce1ab17 8ee4cb7 ce1ab17 8ee4cb7 ce1ab17 |
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 |
/*
* SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
* SPDX-License-Identifier: Apache-2.0
*/
.bubble {
display: block;
align-self: flex-start;
background: #1f1f1f;
color: #e8e8e8;
border-radius: var(--bubble-radius);
line-height: 1.5;
white-space: normal;
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
position: relative;
opacity: 0;
animation: bubbleAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
margin: 0.75rem 0;
overflow-wrap: break-word;
word-break: break-word;
vertical-align: middle;
padding: 1rem 1rem;
box-sizing: border-box;
max-width: 100%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.05);
transition: all 0.3s ease;
}
.bubble:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
transform: translateY(-1px);
}
@keyframes bubbleAppear {
to {
opacity: 1;
transform: translateY(0);
}
}
.bubble-user {
align-self: flex-end;
background: #2b2b2b;
color: #fff;
border-bottom-right-radius: 0.5rem;
box-shadow: none;
}
.bubble-assist {
align-self: flex-start;
background: transparent;
border: none;
box-shadow: none;
} |