mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-08 06:08:27 +02:00
Add option for Game Bar's position
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#bx-game-bar {
|
||||
z-index: var(--bx-game-bar-z-index);
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 40px;
|
||||
height: 90px;
|
||||
@@ -30,7 +29,6 @@
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
background: #1a1b1ee8;
|
||||
border-radius: 0 10px 10px 0;
|
||||
box-shadow: 0px 0px 6px #1c1c1c;
|
||||
transition: opacity 0.1s ease-in;
|
||||
|
||||
@@ -98,4 +96,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-position="bottom-left"] {
|
||||
left: 0;
|
||||
direction: ltr;
|
||||
|
||||
.bx-game-bar-container {
|
||||
border-radius: 0 10px 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-position="bottom-right"] {
|
||||
right: 0;
|
||||
direction: rtl;
|
||||
|
||||
.bx-game-bar-container {
|
||||
border-radius: 10px 0 0 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user