setting.scss 2.53 KB
Newer Older
Z's avatar
Z committed
1 2 3 4 5 6
// 主题名称
$theme-name: 'd2';
// 主题背景颜色
$theme-bg-color: #ebf1f6;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
xulili's avatar
xulili committed
7
$theme-border-color: #EEEEEE;
Z's avatar
Z committed
8 9 10 11

// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: #FFF;
xulili's avatar
xulili committed
12 13
$theme-container-border-inner: 1px solid $theme-border-color;
$theme-container-border-outer: 1px solid $theme-border-color;
Z's avatar
Z committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61

$theme-multiple-page-control-color: $color-text-normal;
$theme-multiple-page-control-color-active: #2f74ff;
$theme-multiple-page-control-nav-prev-color: #cfd7e5;
$theme-multiple-page-control-nav-next-color: #cfd7e5;
$theme-multiple-page-control-border-color: #cfd7e5;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#000, .03);
$theme-multiple-page-control-background-color-active: #FFF;

// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;

// 顶栏上的文字颜色
// $theme-header-item-color: $color-text-normal;
$theme-header-item-color: #E8E9FF;
// $theme-header-item-background-color: transparent;
$theme-header-item-background-color: #4E59C7;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFFFFF;
$theme-header-item-background-color-hover: rgba(#2B36A1, .5);
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFFFFF;
$theme-header-item-background-color-focus: rgba(#2B36A1, .5);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFFFFF;
$theme-header-item-background-color-active: rgba(#2B36A1, .5);

// 侧边栏上的文字颜色
$theme-aside-item-color: $color-text-normal;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #2f74ff;
$theme-aside-item-background-color-hover: rgba(#FFF, .5);
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #2f74ff;
$theme-aside-item-background-color-focus: rgba(#FFF, .5);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #2f74ff;
$theme-aside-item-background-color-active: rgba(#FFF, .5);

// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: $color-text-normal;
$theme-aside-menu-empty-text-color: $color-text-normal;
$theme-aside-menu-empty-background-color: rgba(#000, .03);
$theme-aside-menu-empty-icon-color-hover: $color-text-main;
$theme-aside-menu-empty-text-color-hover: $color-text-main;
xulili's avatar
xulili committed
62
$theme-aside-menu-empty-background-color-hover: rgba(#000, .05);