diff --git a/src/csui/src/PlayerUIWindow.vue b/src/csui/src/PlayerUIWindow.vue index ffdf62f..2ea736c 100644 --- a/src/csui/src/PlayerUIWindow.vue +++ b/src/csui/src/PlayerUIWindow.vue @@ -3,45 +3,62 @@ class="popup-panel flex flex-column uw-clickable h-full" > +
+
+ + +
+ + + +
- -
{{preventClose ? 'allow auto-close' : 'prevent auto-close'}}
@@ -353,6 +370,45 @@ export default { .popup-window-header { padding: 1rem; background-color: rgba(5,5,5, 0.75); + + display: flex; + flex-direction: row; + + .header-title { + flex: 1 1; + } + .header-buttons { + flex: 0 0; + display: flex; + flex-direction: row; + + .header-button { + cursor: pointer; + border-radius: 50%; + width: 48px; + height: 48px; + display: flex; + justify-content: center; + align-items: center; + + &.button-active { + background-color: #fa6; + color: #000; + + &:hover { + color: #ccc; + } + } + + &.close-button { + color: #f00; + } + + &:hover { + color: #fa6; + } + } + } } .tab-row { background-color: rgba(11,11,11, 0.75);