ng-implementation/my-workspace/projects/sae-lib/src/styles/_layout_demo.scss

458 lines
7 KiB
SCSS
Raw Normal View History

2025-08-08 10:57:00 +02:00
@use 'variables';
#layout_demo {
.app-theme-light & {
2025-08-14 15:48:54 +02:00
background: variables.$white;
2025-08-08 10:57:00 +02:00
}
.app-theme-dark & {
background: #333;
}
.app-theme-funky & {
background: #ffe1e1;
}
}
2025-08-14 15:48:54 +02:00
.navbar {
background: #1b1d27;
color: white;
height: 60px;
2025-08-08 10:57:00 +02:00
2025-08-14 15:48:54 +02:00
.navbar-item {
padding-left: 24px;
padding-right: 24px;
2025-08-14 15:24:41 +02:00
2025-08-14 15:48:54 +02:00
&:last-of-type {
padding-right: 32px;
}
2025-08-14 15:24:41 +02:00
2025-08-14 15:48:54 +02:00
&.user-account-item {
2025-08-14 15:24:41 +02:00
2025-08-14 15:48:54 +02:00
background: #525668;
color: white;
}
2025-08-14 15:24:41 +02:00
2025-08-14 15:48:54 +02:00
&.is-active {
border-bottom: 2px solid #7FB8E7;
color: #7FB8E7;
}
2025-08-14 15:24:41 +02:00
2025-08-14 15:48:54 +02:00
&:hover {
background: #3B3E4D;
border-bottom: 2px solid #7FB8E7;
2025-08-14 14:58:17 +02:00
}
2025-08-14 15:48:54 +02:00
}
2025-08-14 14:58:17 +02:00
2025-08-14 15:48:54 +02:00
.navbar-brand {
margin-right: 35px;
2025-08-14 15:48:54 +02:00
.navbar-item {
padding: 10px;
margin-left: 16px;
border-bottom: 2px solid transparent;
2025-08-08 10:57:00 +02:00
2025-08-14 14:58:17 +02:00
2025-08-14 15:48:54 +02:00
i {
font-size: 24px;
}
2025-08-14 12:55:15 +02:00
2025-08-14 15:24:41 +02:00
2025-08-08 10:57:00 +02:00
}
2025-08-14 15:48:54 +02:00
}
2025-08-08 10:57:00 +02:00
2025-08-14 15:48:54 +02:00
.label {
color: #FFF;
font-family: Barlow;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-transform: uppercase;
margin-top: -0.25em;
}
2025-08-14 14:58:17 +02:00
2025-08-14 15:48:54 +02:00
}
.layout-split {
2025-08-08 10:57:00 +02:00
.navigation {
background: variables.$bg-color-nav;
color: variables.$neutral-white;
padding: variables.$spacing-1;
}
.nav-button {
width: 44px;
padding: 14px;
margin: 16px;
border-radius: 12px;
color: white;
}
#newChatBar {
margin: 20px 0;
2025-08-11 15:46:04 +02:00
.is-expanded-left & .column-conversation {
width: variables.$large-column-panel;
2025-08-12 15:22:58 +02:00
flex-basis: variables.$large-column-panel;
2025-08-12 16:00:56 +02:00
padding-right: 32px;
}
.column-main {
width: 1193px;
padding-top: 32px;
.title {
margin-left: 16px;
}
.export-chat-button {
float: right
}
2025-08-11 15:46:04 +02:00
}
2025-08-08 10:57:00 +02:00
}
.new-chat-title {
text-align: left;
2025-08-08 10:57:00 +02:00
font-size: 20px;
font-weight: 600;
2025-08-12 15:22:58 +02:00
width: 100%;
display: block;
.chips {
}
.title {
float: left;
}
.action {
float: right;
margin-top: -1.8em;
}
2025-08-08 10:57:00 +02:00
}
.search-button {
background: #f4f6fc;
@extend .nav-button !optional;
margin: 0 16px 0;
color: #1B1D27;
2025-08-12 16:00:56 +02:00
.funnel {
display: inline-block;
float: right;
height: 16px;
//background: blue;
}
&.is-expanded {
width: calc(100% - 12px);
margin-right: 12px;
}
2025-08-08 10:57:00 +02:00
}
.new-button {
background: linear-gradient(70deg, #07397C -37.98%, #1767AD 17.98%, #255B8E 53.85%);
@extend .nav-button !optional;
2025-08-13 18:38:30 +02:00
@extend .is-clickable !optional;
2025-08-12 16:00:56 +02:00
display: flex;
2025-08-13 18:38:30 +02:00
2025-08-12 16:00:56 +02:00
height: 44px;
justify-content: center;
align-items: center;
flex-shrink: 0;
2025-08-12 15:22:58 +02:00
i {
width: 20px;
margin-right: 10px;
2025-08-13 18:38:30 +02:00
margin-left: 10px;
2025-08-12 15:22:58 +02:00
float: left;
2025-08-13 18:38:30 +02:00
.is-expanded-left & {
margin-left: 0;
}
2025-08-12 15:22:58 +02:00
}
2025-08-11 15:46:04 +02:00
.label {
display: none;
2025-08-12 16:00:56 +02:00
color: #FFF;
text-align: center;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 100px;
2025-08-11 15:46:04 +02:00
.is-expanded-left & {
display: block;
2025-08-12 15:22:58 +02:00
width: 50%;
float: left;
2025-08-11 15:46:04 +02:00
}
2025-08-13 18:38:30 +02:00
}
.is-expanded-left & {
width: 284px;
2025-08-11 15:46:04 +02:00
}
2025-08-08 10:57:00 +02:00
}
.admin-actions {
2025-08-11 12:26:27 +02:00
padding: 0 12px 12px;
margin-left: 12px;
2025-08-08 10:57:00 +02:00
}
.column-conversation {
padding: 0 12px;
2025-08-11 15:46:04 +02:00
width: 90px;
.is-expanded-left & {
width: variables.$large-column-panel;
2025-08-12 15:22:58 +02:00
flex-basis: variables.$large-column-panel;
2025-08-12 16:00:56 +02:00
padding-right: 22px;
2025-08-11 15:46:04 +02:00
}
2025-08-08 10:57:00 +02:00
.conversation-container {
padding-left: 12px;
2025-08-14 15:24:41 +02:00
min-height: 90vh;
.actions {
position: relative;
top: 0;
right: 0;
background: white;
width: 30%;
float: right;
button {
background: transparent;
border: none;
display: none;
cursor: pointer;
&:hover {
background: variables.$primary-color;
color: white;
}
}
&:hover {
button {
display: block;
}
}
}
2025-08-08 10:57:00 +02:00
}
input {
display: none;
&.is-visible {
display: block;
}
}
.conversation-item {
2025-08-12 15:22:58 +02:00
margin-bottom: 16px;
margin-top: 16px;
padding: 16px 16px 18px 32px;
2025-08-08 10:57:00 +02:00
cursor: pointer;
2025-08-11 15:46:04 +02:00
border-radius: 8px;
color: #6D717C;
2025-08-08 10:57:00 +02:00
&:hover {
2025-08-11 15:46:04 +02:00
background: #3B87CC1A;
2025-08-08 10:57:00 +02:00
}
2025-08-12 15:22:58 +02:00
2025-08-08 10:57:00 +02:00
&.is-active {
2025-08-11 15:46:04 +02:00
background: rgba(#3B87CC1A, 10%);
font-weight: 600;
.active-peak {
position: relative;
2025-08-12 16:00:56 +02:00
right: calc(-100% - 16px);
2025-08-11 15:46:04 +02:00
top: -35px;
visibility: visible;
}
}
2025-08-12 15:22:58 +02:00
.pinned-icon {
position: relative;
left: -1.5em;
i {
color: #FEC553;
fill: #FEC553;
}
}
2025-08-11 15:46:04 +02:00
.active-peak {
visibility: hidden;
}
.name {
color: #1E1F22;
font-size: 14px;
2025-08-08 10:57:00 +02:00
font-weight: 600;
2025-08-11 15:46:04 +02:00
margin-bottom: 4px;
display: block;
2025-08-12 15:22:58 +02:00
margin-top: -1.5em;
2025-08-11 15:46:04 +02:00
}
.description {
color: #6D717C;
font-size: 12px;
font-weight: 400;
line-height: 20px;
margin-right: 4px;
}
.date {
color: rgba(#5F5F5F99, 60%);
float: right;
2025-08-12 15:22:58 +02:00
text-align: right;
font-family: Barlow;
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: 8px;
margin-top: -1.5em;
2025-08-08 10:57:00 +02:00
}
2025-08-11 15:46:04 +02:00
2025-08-08 10:57:00 +02:00
}
}
2025-08-11 15:46:04 +02:00
2025-08-12 15:22:58 +02:00
.chat-column {
2025-08-14 15:24:41 +02:00
min-width: 900px;
2025-08-14 15:48:54 +02:00
.is-small-right & {
min-width: 1200px;
}
2025-08-12 15:22:58 +02:00
}
2025-08-11 15:46:04 +02:00
.chatbot-container-box {
margin-top: 38px;
margin-right: 84px;
2025-08-11 15:46:04 +02:00
}
.conversation-title {
font-size: 1.5rem;
font-weight: 500;
padding: 16px;
text-align: left;
}
2025-08-08 10:57:00 +02:00
.chat {
2025-08-11 15:46:04 +02:00
2025-08-08 10:57:00 +02:00
text-align: center;
padding: variables.$spacing-1;
2025-08-11 15:46:04 +02:00
border-radius: 10px;
&.column {
border-radius: 10px;
2025-08-12 12:33:00 +02:00
2025-08-11 15:46:04 +02:00
}
.panel-more {
background: variables.$bg-color-chat;
width: 0;
display: none;
padding-top: 24px;
.export-chat-button {
margin-top: 16px;
margin-bottom: 16px;
float: right;
display: inline-block;
}
2025-08-11 15:46:04 +02:00
.is-expanded-right & {
width: variables.$large-column-panel !important;
margin-left: 10px;
}
}
.conversation-messages-container {
min-height: 600px;
2025-08-12 15:22:58 +02:00
max-height: 90vh;
2025-08-11 15:46:04 +02:00
margin: 0 auto;
2025-08-14 15:24:41 +02:00
padding-top: 50px;
2025-08-14 12:55:15 +02:00
padding-left: 60px;
padding-right: 60px;
2025-08-12 15:22:58 +02:00
overflow: auto;
min-width: 915px;
2025-08-11 15:46:04 +02:00
}
.main-conversation-container {
2025-08-14 15:48:54 +02:00
height: 100vh;
2025-08-11 15:46:04 +02:00
padding-top: 88px;
border-radius: 10px;
background: variables.$bg-color-chat;
2025-08-11 15:46:04 +02:00
}
2025-08-08 10:57:00 +02:00
}
2025-08-12 15:22:58 +02:00
2025-08-08 10:57:00 +02:00
}
2025-08-11 12:21:39 +02:00
2025-08-12 12:33:00 +02:00
.columns {
.column {
padding-top: 0;
2025-08-12 15:22:58 +02:00
&.panel-more {
width: 0px;
display: none;
margin-top: 16px;
2025-08-12 15:22:58 +02:00
&.expanded {
width: 516px;
flex-basis: 516px;
display: block;
2025-08-12 15:22:58 +02:00
}
}
2025-08-12 12:33:00 +02:00
}
}
2025-08-11 12:26:27 +02:00
2025-08-12 15:22:58 +02:00
.conversation-bottom {
2025-08-14 15:48:54 +02:00
padding: 10px 60px;
//margin-top: -100px;
margin-top: -43px;
2025-08-12 15:22:58 +02:00
}
2025-08-11 12:21:39 +02:00
.bottom-warning-container {
margin-left: 70px;
margin-top: 18px;
2025-08-13 18:38:30 +02:00
margin-bottom: -110px;
2025-08-12 16:00:56 +02:00
bottom: 12px;
.is-expanded-left & {
left: 300px;
}
2025-08-11 12:21:39 +02:00
}