mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Extract styles
This commit is contained in:
parent
450807ff14
commit
0bf23576ee
26
src/components/subtitlesettings/subtitlesettings.css
Normal file
26
src/components/subtitlesettings/subtitlesettings.css
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.subtitleappearance-fullpreview {
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
pointer-events: none;
|
||||||
|
transition: 0.2s
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitleappearance-fullpreview-hide {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitleappearance-fullpreview-window {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
font-size: 170%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitleappearance-fullpreview-text {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 70%;
|
||||||
|
}
|
@ -16,6 +16,7 @@ import 'emby-slider';
|
|||||||
import 'emby-input';
|
import 'emby-input';
|
||||||
import 'emby-checkbox';
|
import 'emby-checkbox';
|
||||||
import 'flexStyles';
|
import 'flexStyles';
|
||||||
|
import 'css!./subtitlesettings'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subtitle settings.
|
* Subtitle settings.
|
||||||
|
@ -38,35 +38,6 @@
|
|||||||
${HeaderSubtitleAppearance}
|
${HeaderSubtitleAppearance}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<style>
|
|
||||||
.subtitleappearance-fullpreview {
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
pointer-events: none;
|
|
||||||
transition: 0.2s
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitleappearance-fullpreview-hide {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitleappearance-fullpreview-window {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
font-size: 170%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitleappearance-fullpreview-text {
|
|
||||||
display: inline-block;
|
|
||||||
max-width: 70%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="subtitleappearance-fullpreview subtitleappearance-fullpreview-hide">
|
<div class="subtitleappearance-fullpreview subtitleappearance-fullpreview-hide">
|
||||||
<div class="subtitleappearance-fullpreview-window">
|
<div class="subtitleappearance-fullpreview-window">
|
||||||
<div class="subtitleappearance-fullpreview-text">
|
<div class="subtitleappearance-fullpreview-text">
|
||||||
|
Loading…
Reference in New Issue
Block a user