no message
Former-commit-id: f9b75cdafb5fad0b179a6c0f08cb879a7fd12dd3 Former-commit-id: 3b126bcb4f5547a63cb75fe9f0a25c3b41fc56e6 Former-commit-id: 5c161fbfdac589557a05f84585ea3def43480bce
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user