InspectorRAGet / src /components /documents-viewer /DocumentsViewer.module.scss
kpfadnis's picture
chore (maintainance): Update depdencies, copyright and minimal support for chat template.
e23b66d
raw
history blame
2.14 kB
/**
*
* 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 *;
.documentsViewer {
display: flex;
flex-direction: column;
align-items: center;
}
.container {
width: 100%;
display: flex;
flex-direction: column;
border: solid 1px var(--cds-border-strong-01);
margin: 0 $spacing-04 $spacing-03;
}
.toolbar {
display: flex;
column-gap: $spacing-02;
align-items: center;
}
.document {
padding: $spacing-03;
height: 350px;
overflow: scroll;
background-color: var(--cds-background);
display: flex;
flex-direction: column;
}
.document article pre {
padding: 1%;
background-color: var(--cds-layer-01);
}
.documentHeader {
display: flex;
align-items: center;
}
.documentToolbar {
margin-left: auto;
align-self: flex-end;
}
.disclaimers {
align-self: flex-start;
margin: $spacing-03 $spacing-05 $spacing-05;
display: flex;
flex-direction: column;
row-gap: $spacing-02;
}
.overlapDisclaimer {
display: flex;
align-items: center;
font-size: 14px;
color: #6f6f6f;
}
.legendCopiedText {
color: #f1c21b;
mix-blend-mode: hard-light;
}
.feedbackContainer {
width: 95%;
display: flex;
flex-direction: column;
margin: 0 $spacing-05 $spacing-03;
align-self: flex-start;
row-gap: $spacing-03;
}
.feedbackMetricContainer {
display: flex;
justify-content: space-between;
align-items: center;
}
.feedbackMetricDescription {
display: flex;
column-gap: $spacing-02;
}
.feedbackMetricValues {
margin-left: auto;
align-self: flex-end;
}