no message

Former-commit-id: f9b75cdafb5fad0b179a6c0f08cb879a7fd12dd3
Former-commit-id: 3b126bcb4f5547a63cb75fe9f0a25c3b41fc56e6
Former-commit-id: 5c161fbfdac589557a05f84585ea3def43480bce
This commit is contained in:
liyang
2018-06-11 10:56:34 +08:00
parent 444214d448
commit fc1b729294
3 changed files with 7 additions and 4 deletions

View File

@@ -30,6 +30,7 @@ $theme-aside-item-background-color-focus: rgba(#FFF, .3);
$theme-aside-item-background-color-active: rgba(#000, .3); $theme-aside-item-background-color-active: rgba(#000, .3);
.theme-#{$theme-name} { .theme-#{$theme-name} {
.layout-main { .layout-main {
background-color: $theme-bg-color; background-color: $theme-bg-color;
background-image: url($theme-bg-image); background-image: url($theme-bg-image);
@@ -116,12 +117,14 @@ $theme-aside-item-background-color-active: rgba(#000, .3);
.d2-header-right { .d2-header-right {
.btn-text { .btn-text {
color: $theme-header-text-color; color: $theme-header-text-color;
&.can-hover {
&:hover { &:hover {
background-color: $theme-header-item-background-color-hover; background-color: $theme-header-item-background-color-hover;
} }
} }
} }
} }
}
// [布局] 顶栏下面 // [布局] 顶栏下面
.el-container { .el-container {
// 侧边栏 // 侧边栏

View File

@@ -3,7 +3,7 @@
effect="dark" effect="dark"
:content="isFullScreen ? '退出全屏' : '全屏'" :content="isFullScreen ? '退出全屏' : '全屏'"
placement="bottom"> placement="bottom">
<el-button class="d2-mr btn-text" type="text" @click="toggleFullScreen"> <el-button class="d2-mr btn-text can-hover" type="text" @click="toggleFullScreen">
<d2-icon v-if="isFullScreen" name="compress"/> <d2-icon v-if="isFullScreen" name="compress"/>
<d2-icon v-else name="arrows-alt"/> <d2-icon v-else name="arrows-alt"/>
</el-button> </el-button>

View File

@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-tooltip effect="dark" content="theme" placement="bottom"> <el-tooltip effect="dark" content="theme" placement="bottom">
<el-button class="d2-ml-0 d2-mr btn-text" type="text" @click="dialogVisible = true"> <el-button class="d2-ml-0 d2-mr btn-text can-hover" type="text" @click="dialogVisible = true">
<d2-icon name="diamond"/> <d2-icon name="diamond"/>
</el-button> </el-button>
</el-tooltip> </el-tooltip>