From 2cacbbe1345144d8cde2b88eb1688ce7f069906e Mon Sep 17 00:00:00 2001
From: liyang <1711467488@qq.com>
Date: Sun, 10 Jun 2018 21:42:41 +0800
Subject: [PATCH] no message
Former-commit-id: 60df53b3063a32c158cd85da6ed5e52de8bdfb5c
Former-commit-id: 879b47493917f6ed81011a7c37fc0bc2214bb861
Former-commit-id: 42b10c5622699003ced22170db334fafe03e1938
---
src/assets/style/theme/star/index.scss | 6 ++----
src/assets/style/theme/theme.scss | 9 +++++++++
.../-header-right/components/-theme.vue | 17 +++++++++--------
.../-header-right/components/-user.vue | 2 +-
.../theme-preview/star@2x.png.REMOVED.git-id | 1 +
5 files changed, 22 insertions(+), 13 deletions(-)
create mode 100644 static/image/theme-preview/star@2x.png.REMOVED.git-id
diff --git a/src/assets/style/theme/star/index.scss b/src/assets/style/theme/star/index.scss
index 84e05a10..ade5965a 100644
--- a/src/assets/style/theme/star/index.scss
+++ b/src/assets/style/theme/star/index.scss
@@ -83,10 +83,8 @@ $theme-container-full-border-color: #d8dfea;
.d2-header-right {
.btn-text {
color: #FFF;
- }
- .el-dropdown {
- .el-dropdown-link {
- color: #FFF;
+ &:hover {
+ background-color: rgba(#FFF, .1);
}
}
}
diff --git a/src/assets/style/theme/theme.scss b/src/assets/style/theme/theme.scss
index 3a07e49f..3e9930d9 100644
--- a/src/assets/style/theme/theme.scss
+++ b/src/assets/style/theme/theme.scss
@@ -51,6 +51,15 @@
height: 60px;
display: flex;
align-items: center;
+ .btn-text {
+ padding: 14px 12px;
+ border-radius: 4px;
+ margin: 0px !important;
+ margin-right: 10px !important;
+ &:last-child {
+ margin-right: 0px !important;
+ }
+ }
.el-dropdown {
user-select: none;
cursor: pointer;
diff --git a/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue b/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
index 133d5f88..3c54ae6e 100644
--- a/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
+++ b/src/components/core/d2-layout-main/components/-header-right/components/-theme.vue
@@ -1,10 +1,11 @@
-
- 主题
-
-
-
-
-
-
+
+
+
+
+
diff --git a/src/components/core/d2-layout-main/components/-header-right/components/-user.vue b/src/components/core/d2-layout-main/components/-header-right/components/-user.vue
index 808dc81c..b937e9c7 100644
--- a/src/components/core/d2-layout-main/components/-header-right/components/-user.vue
+++ b/src/components/core/d2-layout-main/components/-header-right/components/-user.vue
@@ -1,6 +1,6 @@
- 你好
+ 你好
注销
个人中心
diff --git a/static/image/theme-preview/star@2x.png.REMOVED.git-id b/static/image/theme-preview/star@2x.png.REMOVED.git-id
new file mode 100644
index 00000000..e6110816
--- /dev/null
+++ b/static/image/theme-preview/star@2x.png.REMOVED.git-id
@@ -0,0 +1 @@
+a2ed3f2203f8040f54c623f3b0d07ee16277d514
\ No newline at end of file