next-ucap-messenger/projects/ucap-webmessenger-ui/src/lib/components/translation-section.component.scss

96 lines
1.9 KiB
SCSS
Raw Normal View History

2020-01-08 20:42:14 +09:00
.translation-preview {
position: relative;
display: flex;
flex-flow: row;
justify-items: flex-end;
color: #ffffff;
.translation-section {
display: flex;
flex: 1 1 auto;
font-size: 1.1em;
2020-01-09 18:44:04 +09:00
.translate-text {
2020-01-10 12:10:07 +09:00
margin: 14px 20px 14px 30px;
2020-01-09 18:44:04 +09:00
max-height: 100px;
2020-01-10 12:10:07 +09:00
word-wrap: break-word;
2020-01-09 18:44:04 +09:00
white-space: pre-wrap;
2020-01-10 12:10:07 +09:00
word-break: break-word;
2020-01-09 18:44:04 +09:00
overflow-y: auto;
display: flex;
flex: 1 1 auto;
}
.btn-translation-send {
2020-01-10 12:10:07 +09:00
align-self: center;
stroke: #ffffff;
2020-01-09 18:44:04 +09:00
width: 40px;
height: 40px;
2020-01-10 12:10:07 +09:00
min-width: 40px;
border: 2px solid #ffffff;
2020-01-09 18:44:04 +09:00
border-radius: 50%;
margin-right: 20px;
padding: 0;
2020-01-10 12:10:07 +09:00
line-height: 1;
2020-01-09 18:44:04 +09:00
}
.btn-close-translatebox {
height: 100%;
stroke: #ffffff;
border: none;
display: flex;
justify-content: center;
justify-items: center;
margin-left: auto;
svg {
width: 40px;
2020-01-08 20:42:14 +09:00
}
}
}
2019-12-31 14:36:32 +09:00
}
2020-01-09 18:44:04 +09:00
2020-01-08 20:42:14 +09:00
::ng-deep .translationForm {
2019-12-31 14:36:32 +09:00
position: relative;
2020-01-08 20:42:14 +09:00
display: flex;
padding: 0 40px;
justify-items: flex-end;
align-content: space-between;
2020-01-20 18:54:24 +09:00
font-size: 0.9em;
2020-01-08 20:42:14 +09:00
/*background-color: rgba(30, 167, 185, 0.1);
border-top: 1px solid rgba(30, 167, 185, 0.3);
border-bottom: 1px solid rgba(30, 167, 185, 0.3);*/
.text-language {
display: inline-flex;
margin-right: 20px;
font-weight: 600;
font-size: 1em;
justify-content: center;
align-items: center;
margin-right: 20px;
}
.select-language {
display: inline-flex;
width: 300px;
flex: 0 1 auto;
margin-right: 20px;
.mat-form-field-wrapper {
width: 100%;
2020-01-09 18:44:04 +09:00
line-height: 0.8em;
.mat-form-field-infix {
padding: 0.2em 0 0;
}
}
.mat-form-field-underline {
bottom: 0.8em;
2020-01-08 20:42:14 +09:00
}
}
.mat-slide-toggle {
display: inline-flex;
width: 120px;
height: unset;
&.simpleview {
margin-right: 20px;
margin-left: auto;
}
&.preview {
}
}
2019-12-31 14:36:32 +09:00
}