stremio-web/src/components/Input/styles.less
gh-61 3bf3dbc3b7 feat: Add interactive subtitles overlay and translation popup
- Implemented SubtitleOverlay component for displaying interactive subtitles with click actions for translation and copying.
- Added TranslationPopup component for showing translation results, editing words, and managing translation providers.
2025-12-28 00:18:55 +01:00

43 lines
967 B
Text

// Copyright (C) 2017-2024 Smart code 203358507
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
.input-container {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
box-sizing: border-box;
height: 3rem;
padding: 0 1.5rem;
border-radius: 3rem;
border: var(--focus-outline-size) solid transparent;
background-color: var(--overlay-color);
cursor: text;
&:focus-within {
border: var(--focus-outline-size) solid var(--primary-foreground-color);
}
&.disabled {
pointer-events: none;
opacity: 0.5;
}
.input {
flex: 1;
width: 100%;
font-size: 1rem;
color: var(--primary-foreground-color);
user-select: text;
&::placeholder {
color: var(--primary-foreground-color);
opacity: 0.6;
}
&::-moz-focus-inner {
border: none;
}
}
}