ng-implementation/sae-csc/src/app/shared/translate-texts/translate-texts.scss

143 lines
2.6 KiB
SCSS
Raw Normal View History

2025-09-15 16:09:20 +02:00
@use '../../../../../my-workspace/projects/sae-lib/src/styles/variables';
2025-08-22 11:57:56 +02:00
:host {
2025-09-15 13:03:21 +02:00
.translate-texts {
display: flex;
flex-direction: row;
justify-content: start;
gap: 16px;
}
#fromText,
#toText {
padding: variables.$spacing-4 42px variables.$spacing-4 variables.$spacing-4;
box-shadow: 0 19px 29px 0 rgba(30, 31, 34, 0.05);
background: white;
height: 235px;
width: 648px;
overflow-y: auto;
}
.delete-button {
border: 0;
border-radius: 100%;
2025-09-15 16:09:20 +02:00
background: #fff;
2025-09-15 13:03:21 +02:00
color: grey;
cursor: pointer;
padding: 10px;
float: right;
width: 37px;
visibility: hidden;
z-index: 10;
position: relative;
2025-09-15 16:09:20 +02:00
right: -26px;
2025-09-15 13:03:21 +02:00
&:hover {
2025-09-15 16:09:20 +02:00
background: #F2F2F2;
2025-09-15 13:03:21 +02:00
color: #222;
display: block;
}
&.is-visible {
visibility: visible;
}
}
2025-08-22 11:57:56 +02:00
textarea {
width: 100%;
2025-09-15 13:03:21 +02:00
height: 200px;
2025-08-22 11:57:56 +02:00
flex-shrink: 0;
border-radius: 4px;
2025-09-15 13:03:21 +02:00
border-width: 0;
2025-08-22 11:57:56 +02:00
2025-09-15 13:03:21 +02:00
color: variables.$csc-text-color;
font-size: variables.$spacing-4;
2025-08-22 11:57:56 +02:00
font-style: normal;
font-weight: 400;
line-height: 140%; /* 22.4px */
2025-09-15 13:03:21 +02:00
margin-top: -40px;
background: transparent;
2025-08-22 11:57:56 +02:00
2025-09-15 13:03:21 +02:00
&::placeholder {
color: variables.$csc-textarea-placeholder-color;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 140%;
width: 370px;
}
2025-08-22 11:57:56 +02:00
}
2025-09-10 16:02:31 +02:00
.click-file-upload {
cursor: pointer;
2025-09-15 13:03:21 +02:00
display: inline-flex;
height: 34px;
padding: 8px 20px;
justify-content: center;
align-items: center;
flex-shrink: 0;
color: variables.$csc-nav-color;
border-radius: variables.$radius-4;
border: 1px solid var(--color-text-title, variables.$csc-nav-color);
background: var(--color-background-card-on-base, #FFF);
left: 0;
2025-09-15 16:09:20 +02:00
top: 68px;
2025-09-15 13:03:21 +02:00
position: relative;
font-weight: 600;
i {
margin-left: 10px;
}
2025-09-10 16:02:31 +02:00
}
2025-08-22 11:57:56 +02:00
2025-09-15 13:03:21 +02:00
.file-selected {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-radius: 4px;
padding: 10px;
2025-08-22 11:57:56 +02:00
2025-09-15 13:03:21 +02:00
background: variables.$csc-file-selector-bg-color;
2025-08-22 11:57:56 +02:00
2025-09-15 13:03:21 +02:00
.labeling {
display: flex;
flex-direction: row;
justify-content: start;
div {
padding-right: 10px;
}
}
.label {
color: variables.$csc-text-color;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 19.6px */
}
.weight {
color: variables.$csc-light-text-color;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 140%;
}
2025-08-22 11:57:56 +02:00
}
2025-09-15 13:03:21 +02:00
#fileUploadTranslator {
display: none;
2025-08-22 11:57:56 +02:00
}
}