wip
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
<div class="main" ref="main" tabindex="-1" :data-is-modal="isModal" @mousedown="onBodyMousedown" @keydown="onKeydown" :style="{ width, height }">
|
||||
<div class="body">
|
||||
<header ref="header"
|
||||
:class="{ withGradient: $store.state.settings.gradientWindowHeader }"
|
||||
@contextmenu.prevent="() => {}" @mousedown.prevent="onHeaderMousedown"
|
||||
>
|
||||
<h1><slot name="header"></slot></h1>
|
||||
@ -463,8 +462,6 @@ export default Vue.extend({
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
|
||||
|
||||
root(isDark)
|
||||
display block
|
||||
|
||||
@ -582,10 +579,6 @@ root(isDark)
|
||||
border-radius 6px 6px 0 0
|
||||
box-shadow 0 1px 0 rgba(#000, 0.1)
|
||||
|
||||
&.withGradient
|
||||
background isDark ? linear-gradient(to bottom, #313543, #1d2027) : linear-gradient(to bottom, #fff, #ececec)
|
||||
box-shadow 0 1px 0 rgba(#000, 0.15)
|
||||
|
||||
&, *
|
||||
user-select none
|
||||
|
||||
@ -600,7 +593,7 @@ root(isDark)
|
||||
font-size 1em
|
||||
line-height $header-height
|
||||
font-weight normal
|
||||
color isDark ? #e3e5e8 : #666
|
||||
color var(--desktopWindowTitle)
|
||||
|
||||
> div:last-child
|
||||
position absolute
|
||||
@ -615,16 +608,16 @@ root(isDark)
|
||||
padding 0
|
||||
cursor pointer
|
||||
font-size 1em
|
||||
color isDark ? #9baec8 : rgba(#000, 0.4)
|
||||
color var(--faceTextButton)
|
||||
border none
|
||||
outline none
|
||||
background transparent
|
||||
|
||||
&:hover
|
||||
color isDark ? #b2c1d5 : rgba(#000, 0.6)
|
||||
color var(--faceTextButtonHover)
|
||||
|
||||
&:active
|
||||
color isDark ? #b2c1d5 : darken(#000, 30%)
|
||||
color var(--faceTextButtonActive)
|
||||
|
||||
> [data-fa]
|
||||
padding 0
|
||||
|
Reference in New Issue
Block a user