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-#{$theme-name} {
.layout-main {
background-color: $theme-bg-color;
background-image: url($theme-bg-image);
@@ -116,8 +117,10 @@ $theme-aside-item-background-color-active: rgba(#000, .3);
.d2-header-right {
.btn-text {
color: $theme-header-text-color;
&:hover {
background-color: $theme-header-item-background-color-hover;
&.can-hover {
&:hover {
background-color: $theme-header-item-background-color-hover;
}
}
}
}

View File

@@ -3,7 +3,7 @@
effect="dark"
:content="isFullScreen ? '退出全屏' : '全屏'"
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-else name="arrows-alt"/>
</el-button>

View File

@@ -1,7 +1,7 @@
<template>
<div>
<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"/>
</el-button>
</el-tooltip>