media: Fix some styling issues
This commit is contained in:
@@ -43,9 +43,8 @@ $media-player-button-size: 1.5rem;
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
padding-bottom: 1rem;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding-bottom: 1rem;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
@@ -76,9 +75,8 @@ $media-player-button-size: 1.5rem;
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
padding-top: 1rem;
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
padding-top: 1rem;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
@@ -100,12 +98,13 @@ $media-player-button-size: 1.5rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-media > .bottom > .play {
|
.block-media > .bottom > .play {
|
||||||
flex-grow: 0;
|
|
||||||
display: block;
|
display: block;
|
||||||
|
flex-grow: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: $media-player-button-size;
|
width: $media-player-button-size;
|
||||||
height: $media-player-button-size;
|
height: $media-player-button-size;
|
||||||
|
|
||||||
font-size: $media-player-button-size;
|
font-size: $media-player-button-size;
|
||||||
line-height: $media-player-button-size;
|
line-height: $media-player-button-size;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -115,6 +114,7 @@ $media-player-button-size: 1.5rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-media > .bottom > .time {
|
.block-media > .bottom > .time {
|
||||||
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
@@ -123,7 +123,6 @@ $media-player-button-size: 1.5rem;
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
|
|
||||||
display: block;
|
|
||||||
text-align: right;
|
text-align: right;
|
||||||
line-height: $media-player-button-size;
|
line-height: $media-player-button-size;
|
||||||
user-select: auto;
|
user-select: auto;
|
||||||
@@ -142,6 +141,7 @@ $media-player-button-size: 1.5rem;
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
.block-media > .bottom > .mute {
|
.block-media > .bottom > .mute {
|
||||||
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: $media-player-button-size;
|
width: $media-player-button-size;
|
||||||
@@ -150,7 +150,6 @@ $media-player-button-size: 1.5rem;
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
|
|
||||||
display: block;
|
|
||||||
font-size: $media-player-button-size;
|
font-size: $media-player-button-size;
|
||||||
line-height: $media-player-button-size;
|
line-height: $media-player-button-size;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -160,6 +159,7 @@ $media-player-button-size: 1.5rem;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.block-media > .bottom > .volume {
|
.block-media > .bottom > .volume {
|
||||||
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
@@ -170,11 +170,11 @@ $media-player-button-size: 1.5rem;
|
|||||||
flex-shrink: 5;
|
flex-shrink: 5;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
|
|
||||||
display: block;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block-media > .bottom > .fullscreen {
|
.block-media > .bottom > .fullscreen {
|
||||||
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: $media-player-button-size;
|
width: $media-player-button-size;
|
||||||
@@ -183,7 +183,6 @@ $media-player-button-size: 1.5rem;
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-basis: auto;
|
flex-basis: auto;
|
||||||
|
|
||||||
display: block;
|
|
||||||
font-size: $media-player-button-size;
|
font-size: $media-player-button-size;
|
||||||
line-height: $media-player-button-size;
|
line-height: $media-player-button-size;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user