mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Replaced all inline entries with attribute bases selectors
This commit is contained in:
parent
f218e28949
commit
d4202e0279
50 changed files with 805 additions and 155 deletions
|
@ -1,7 +1,13 @@
|
|||
.mediaInfoItem {
|
||||
margin-block: 0;
|
||||
margin-inline: 0 1em;
|
||||
padding: 0;
|
||||
|
||||
[dir="ltr"] & {
|
||||
margin: 0 1em 0 0;
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.mediaInfoText {
|
||||
|
@ -26,7 +32,13 @@
|
|||
}
|
||||
|
||||
.mediaInfoItem:last-child {
|
||||
margin-inline-end: 0;
|
||||
[dir="ltr"] & {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.starRatingContainer {
|
||||
|
@ -47,7 +59,6 @@
|
|||
}
|
||||
|
||||
.mediaInfoCriticRating {
|
||||
padding-inline-start: 1.5em;
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: auto 1.2em;
|
||||
|
@ -55,7 +66,12 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
[dir="ltr"] & {
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
||||
[dir="rtl"] & {
|
||||
padding-right: 1.5em;
|
||||
background-position: right center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue