generated from arvinxx/umi-chrome-extensions-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
193 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@import '~theme/index'; | ||
@import 'sidebar'; | ||
@import 'main'; | ||
@import 'right'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@import '~theme/index'; | ||
|
||
// 创建文档 | ||
[class*='GlobalDocCreate-module_title'] { | ||
.dark-mode-text-color-base; | ||
} | ||
[class*='GlobalBookSelector-module_bookSelectorItem'] { | ||
.dark-mode-border-bottom-color-light; | ||
&:hover { | ||
.dark-mode-background-base-hover; | ||
} | ||
} | ||
|
||
// honor 组件 | ||
[class*='Honor-module_wrapper'] { | ||
.ant-card-body { | ||
.dark-mode-background-dark; | ||
} | ||
[class*='Honor-module_value'] { | ||
.dark-mode-text-color-base; | ||
} | ||
[class*='badge-module_memberBadgeDesc'] { | ||
.dark-mode-text-color-second; | ||
} | ||
[class*='badge-module_memberBadgeName'] { | ||
.dark-mode-text-color-emphasize; | ||
} | ||
|
||
[class*='Honor-module_thumb'] { | ||
background-image: url('https://gw.alipayobjects.com/zos/antfincdn/St2yCYb%24ym/img.png') !important; | ||
opacity: 0.2; | ||
} | ||
|
||
[class*='Honor-module_item']::before { | ||
.dark-mode-background-light; | ||
} | ||
} | ||
|
||
// 快捷入口 | ||
[class*='QuickLink-module_quicklink'] { | ||
.ant-card-body { | ||
.dark-mode-background-base; | ||
} | ||
|
||
[class*='LinkList-module_title'] { | ||
.dark-mode-text-color-base; | ||
} | ||
[class*='LinkList-module_linkItem'] { | ||
&:hover { | ||
.dark-mode-background-light; | ||
} | ||
|
||
[class*='LinkList-module_action'] { | ||
.dark-mode-background-light; | ||
|
||
[class*='QuickLink-module_icon'] { | ||
&:hover { | ||
.dark-mode-text-color-base-hover; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,3 @@ | |
.larkui-card { | ||
.dark-mode-card-base; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
@import 'card'; | ||
@import 'image'; | ||
@import 'input'; | ||
@import 'table'; | ||
@import 'menu'; | ||
@import 'modal'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@import '~theme/index'; | ||
|
||
.ant-menu { | ||
.ant-menu-item { | ||
.dark-mode-background-base; | ||
} | ||
} | ||
|
||
// 下拉菜单 | ||
.ant-dropdown-menu { | ||
.dark-mode-background-light; | ||
|
||
.ant-dropdown-menu-item, | ||
.ant-dropdown-menu-submenu-title { | ||
.dark-mode-text-color-base; | ||
&:hover { | ||
.dark-mode-background-lighter; | ||
} | ||
} | ||
} | ||
// 级联菜单 | ||
.ant-cascader-menu, | ||
.ant-cascader-menus { | ||
.dark-mode-background-light; | ||
|
||
.ant-cascader-menu-item { | ||
.dark-mode-text-color-base; | ||
&:hover { | ||
.dark-mode-background-lighter; | ||
} | ||
} | ||
|
||
.ant-cascader-menu-item-active { | ||
.dark-mode-background-lighter; | ||
} | ||
} | ||
|
||
.ant-cascader-menus { | ||
.ant-cascader-menu:not(:last-child) { | ||
border-right-color: @dark-mode-border-color-light !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@import '~theme/index'; | ||
|
||
// 基础卡片 | ||
.ant-modal-content, | ||
.ant-modal-header { | ||
.dark-mode-background-base; | ||
.dark-mode-border-bottom-color-light; | ||
} | ||
|
||
.ant-modal-title { | ||
.dark-mode-text-color-base; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@import '~theme/index'; | ||
|
||
// 表格 | ||
.ant-table { | ||
.dark-mode-background-base; | ||
.ant-table-tbody > tr > td { | ||
border-bottom-color: @dark-mode-border-color-light; | ||
} | ||
|
||
.ant-table-row:hover { | ||
.dark-mode-background-light; | ||
> td { | ||
.dark-mode-background-light; | ||
} | ||
} | ||
|
||
.ant-table-placeholder:hover > td { | ||
.dark-mode-background-light; | ||
} | ||
|
||
.ant-table-thead > tr > th { | ||
.dark-mode-background-base; | ||
.dark-mode-text-color-base; | ||
|
||
border-bottom-color: @dark-mode-border-color-light; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@import '../token/index'; | ||
|
||
.dark-mode-border-color-light { | ||
border-color: @dark-mode-border-color-light !important; | ||
} | ||
|
||
.dark-mode-border-bottom-color-light { | ||
border-bottom-color: @dark-mode-border-color-light !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
@import 'background'; | ||
@import 'text'; | ||
@import 'border'; | ||
@import 'image'; | ||
@import 'button'; | ||
|
||
@import 'card'; | ||
|
||
@import 'search-bar'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters