| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102 |
- .inter-gc {
- font-family: "Inter", sans-serif;
- font-optical-sizing: auto;
- font-weight: 400;
- font-style: normal;
- }
- :root {
- --primary: #5468FF;
- --primary-light: #8590FF;
- --primary-dark: #3A4DB2;
- --myself: #E9EFFF;
- --myself-accent: #5468FF;
- --myself-accent-dark: #3A4DB2;
- --other: #EBFAEF;
- --other-accent: #4CAF50;
- --text-dark: #1A2138;
- --text-light: #5F6A8A;
- --background: #F9FAFC;
- --panel: #FFFFFF;
- --border: #E1E5EE;
- --shadow: 0 4px 12px rgba(84, 104, 255, 0.10);
- --hover-shadow: 0 6px 16px rgba(84, 104, 255, 0.18);
- --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
- }
- /*
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
- }
- body {
- background-color: var(--background);
- color: var(--text-dark);
- width: 100%;
- height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- overflow: hidden;
- }
- */
- .chat-container {
- /* width: 700px; */
- height: 900px;
- display: flex;
- flex-direction: column;
- border-radius: 16px;
- background-color: var(--panel);
- box-shadow: var(--shadow);
- overflow: hidden;
- position: relative;
- }
- .header {
- padding: 16px 24px;
- background-color: var(--panel);
- border-bottom: 1px solid var(--border);
- display: flex;
- align-items: center;
- justify-content: space-between;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
- position: relative;
- z-index: 10;
- }
- .header-left {
- display: flex;
- align-items: center;
- gap: 12px;
- }
- .course-info {
- display: flex;
- flex-direction: column;
- }
- .course-title {
- font-weight: 600;
- font-size: 16px;
- color: var(--text-dark);
- }
- .course-participants {
- font-size: 12px;
- color: var(--text-light);
- }
- .header-actions {
- display: flex;
- gap: 12px;
- }
- .icon-button {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- border: none;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: var(--background);
- color: var(--text-light);
- cursor: pointer;
- transition: var(--transition);
- }
- .icon-button:hover {
- background-color: var(--primary-light);
- color: white;
- transform: translateY(-2px);
- box-shadow: var(--hover-shadow);
- }
- .icon-button svg {
- width: 18px;
- height: 18px;
- }
- .tabs {
- display: flex;
- padding: 0 20px;
- background-color: var(--panel);
- border-bottom: 1px solid var(--border);
- position: relative;
- z-index: 5;
- }
- .tab {
- padding: 12px 16px;
- font-size: 14px;
- font-weight: 500;
- color: var(--text-light);
- cursor: pointer;
- border-bottom: 2px solid transparent;
- transition: var(--transition);
- position: relative;
- }
- .tab.active {
- color: var(--primary);
- border-bottom: 2px solid var(--primary);
- }
- .tab:hover:not(.active) {
- color: var(--text-dark);
- }
- .history-tabs {
- flex-wrap: wrap;
- flex-shrink: 0;
- padding: 0 8px;
- }
- .history-tab {
- border: 0;
- border-bottom: 2px solid transparent;
- background: transparent;
- font-family: inherit;
- }
- .history-tab:disabled {
- cursor: not-allowed;
- opacity: 0.5;
- }
- .comment-history {
- display: flex;
- flex: 1;
- flex-direction: column;
- min-height: 0;
- }
- .comment-invoice {
- font-size: 12px;
- color: var(--text-light);
- }
- .badge {
- position: absolute;
- top: 8px;
- right: 8px;
- background-color: var(--primary);
- color: white;
- font-size: 10px;
- font-weight: 500;
- padding: 1px 6px;
- border-radius: 10px;
- }
- .chat-content {
- flex: 1;
- overflow-y: auto;
- padding: 24px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- scroll-behavior: smooth;
- }
- .chat-content::-webkit-scrollbar {
- width: 6px;
- }
- .chat-content::-webkit-scrollbar-track {
- background: transparent;
- }
- .chat-content::-webkit-scrollbar-thumb {
- background-color: var(--border);
- border-radius: 6px;
- }
- .message {
- display: flex;
- flex-direction: column;
- max-width: 80%;
- animation: fadeIn 0.3s ease-out;
- }
- @keyframes fadeIn {
- from {
- opacity: 0;
- transform: translateY(10px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
- .message.myself {
- align-self: flex-end;
- }
- .message.other {
- align-self: flex-start;
- }
- .message-header {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 4px;
- }
- .avatar {
- width: 28px;
- height: 28px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 600;
- font-size: 12px;
- color: white;
- flex-shrink: 0;
- }
- .sender-name {
- font-size: 13px;
- font-weight: 600;
- }
- .timestamp {
- font-size: 11px;
- color: var(--text-light);
- margin-left: auto;
- }
- .message-bubble {
- padding: 12px 16px;
- border-radius: 16px;
- font-size: 14px;
- line-height: 1.5;
- position: relative;
- transition: var(--transition);
- }
- .myself .message-bubble {
- border-top-right-radius: 4px;
- }
- .other .message-bubble {
- border-top-left-radius: 4px;
- }
- .myself2 .avatar {
- background-color: var(--myself-accent);
- }
- .myself2 .sender-name {
- color: var(--myself-accent);
- }
- .myself2 .message-bubble {
- background-color: var(--myself);
- }
- .other2 .avatar {
- background-color: var(--other-accent);
- }
- .other2 .sender-name {
- color: var(--other-accent);
- }
- .other2 .message-bubble {
- background-color: var(--other);
- }
- .FIBU .avatar {
- /* red */
- background-color: #dc3545;
- }
- .FIBU .sender-name {
- color: #dc3545;
- }
- .FIBU .message-bubble {
- background-color: #d7c0c2;
- }
- .GSL .avatar {
- /* dark red */
- background-color: #6e131c;
- }
- .GSL .sender-name {
- color: #6e131c;
- }
- .GSL .message-bubble {
- background-color: #d8acb0;
- }
- .GWL .avatar {
- /* orange */
- background-color: #fd7e14;
- }
- .GWL .sender-name {
- color: #fd7e14;
- }
- .GWL .message-bubble {
- background-color: #f7d8bf;
- }
- .ZD .avatar {
- /* purple */
- background-color: #6f42c1;
- }
- .ZD .sender-name {
- color: #6f42c1;
- }
- .ZD .message-bubble {
- background-color: #9f8cc2;
- }
- .ALV .avatar {
- /* dark blue */
- background-color: #0c408f;
- }
- .ALV .sender-name {
- color: #0c408f;
- }
- .ALV .message-bubble {
- background-color: #7e9ecd;
- }
- .NAGA .avatar {
- /* blue */
- background-color: #0d6efd;
- }
- .NAGA .sender-name {
- color: #0d6efd;
- }
- .NAGA .message-bubble {
- background-color: #a1c5fa;
- }
- .Serviceleiter .avatar {
- /* green */
- background-color: #198754;
- }
- .Serviceleiter .sender-name {
- color: #198754;
- }
- .Serviceleiter .message-bubble {
- background-color: #7aa490;
- }
- .SC .avatar {
- /* teal */
- background-color: #20c997;
- }
- .SC .sender-name {
- color: #20c997;
- }
- .SC .message-bubble {
- background-color: #93d2bf;
- }
- .TUZ .avatar {
- /* grey */
- background-color: #5b6067;
- }
- .TUZ .sender-name {
- color: #5b6067;
- }
- .TUZ .message-bubble {
- background-color: #dce7f6;
- }
- .message-actions {
- display: flex;
- gap: 8px;
- margin-top: 6px;
- justify-content: flex-end;
- opacity: 0;
- transition: var(--transition);
- }
- .message:hover .message-actions {
- opacity: 1;
- }
- .action-button {
- background: none;
- border: none;
- font-size: 12px;
- color: var(--text-light);
- cursor: pointer;
- padding: 2px 6px;
- border-radius: 4px;
- transition: var(--transition);
- }
- .action-button:hover {
- background-color: rgba(84, 104, 255, 0.1);
- color: var(--primary);
- }
- .embed-content {
- margin-top: 10px;
- border-radius: 8px;
- overflow: hidden;
- border: 1px solid var(--border);
- background-color: white;
- transition: var(--transition);
- }
- .embed-content:hover {
- box-shadow: var(--shadow);
- transform: translateY(-2px);
- }
- .embed-header {
- padding: 10px 12px;
- background-color: rgba(84, 104, 255, 0.05);
- display: flex;
- align-items: center;
- gap: 8px;
- border-bottom: 1px solid var(--border);
- }
- .embed-icon {
- width: 20px;
- height: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--primary);
- }
- .embed-title {
- font-size: 12px;
- font-weight: 500;
- flex: 1;
- }
- .embed-body {
- padding: 12px;
- }
- .embed-image {
- width: 100%;
- border-radius: 6px;
- height: auto;
- object-fit: cover;
- }
- .embed-text {
- font-size: 13px;
- color: var(--text-light);
- margin-top: 8px;
- line-height: 1.4;
- }
- .embed-footer {
- padding: 8px 12px;
- border-top: 1px solid var(--border);
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .embed-button {
- background-color: var(--primary-light);
- color: white;
- font-size: 12px;
- font-weight: 500;
- padding: 6px 12px;
- border-radius: 6px;
- border: none;
- cursor: pointer;
- transition: var(--transition);
- }
- .embed-button:hover {
- background-color: var(--primary);
- transform: translateY(-1px);
- box-shadow: 0 3px 8px rgba(84, 104, 255, 0.2);
- }
- .date-divider {
- display: flex;
- align-items: center;
- gap: 12px;
- margin: 16px 0;
- opacity: 0.7;
- }
- .divider-line {
- flex: 1;
- height: 1px;
- background-color: var(--border);
- }
- .divider-text {
- font-size: 12px;
- color: var(--text-light);
- white-space: nowrap;
- }
- .typing-indicator {
- display: flex;
- align-items: center;
- gap: 4px;
- font-size: 12px;
- color: var(--text-light);
- padding: 8px 12px;
- margin-bottom: 8px;
- }
- .typing-dot {
- width: 5px;
- height: 5px;
- background-color: var(--text-light);
- border-radius: 50%;
- animation: typingAnimation 1.4s infinite ease-in-out;
- }
- .typing-dot:nth-child(1) {
- animation-delay: 0s;
- }
- .typing-dot:nth-child(2) {
- animation-delay: 0.2s;
- }
- .typing-dot:nth-child(3) {
- animation-delay: 0.4s;
- }
- @keyframes typingAnimation {
- 0%,
- 100% {
- transform: translateY(0);
- opacity: 0.5;
- }
- 50% {
- transform: translateY(-4px);
- opacity: 1;
- }
- }
- .input-area {
- padding: 16px 24px 24px;
- background-color: var(--panel);
- border-top: 1px solid var(--border);
- z-index: 10;
- }
- .toolbar {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 12px;
- }
- .toolbar form {
- width: 100%;
- }
- .tool-button {
- background: none;
- border: none;
- cursor: pointer;
- width: 32px;
- height: 32px;
- border-radius: 4px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--text-light);
- transition: var(--transition);
- }
- .tool-button:hover {
- background-color: rgba(84, 104, 255, 0.1);
- color: var(--primary);
- }
- .tool-button svg {
- width: 18px;
- height: 18px;
- }
- .input-container {
- display: flex;
- gap: 12px;
- align-items: center;
- }
- .message-input {
- flex: 1;
- padding: 14px 16px;
- border-radius: 10px;
- border: 1px solid var(--border);
- background-color: var(--background);
- font-size: 14px;
- resize: none;
- transition: var(--transition);
- height: 50px;
- width: 80%;
- outline: none;
- }
- .message-input:focus {
- border-color: var(--primary-light);
- box-shadow: 0 0 0 2px rgba(84, 104, 255, 0.1);
- }
- .send-button {
- background-color: var(--primary);
- color: white;
- border: none;
- width: 50px;
- height: 50px;
- border-radius: 12px;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: var(--transition);
- }
- .send-button:hover {
- background-color: var(--primary-dark);
- transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(84, 104, 255, 0.2);
- }
- .poll-container {
- padding: 12px;
- background-color: rgba(84, 104, 255, 0.05);
- border-radius: 8px;
- margin-top: 8px;
- }
- .poll-question {
- font-weight: 500;
- margin-bottom: 10px;
- font-size: 13px;
- }
- .poll-options {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .poll-option {
- background-color: white;
- border: 1px solid var(--border);
- padding: 8px 12px;
- border-radius: 6px;
- font-size: 13px;
- position: relative;
- cursor: pointer;
- transition: var(--transition);
- display: flex;
- justify-content: space-between;
- }
- .poll-option:hover {
- border-color: var(--primary-light);
- background-color: rgba(84, 104, 255, 0.03);
- }
- .poll-option.selected {
- border-color: var(--primary);
- background-color: rgba(84, 104, 255, 0.1);
- }
- .poll-option.selected::before {
- content: '';
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
- width: 3px;
- background-color: var(--primary);
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
- }
- .poll-percent {
- font-size: 12px;
- font-weight: 500;
- color: var(--primary);
- }
- .poll-votes {
- margin-top: 10px;
- font-size: 12px;
- color: var(--text-light);
- text-align: right;
- }
- .resource-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 10px;
- background-color: var(--background);
- border-radius: 6px;
- cursor: pointer;
- transition: var(--transition);
- text-decoration: none;
- color: var(--text-dark);
- border: 1px solid var(--border);
- }
- .resource-link:hover {
- background-color: rgba(84, 104, 255, 0.05);
- border-color: var(--primary-light);
- transform: translateY(-2px);
- box-shadow: var(--shadow);
- }
- .resource-icon {
- width: 36px;
- height: 36px;
- background-color: rgba(84, 104, 255, 0.1);
- border-radius: 6px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--primary);
- }
- .resource-info {
- flex: 1;
- }
- .resource-title {
- font-size: 13px;
- font-weight: 500;
- }
- .resource-desc {
- font-size: 11px;
- color: var(--text-light);
- }
- /* Responsive Styles */
- @media (max-width: 700px) {
- .chat-container {
- width: 100%;
- height: 100%;
- border-radius: 0;
- }
- .message {
- max-width: 90%;
- }
- .header-actions {
- gap: 8px;
- }
- .icon-button {
- width: 32px;
- height: 32px;
- }
- .tabs {
- padding: 0 10px;
- }
- .tab {
- padding: 12px 10px;
- font-size: 13px;
- }
- }
- /* Animation for new messages */
- @keyframes popIn {
- 0% {
- transform: scale(0.8);
- opacity: 0;
- }
- 50% {
- transform: scale(1.05);
- }
- 100% {
- transform: scale(1);
- opacity: 1;
- }
- }
- .pop-in {
- animation: popIn 0.3s forwards;
- }
- /* Resource expansion animation */
- .resource-expanded {
- max-height: 0;
- overflow: hidden;
- transition: max-height 0.3s ease;
- }
- .resource-expanded.active {
- max-height: 200px;
- }
- /* Tooltip Styles */
- .tooltip {
- position: relative;
- }
- .tooltip::after {
- content: attr(data-tooltip);
- position: absolute;
- bottom: 130%;
- left: 50%;
- transform: translateX(-50%);
- padding: 5px 10px;
- border-radius: 4px;
- background-color: rgba(26, 33, 56, 0.9);
- color: white;
- font-size: 11px;
- white-space: nowrap;
- opacity: 0;
- visibility: hidden;
- transition: all 0.2s ease;
- pointer-events: none;
- z-index: 100;
- }
- .tooltip::before {
- content: '';
- position: absolute;
- bottom: 120%;
- left: 50%;
- transform: translateX(-50%);
- border-width: 4px;
- border-style: solid;
- border-color: rgba(26, 33, 56, 0.9) transparent transparent transparent;
- opacity: 0;
- visibility: hidden;
- transition: all 0.2s ease;
- pointer-events: none;
- z-index: 100;
- }
- .tooltip:hover::after,
- .tooltip:hover::before {
- opacity: 1;
- visibility: visible;
- }
- /* Reaction Styles */
- .reactions {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- margin-top: 8px;
- }
- .reaction {
- font-size: 12px;
- padding: 2px 6px 2px 4px;
- background-color: rgba(84, 104, 255, 0.06);
- border-radius: 12px;
- display: flex;
- align-items: center;
- gap: 3px;
- cursor: pointer;
- transition: var(--transition);
- }
- .reaction:hover {
- background-color: rgba(84, 104, 255, 0.15);
- }
- .reaction.active {
- background-color: rgba(84, 104, 255, 0.2);
- font-weight: 500;
- }
- @media (min-width: 1400px) {
- .container,
- .container-lg,
- .container-md,
- .container-sm,
- .container-xl,
- .container-xxl {
- max-width: 1750px;
- }
- }
- .table th {
- font-size: smaller;
- background-color: #C3CCD4;
- }
- .btn-primary {
- --cui-btn-bg: #72889B;
- --cui-btn-border-color: #72889B;
- --cui-btn-hover-bg: #B1BCC7;
- --cui-btn-hover-border-color: #B1BCC7;
- }
- a {
- color: #52616f;
- }
- .footer {
- --cui-footer-bg: #B1BCC7;
- }
- .table thead
- {
- position: sticky;
- top: 40px;
- background: white;
- }
- .chat-input {
- padding: 15px 20px;
- border-top: 1px solid var(--border);
- display: flex;
- align-items: center;
- background-color: white;
- position: relative;
- z-index: 10;
- }
- .input-container {
- flex: 1;
- display: flex;
- align-items: center;
- background-color: var(--secondary);
- border-radius: 20px;
- padding: 0 15px;
- position: relative;
- }
- .input-container input {
- flex: 1;
- border: none;
- outline: none;
- height: 40px;
- background-color: transparent;
- padding: 0 10px;
- font-size: 15px;
- }
- .input-actions {
- display: flex;
- gap: 10px;
- }
- .input-btn {
- background: none;
- border: none;
- color: #888;
- cursor: pointer;
- transition: var(--transition);
- font-size: 18px;
- }
- .input-btn:hover {
- color: var(--primary);
- }
- .send-btn {
- background-color: var(--primary);
- color: white;
- width: 40px;
- height: 40px;
- border-radius: 50%;
- border: none;
- cursor: pointer;
- margin-left: 10px;
- transition: var(--transition);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .send-btn:hover {
- background-color: var(--primary-light);
- transform: scale(1.05);
- }
- .modal {
- --cui-modal-width: 80%;
- }
- .beleg-M1 td {
- color: #cc8800
- }
- .beleg-M2 td {
- color: #cc2200
- }
- .beleg-M3 td {
- color: #882200
- }
- ::-webkit-datetime-edit-year-field:not([aria-valuenow]),
- ::-webkit-datetime-edit-month-field:not([aria-valuenow]),
- ::-webkit-datetime-edit-day-field:not([aria-valuenow]) {
- color: #eee;
- }
- input[type="date"]:in-range::-webkit-datetime-edit-year-field,
- input[type="date"]:in-range::-webkit-datetime-edit-month-field,
- input[type="date"]:in-range::-webkit-datetime-edit-day-field,
- input[type="date"]:in-range::-webkit-datetime-edit-text {
- color: #eee;
- }
|