mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 05:38:27 +02:00
Add "Back to home" button in the Stream menu
This commit is contained in:
@@ -20,6 +20,18 @@ body[data-media-type=tv] .bx-stream-refresh-button {
|
||||
top: calc(var(--gds-focus-borderSize) + 80px) !important;
|
||||
}
|
||||
|
||||
.bx-stream-home-button {
|
||||
top: calc(env(safe-area-inset-top, 0px) + 10px + 50px * 2) !important;
|
||||
}
|
||||
|
||||
body[data-media-type=default] .bx-stream-home-button {
|
||||
left: calc(env(safe-area-inset-left, 0px) + 12px) !important;
|
||||
}
|
||||
|
||||
body[data-media-type=tv] .bx-stream-home-button {
|
||||
top: calc(var(--gds-focus-borderSize) + 80px * 2) !important;
|
||||
}
|
||||
|
||||
@keyframes bx-anim-taking-screenshot {
|
||||
0% {
|
||||
border: 0px solid #ffffff80;
|
||||
|
3
src/assets/svg/home.svg
Normal file
3
src/assets/svg/home.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='#fff' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='4 4 28 28'>
|
||||
<path d='M13 27v-8h6v8h8V15a1 1 0 0 0-.293-.707l-10-10a1 1 0 0 0-1.415 0l-10 10A1 1 0 0 0 5 15v12h8z'/>
|
||||
</svg>
|
After Width: | Height: | Size: 286 B |
Reference in New Issue
Block a user