Spaces:
Running
Running
/** | |
* | |
* Copyright 2023-2025 InspectorRAGet Team | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
* | |
**/ | |
@use '@carbon/react/scss/spacing' as *; | |
@use '@carbon/colors' as *; | |
.page { | |
width: 100%; | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
padding: $spacing-05; | |
} | |
.pageHint { | |
position: absolute; | |
top: 1rem; | |
left: 40%; | |
z-index: 15; | |
max-width: 10rem; | |
} | |
.taskContainer { | |
height: calc(100vh - 10rem); | |
background-color: var(--cds-background); | |
margin: $spacing-03 0; | |
display: flex; | |
column-gap: $spacing-02; | |
} | |
.inputContainer { | |
width: 60%; | |
height: 100%; | |
margin-left: $spacing-03; | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-03; | |
} | |
.evaluationsContainer { | |
width: 40%; | |
height: 100%; | |
margin-left: auto; | |
display: flex; | |
flex-direction: column; | |
overflow-y: auto; | |
} | |
.tabContainer { | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-03; | |
overflow-y: auto; | |
} | |
.header { | |
display: flex; | |
align-items: center; | |
} | |
.headerActions { | |
align-self: flex-end; | |
margin-left: auto; | |
display: flex; | |
} | |
.questionContainer { | |
height: 15%; | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-03; | |
} | |
.questionTextContainer { | |
padding: $spacing-05; | |
border: $gray-30 solid 1px; | |
overflow-y: auto; | |
} | |
.conversationContainer { | |
height: 40%; | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-03; | |
} | |
.conversationUtteranceContainer { | |
height: 100%; | |
border: $gray-30 solid 1px; | |
padding: $spacing-03 $spacing-05; | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-05; | |
overflow-y: auto; | |
} | |
.inputTextContainer { | |
height: 100%; | |
border: $gray-30 solid 1px; | |
padding: $spacing-03 $spacing-05; | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-05; | |
overflow-y: auto; | |
} | |
.contextContainer { | |
height: 60%; | |
display: flex; | |
flex-direction: column; | |
flex-grow: 1; | |
overflow: scroll; | |
} | |
.contextDisclaimers { | |
display: flex; | |
flex-direction: column; | |
row-gap: $spacing-02; | |
margin-bottom: $spacing-03; | |
} | |
.contextOverlapDisclaimer { | |
display: flex; | |
align-items: center; | |
font-size: 14px; | |
color: #6f6f6f; | |
} | |
.tabContentHeader { | |
display: flex; | |
column-gap: $spacing-02; | |
align-items: baseline; | |
} | |
.documentInformation { | |
margin: $spacing-05; | |
display: flex; | |
column-gap: $spacing-02; | |
font-size: 16px; | |
line-height: 20px; | |
align-items: center; | |
} | |
.responseContainer { | |
line-height: 1.4em; | |
} | |
.addCommentBtn { | |
position: absolute; | |
bottom: $spacing-07; | |
right: $spacing-05; | |
opacity: 0.8; | |
z-index: 15; | |
height: 3rem; | |
width: 3rem; | |
border-radius: 50%; | |
border: solid $gray-40 1px; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
background-color: var(--cds-background-inverse); | |
color: var(--cds-background); | |
} | |
.addCommentBtn:hover { | |
opacity: 1; | |
} | |
.commentsContainer { | |
height: 100%; | |
width: 20%; | |
border-right: 1px dotted var(--cds-border-inverse); | |
padding: 0 $spacing-03; | |
overflow-y: auto; | |
} | |