- Replaced the favicon with a new app icon and added a shortcut icon for better branding. - Enhanced the sidebar branding in ChatView.vue by introducing a logo element for improved visual appeal. - Updated CSS styles to support new sidebar layout and icon display, ensuring a cohesive design. These changes collectively improve the user interface and branding consistency across the application.
1283 lines
24 KiB
CSS
1283 lines
24 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&family=Noto+Sans+JP&family=Noto+Sans+SC&family=Noto+Sans+Thai&display=swap');
|
|
|
|
:root {
|
|
--color-bg-app: #f4f6f5;
|
|
--color-bg-shell: #edf2ee;
|
|
--color-surface: #ffffff;
|
|
--color-surface-subtle: #f6f9f7;
|
|
--color-surface-muted: #eef3ef;
|
|
--color-border: #d7dfd9;
|
|
--color-border-strong: #c7d2ca;
|
|
--color-text-strong: #18201b;
|
|
--color-text: #2c362f;
|
|
--color-text-muted: #637067;
|
|
--color-primary-700: #245c3a;
|
|
--color-primary-600: #2f6f46;
|
|
--color-primary-500: #3d8654;
|
|
--color-primary-100: #e7f1ea;
|
|
--color-blue: #467bb2;
|
|
--color-pink: #d85f8c;
|
|
--color-gold: #c78a2c;
|
|
--color-purple: #8b60af;
|
|
--color-cyan: #5fa2bf;
|
|
--radius-sm: 8px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 8px;
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--header-height: 58px;
|
|
--menu-height: 42px;
|
|
--footer-height: 34px;
|
|
--sidebar-width: 188px;
|
|
}
|
|
|
|
.chat-container-auth {
|
|
flex-direction: column;
|
|
background: #f7f9f7;
|
|
}
|
|
|
|
.auth-main-layout {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.app-sidebar {
|
|
width: 224px;
|
|
flex-shrink: 0;
|
|
padding: 28px 14px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #e8f7ef;
|
|
border-right: 0;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
padding: 0 14px 34px;
|
|
color: #173a27;
|
|
}
|
|
|
|
.sidebar-brand-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.sidebar-brand-mark {
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 7px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.sidebar-brand strong {
|
|
display: block;
|
|
font-size: 16px;
|
|
line-height: 1.15;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sidebar-brand span {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #4e9872;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
}
|
|
|
|
.sidebar-nav button {
|
|
min-height: 42px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
display: grid;
|
|
grid-template-columns: 24px minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: transparent;
|
|
color: #54836d;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-align: left;
|
|
}
|
|
|
|
.sidebar-nav button:hover,
|
|
.sidebar-nav button.is-active {
|
|
background: #a9efcc;
|
|
color: #164d2c;
|
|
}
|
|
|
|
.sidebar-nav button.has-unread {
|
|
color: #9f4d4d;
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 6px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: currentColor;
|
|
background: rgba(255, 255, 255, 0.42);
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sidebar-badge {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: 8px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
background: #fff0f0;
|
|
color: #9f4d4d;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.sidebar-profile {
|
|
margin-top: auto;
|
|
min-height: 64px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: #c9f6dc;
|
|
color: #173a27;
|
|
}
|
|
|
|
.profile-avatar,
|
|
.icon-button {
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 8px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #2f7047;
|
|
color: #ffffff;
|
|
font-weight: 800;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.sidebar-profile span:last-child {
|
|
min-width: 0;
|
|
}
|
|
|
|
.sidebar-profile strong,
|
|
.sidebar-profile small {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sidebar-profile strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sidebar-profile small {
|
|
margin-top: 2px;
|
|
color: #5f7f6e;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.app-workspace {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.workspace-header {
|
|
height: 64px;
|
|
flex-shrink: 0;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(260px, 1fr) auto auto;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 28px;
|
|
background: #f7fbf8;
|
|
border-bottom: 1px solid #eef3ef;
|
|
}
|
|
|
|
.workspace-header h1 {
|
|
margin: 0;
|
|
color: #1d3f2b;
|
|
font-size: 21px;
|
|
line-height: 1;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.workspace-search {
|
|
width: min(280px, 24vw);
|
|
height: 40px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 0 18px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
background: #e3f8ed;
|
|
color: #6e9280;
|
|
text-align: left;
|
|
}
|
|
|
|
.workspace-search span {
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
color: #1e6840;
|
|
}
|
|
|
|
.workspace-search strong {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.icon-button {
|
|
border: 0;
|
|
background: #ecf7f1;
|
|
color: #1e6840;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
height: 100vh;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
font-family: 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Thai', sans-serif;
|
|
color: var(--color-text);
|
|
background: var(--color-bg-app);
|
|
}
|
|
|
|
body {
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.chat-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(61, 134, 84, 0.12), transparent 22%),
|
|
linear-gradient(180deg, var(--color-bg-app) 0%, var(--color-bg-shell) 100%);
|
|
}
|
|
|
|
.header {
|
|
min-height: var(--header-height);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 var(--space-4);
|
|
background: linear-gradient(180deg, rgba(208, 232, 216, 0.98) 0%, rgba(235, 245, 238, 0.94) 55%, rgba(247, 250, 248, 0.92) 100%);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.app-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.app-brand-mark {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 9px;
|
|
display: inline-block;
|
|
background: url('/appicon.png') center / cover no-repeat;
|
|
color: transparent;
|
|
font-size: 0;
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.app-brand-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app-brand-eyebrow {
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #5a6a61;
|
|
}
|
|
|
|
.header h1 {
|
|
margin: 2px 0 0;
|
|
color: var(--color-primary-700);
|
|
font-size: 17px;
|
|
line-height: 1;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.header-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.header-status-chip {
|
|
min-height: 26px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid #cadecf;
|
|
background: rgba(255, 255, 255, 0.7);
|
|
color: #445248;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu {
|
|
min-height: var(--menu-height);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
padding: 5px var(--space-3);
|
|
background: rgba(247, 250, 248, 0.92);
|
|
border-bottom: 1px solid var(--color-border);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.menu > * {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.menu button {
|
|
height: 30px;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-sm);
|
|
padding: 0 12px;
|
|
color: #425047;
|
|
background: transparent;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menu button:hover {
|
|
background: rgba(231, 241, 234, 0.8);
|
|
}
|
|
|
|
.menu button.is-active {
|
|
background: linear-gradient(180deg, #dceee1 0%, #cfe6d6 100%);
|
|
border-color: #b8d4bf;
|
|
color: #1f4f32;
|
|
}
|
|
|
|
.menu button.has-unread {
|
|
border-color: #d7c0c0;
|
|
background: #fff1f1;
|
|
color: #9d4545;
|
|
}
|
|
|
|
.menu button.has-unread.is-active {
|
|
background: linear-gradient(180deg, #f8e4e4 0%, #f1d2d2 100%);
|
|
border-color: #ddb7b7;
|
|
color: #8e3f3f;
|
|
}
|
|
|
|
.menu-info-text {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 26px;
|
|
padding: 0 10px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-surface-subtle);
|
|
color: var(--color-text-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.menu button span {
|
|
color: inherit;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: inline;
|
|
}
|
|
|
|
.horizontal-box {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Content-Seiten (FAQ/Regeln/Sicherheit/Feedback) sollen den Footer nach unten drücken. */
|
|
.chat-container > main {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.horizontal-box-app {
|
|
gap: 14px;
|
|
padding: 14px;
|
|
}
|
|
|
|
.user-list {
|
|
width: var(--sidebar-width);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 10px 8px;
|
|
background: linear-gradient(180deg, rgba(247, 250, 247, 0.95) 0%, rgba(242, 246, 243, 0.92) 100%);
|
|
border: 1px solid var(--color-border);
|
|
border-right: 1px solid var(--color-border);
|
|
border-radius: 16px;
|
|
box-shadow: 0 18px 40px rgba(31, 50, 39, 0.06);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.user-list h3 {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1.2;
|
|
color: var(--color-text-muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.user-list-scroll {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.user-item {
|
|
width: 100%;
|
|
min-height: 30px;
|
|
padding: 4px 6px;
|
|
border: 1px solid rgba(217, 225, 218, 0.8);
|
|
border-radius: var(--radius-sm);
|
|
display: grid;
|
|
grid-template-columns: 28px minmax(0, 1fr) auto;
|
|
gap: 6px;
|
|
align-items: center;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
text-align: left;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.user-item:hover {
|
|
border-color: var(--color-border-strong);
|
|
background: rgba(255, 255, 255, 0.92);
|
|
}
|
|
|
|
.user-item.is-active {
|
|
background: linear-gradient(180deg, rgba(236, 246, 239, 0.98) 0%, rgba(226, 239, 231, 0.96) 100%);
|
|
box-shadow: 0 8px 18px rgba(35, 54, 42, 0.06);
|
|
}
|
|
|
|
.user-item.gender-M {
|
|
background-image: linear-gradient(90deg, rgba(70, 123, 178, 0.22), rgba(255, 255, 255, 0.68) 72%);
|
|
}
|
|
|
|
.user-item.gender-F {
|
|
background-image: linear-gradient(90deg, rgba(216, 95, 140, 0.26), rgba(255, 255, 255, 0.68) 72%);
|
|
}
|
|
|
|
.user-item.gender-P {
|
|
background-image: linear-gradient(90deg, rgba(199, 138, 44, 0.24), rgba(255, 255, 255, 0.68) 72%);
|
|
}
|
|
|
|
.user-item.gender-TM {
|
|
background-image: linear-gradient(90deg, rgba(95, 162, 191, 0.22), rgba(255, 255, 255, 0.68) 72%);
|
|
}
|
|
|
|
.user-item.gender-TF {
|
|
background-image: linear-gradient(90deg, rgba(139, 96, 175, 0.22), rgba(255, 255, 255, 0.68) 72%);
|
|
}
|
|
|
|
.flag-icon {
|
|
width: 28px;
|
|
height: 20px;
|
|
margin: 0;
|
|
border-radius: 5px;
|
|
border: 1px solid var(--color-border);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.user-main {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.user-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--color-text-strong);
|
|
}
|
|
|
|
.user-country {
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
color: var(--color-text-muted);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.user-meta {
|
|
flex-shrink: 0;
|
|
text-align: right;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #536159;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 248, 246, 0.94) 100%);
|
|
box-shadow: 0 18px 40px rgba(31, 50, 39, 0.06);
|
|
}
|
|
|
|
.chat-window {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 18px 20px;
|
|
background: linear-gradient(180deg, #fbfdfb 0%, #f3f7f4 100%);
|
|
min-height: 0;
|
|
}
|
|
|
|
.output-box-format {
|
|
max-width: 78%;
|
|
border: 1px solid rgba(217, 226, 219, 0.9);
|
|
padding: 10px 12px;
|
|
margin-bottom: 10px;
|
|
border-radius: var(--radius-md);
|
|
line-height: 1.45;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 247, 0.96) 100%);
|
|
box-shadow: 0 10px 18px rgba(35, 54, 42, 0.05);
|
|
}
|
|
|
|
.output-box-format strong {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 11px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.ouput-box-format-self {
|
|
margin-left: auto;
|
|
background: linear-gradient(180deg, #dff0e4 0%, #d2e7d9 100%);
|
|
border-color: #c8dccf;
|
|
}
|
|
|
|
.output-box-format-other {
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 250, 247, 0.96) 100%);
|
|
}
|
|
|
|
.chat-input-container {
|
|
padding: 12px 16px;
|
|
background: linear-gradient(180deg, rgba(238, 245, 240, 0.92) 0%, rgba(247, 250, 248, 0.88) 100%);
|
|
flex-shrink: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto auto auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
position: relative;
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.chat-input-container input {
|
|
min-width: 0;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-sm);
|
|
background: linear-gradient(180deg, #fcfefc 0%, #f0f6f2 100%);
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.chat-input-container button {
|
|
height: 40px;
|
|
padding: 0 14px;
|
|
background: linear-gradient(180deg, #4a8d61 0%, #2c6240 100%);
|
|
color: white;
|
|
border: 1px solid #295f3d;
|
|
border-radius: var(--radius-sm);
|
|
min-height: 40px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.chat-input-container button:hover {
|
|
filter: brightness(1.02);
|
|
}
|
|
|
|
.chat-input-container .no-style {
|
|
width: 40px;
|
|
height: 40px !important;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-sm);
|
|
background: linear-gradient(180deg, #fdfefd 0%, #edf4ef 100%);
|
|
padding: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.chat-input-container .no-style:disabled {
|
|
opacity: 0.45;
|
|
cursor: default;
|
|
}
|
|
|
|
.chat-input-container .no-style > img {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.imprint-container {
|
|
min-height: var(--footer-height);
|
|
padding: 0 16px;
|
|
text-align: center;
|
|
font-size: 11px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 18px;
|
|
background: rgba(255, 255, 255, 0.94);
|
|
border-top: 1px solid var(--color-border);
|
|
}
|
|
|
|
.imprint-container a {
|
|
color: #54635a;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.imprint-container a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.login-form {
|
|
padding: 20px;
|
|
max-width: 720px;
|
|
}
|
|
|
|
.login-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
max-width: 40em;
|
|
padding: 18px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.86);
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.form-row label {
|
|
min-width: 100px;
|
|
color: var(--color-text-muted);
|
|
}
|
|
|
|
.form-row input,
|
|
.form-row select {
|
|
flex: 1;
|
|
height: 38px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-surface);
|
|
}
|
|
|
|
.form-row button {
|
|
padding: 0 15px;
|
|
background: linear-gradient(180deg, #4a8d61 0%, #2c6240 100%);
|
|
color: white;
|
|
border: 1px solid #295f3d;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
justify-self: start;
|
|
min-height: 38px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.welcome-message {
|
|
padding: 16px;
|
|
background: var(--color-surface-subtle);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.search-form,
|
|
.search-results,
|
|
.inbox-list,
|
|
.history-list,
|
|
.partners-view {
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
.search-result-item,
|
|
.inbox-item,
|
|
.history-item,
|
|
.partners-list li {
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid #e3e8e4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.search-result-item:hover,
|
|
.inbox-item:hover,
|
|
.history-item:hover {
|
|
background-color: #f4f7f4;
|
|
}
|
|
|
|
.back-link {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.back-link a,
|
|
.partners-list a {
|
|
color: var(--color-primary-700);
|
|
text-decoration: underline;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.partners-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.smiley-bar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
max-width: 220px;
|
|
position: absolute;
|
|
bottom: calc(100% + 8px);
|
|
right: 16px;
|
|
font-size: 24pt;
|
|
background-color: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
padding: 0.3em;
|
|
border-radius: 12px;
|
|
z-index: 10;
|
|
box-shadow: 0 16px 30px rgba(31, 50, 39, 0.12);
|
|
}
|
|
|
|
.smiley-item {
|
|
cursor: pointer;
|
|
padding: 0.2em;
|
|
margin: 0.1em;
|
|
display: inline-block;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.smiley-item:hover {
|
|
background-color: #f0f4f1;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.user-list {
|
|
width: 170px;
|
|
}
|
|
|
|
.menu {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.horizontal-box-app {
|
|
gap: 10px;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.horizontal-box {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.user-list {
|
|
width: 100%;
|
|
max-height: 150px;
|
|
border-right: 1px solid var(--color-border);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.content {
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.chat-input-container {
|
|
grid-template-columns: minmax(0, 1fr) auto auto;
|
|
}
|
|
|
|
.chat-input-container button:not(.no-style) {
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.header-status {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.chat-container-auth .menu {
|
|
min-height: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
justify-content: center;
|
|
gap: 22px;
|
|
overflow: visible;
|
|
}
|
|
|
|
.chat-container-auth .menu button {
|
|
height: 64px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: #88a095;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
position: relative;
|
|
}
|
|
|
|
.chat-container-auth .menu button:hover {
|
|
background: transparent;
|
|
color: #1f6e43;
|
|
}
|
|
|
|
.chat-container-auth .menu button.is-active::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 12px;
|
|
height: 2px;
|
|
background: #1f6e43;
|
|
}
|
|
|
|
.chat-container-auth .menu button.has-unread {
|
|
color: #9f4d4d;
|
|
background: transparent;
|
|
}
|
|
|
|
.chat-container-auth .menu-info-text {
|
|
min-height: 24px;
|
|
padding: 0 8px;
|
|
border: 0;
|
|
background: #eff6f2;
|
|
color: #62806f;
|
|
}
|
|
|
|
.chat-container-auth .horizontal-box-app {
|
|
padding: 14px 26px 24px;
|
|
gap: 24px;
|
|
background: linear-gradient(90deg, #fbfbfb 0%, #f8faf8 56%, #f2f7f3 100%);
|
|
}
|
|
|
|
.chat-container-auth .user-list {
|
|
width: 280px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.chat-container-auth .user-list h3 {
|
|
min-height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: #1c633c;
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.chat-container-auth .user-list-scroll {
|
|
gap: 10px;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.chat-container-auth .user-item {
|
|
min-height: 64px;
|
|
padding: 10px 12px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
grid-template-columns: 42px minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.chat-container-auth .user-item:hover,
|
|
.chat-container-auth .user-item.is-active {
|
|
background: #ffffff;
|
|
box-shadow: 0 12px 28px rgba(25, 45, 34, 0.06);
|
|
}
|
|
|
|
.chat-container-auth .user-item.gender-M,
|
|
.chat-container-auth .user-item.gender-F,
|
|
.chat-container-auth .user-item.gender-P,
|
|
.chat-container-auth .user-item.gender-TM,
|
|
.chat-container-auth .user-item.gender-TF {
|
|
background-image: none;
|
|
}
|
|
|
|
.user-avatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 8px;
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
background: linear-gradient(145deg, #1d2b24 0%, #43544a 100%);
|
|
color: #fff;
|
|
font-weight: 800;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.user-avatar::before {
|
|
content: attr(data-initial);
|
|
}
|
|
|
|
.user-status {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 8px;
|
|
position: absolute;
|
|
right: -1px;
|
|
bottom: 2px;
|
|
background: #32c46b;
|
|
border: 2px solid #ffffff;
|
|
}
|
|
|
|
.chat-container-auth .user-name {
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.chat-container-auth .user-country {
|
|
display: block;
|
|
margin-top: 3px;
|
|
font-size: 11px;
|
|
color: #616f66;
|
|
text-transform: none;
|
|
}
|
|
|
|
.chat-container-auth .user-main {
|
|
display: block;
|
|
}
|
|
|
|
.chat-container-auth .user-meta {
|
|
color: #88978e;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.chat-container-auth .content {
|
|
border: 0;
|
|
border-radius: 8px;
|
|
background:
|
|
radial-gradient(circle at 15% 100%, rgba(79, 152, 114, 0.15), transparent 24%),
|
|
linear-gradient(120deg, #ffffff 0%, #f9faf9 52%, #f3f5f3 100%);
|
|
box-shadow: 0 26px 70px rgba(29, 45, 36, 0.08);
|
|
}
|
|
|
|
.chat-container-auth .chat-window {
|
|
background: transparent;
|
|
padding: 28px;
|
|
}
|
|
|
|
.chat-container-auth .chat-input-container {
|
|
border-top: 1px solid #edf2ee;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.chat-container-auth .imprint-container {
|
|
height: 48px;
|
|
min-height: 48px;
|
|
border-top: 1px solid #eef3ef;
|
|
background: #ffffff;
|
|
color: #98a49d;
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.chat-container-auth {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.app-sidebar {
|
|
width: 100%;
|
|
min-height: 92px;
|
|
padding: 12px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.sidebar-brand {
|
|
padding: 0;
|
|
}
|
|
|
|
.sidebar-nav {
|
|
flex-direction: row;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.sidebar-nav button {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.workspace-header {
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.workspace-search {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.app-sidebar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar-profile {
|
|
display: none;
|
|
}
|
|
|
|
.workspace-header {
|
|
height: auto;
|
|
min-height: 58px;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.workspace-header .menu {
|
|
grid-column: 1 / -1;
|
|
justify-content: flex-start;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.chat-container-auth .horizontal-box-app {
|
|
padding: 10px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.chat-container-auth .user-list {
|
|
max-height: 190px;
|
|
}
|
|
}
|
|
|
|
/* Authenticated shell: keep these overrides at the end so the base app shell cannot override them. */
|
|
.chat-container.chat-container-auth {
|
|
flex-direction: column;
|
|
background: #edf7f1;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .app-sidebar {
|
|
width: 286px;
|
|
padding: 30px 16px 14px;
|
|
background: linear-gradient(180deg, #d6f4e7 0%, #d0efe2 100%);
|
|
border-right: 0;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .sidebar-brand {
|
|
color: #143d27;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .sidebar-brand span {
|
|
color: #3f8c65;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .sidebar-nav button {
|
|
min-height: 44px;
|
|
border-radius: 10px;
|
|
color: #5e8a73;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .sidebar-nav button:hover,
|
|
.chat-container.chat-container-auth .sidebar-nav button.is-active {
|
|
background: #a6efc7;
|
|
color: #114d2c;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .sidebar-profile {
|
|
border-radius: 10px;
|
|
background: #c4f5d9;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .app-workspace {
|
|
background: #f8faf8;
|
|
border-top: 1px solid #d6ddd8;
|
|
border-right: 1px solid #d6ddd8;
|
|
border-bottom: 1px solid #d6ddd8;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .workspace-header {
|
|
min-height: 82px;
|
|
padding: 0 24px;
|
|
background: linear-gradient(180deg, #dcf5ea 0%, #d7f1e6 100%);
|
|
border-bottom: 1px solid #cfd8d2;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .workspace-header h1 {
|
|
color: #183d27;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .workspace-search,
|
|
.chat-container.chat-container-auth .icon-button {
|
|
background: #cbeee0;
|
|
color: #165f37;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .horizontal-box-app {
|
|
gap: 18px;
|
|
padding: 12px 14px 16px;
|
|
background: linear-gradient(90deg, #fbfbfa 0%, #f6f8f6 54%, #eaf4ee 100%);
|
|
}
|
|
|
|
.chat-container.chat-container-auth .user-list {
|
|
width: 318px;
|
|
padding: 14px;
|
|
border: 1px solid #e1e8e3;
|
|
border-radius: 12px;
|
|
background: #ffffff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .content {
|
|
border-radius: 34px;
|
|
background:
|
|
radial-gradient(circle at 17% 100%, rgba(50, 125, 86, 0.24), transparent 28%),
|
|
linear-gradient(120deg, #f7f6f4 0%, #f1f0ed 54%, #e8f0eb 100%);
|
|
box-shadow: 0 28px 80px rgba(22, 40, 30, 0.08);
|
|
}
|
|
|
|
.chat-container.chat-container-auth .menu button {
|
|
color: #527a66;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .menu button:hover,
|
|
.chat-container.chat-container-auth .menu button.is-active {
|
|
color: #18683d;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .menu button.is-active::after {
|
|
background: #18683d;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .user-list h3 {
|
|
font-size: 17px;
|
|
line-height: 1.2;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
color: #17643c;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .user-item {
|
|
min-height: 64px;
|
|
border: 1px solid #edf2ee;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
}
|
|
|
|
.chat-container.chat-container-auth .user-item:hover,
|
|
.chat-container.chat-container-auth .user-item.is-active {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .chat-input-container {
|
|
border-top: 1px solid #d9e5de;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .chat-input-container button {
|
|
background: #1f6f43;
|
|
border-color: #1b633b;
|
|
}
|
|
|
|
.chat-container.chat-container-auth .imprint-container {
|
|
min-height: 58px;
|
|
border-top: 1px solid #d0d6d2;
|
|
background: #f0f2f1;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.chat-container.chat-container-auth {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.auth-main-layout {
|
|
flex-direction: column;
|
|
}
|
|
}
|