{}" @mousedown.prevent="onHeaderMousedown"
+ >
@@ -75,6 +78,13 @@ export default Vue.extend({
},
canResize(): boolean {
return !this.isFlexible;
+ },
+ withGradient(): boolean {
+ return (this as any).os.isSignedIn
+ ? (this as any).os.i.client_settings.gradientWindowHeader != null
+ ? (this as any).os.i.client_settings.gradientWindowHeader
+ : false
+ : false;
}
},
@@ -537,6 +547,10 @@ export default Vue.extend({
border-radius 6px 6px 0 0
box-shadow 0 1px 0 rgba(#000, 0.1)
+ &.withGradient
+ background linear-gradient(to bottom, #fff, #ececec)
+ box-shadow 0 1px 0 rgba(#000, 0.15)
+
&, *
user-select none