@lambo-design/shared 1.0.0-beta.82 → 1.0.0-beta.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- @primary-color : #0091FF;
1
+ @primary-color :#306BE3;
2
2
  @primary-color-tint-20 : tint(@primary-color,20%);
3
3
  @primary-color-tint-90 : tint(@primary-color,90%);
4
4
  @primary-color-tint-80 : tint(@primary-color,80%);
@@ -107,19 +107,29 @@
107
107
  @table-td-stripe-bg : #f2fafe;
108
108
  @table-td-hover-bg : #eaf4fe;
109
109
  @table-td-highlight-bg : #b5def3;
110
- @menu-dark-title : #333333;
111
- @menu-dark-active-bg : #363e4f;
110
+ @menu-dark-title : #306BE3;
111
+ @menu-dark-active-bg : rgb(0, 44, 107);
112
112
  @menu-dark-subsidiary-color : rgba(255,255,255,.7);
113
113
  @menu-dark-group-title-color : rgba(255,255,255,.36);
114
+ @menu-dark-item-selected-bg: rgb(2, 35, 76);
115
+ @menu-dark-bg: @menu-dark-active-bg ; // 侧边栏背景色
116
+ @menu-dark-item-active-bg: @menu-dark-bg; // 激活的一级菜单背景色
117
+ @menu-dark-submenu-bg: #0E356E; // 二级菜单背景色
118
+ @menu-dark-item-selected-bg: @menu-dark-bg; // 最内部的菜单背景色
114
119
  @date-picker-cell-hover-bg : #e1f0fe;
120
+ // 使用LESS的颜色函数调整颜色值
121
+ @selected-menu-item-bg: rgb(61, 123, 246); // 选中的一级菜单颜色
122
+ @selected-submenu-bg: rgb(14, 53, 110); // 二级菜单颜色
123
+ @selected-innermost-bg: rgb(2, 35, 76); // 最内部的颜色
124
+ @menu-item-hover-bg: darken(@menu-dark-bg, 5%); // 鼠标悬停时稍暗一些的颜色
115
125
 
116
126
  // Shadow
117
- @shadow-color : rgba(0, 0, 0, .2);
127
+ @shadow-color : rgb(2, 35, 76);
118
128
  @shadow-base : @shadow-down;
119
- @shadow-card : 0 1px 1px 0 rgba(0,0,0,.1);
129
+ @shadow-card : 0 1px 1px 0 rgb(14, 53, 110);
120
130
  @shadow-up : 0 -1px 6px @shadow-color;
121
131
  @shadow-down : 0 1px 6px @shadow-color;
122
- @shadow-left : -1px 0 6px @shadow-color;
132
+ @shadow-left : -1px 0 6px rgb(2, 35, 76);
123
133
  @shadow-right : 1px 0 6px @shadow-color;
124
134
 
125
135
  // Button
@@ -189,12 +199,13 @@
189
199
  @grid-columns : 24;
190
200
  @grid-gutter-width : 0;
191
201
  @layout-body-background : #f5f7f9;
192
- @layout-header-background : #333333;
202
+ @layout-header-background : @primary-color;
203
+ @layout-header-selected-background: @primary-color; // 选中的顶部菜单背景颜色稍亮
193
204
  @layout-header-height : 64px;
194
205
  @layout-header-padding : 0 50px;
195
206
  @layout-footer-padding : 24px 50px;
196
207
  @layout-footer-background : @layout-body-background;
197
- @layout-sider-background : @layout-header-background;
208
+ @layout-sider-background : #002C6B;
198
209
  @layout-sider-background-tint-10 : tint(@layout-sider-background, 10%);
199
210
  @layout-trigger-height : 48px;
200
211
  @layout-trigger-color : #fff;
@@ -474,7 +485,7 @@ vxe-table
474
485
  @vxe-table-checkbox-range-border-color : #006af1;
475
486
  @vxe-table-checkbox-range-background-color : rgba(50, 128, 252, 0.2);
476
487
 
477
- @vxe-table-fixed-left-scrolling-box-shadow : 8px 0px 10px -5px rgba(0, 0, 0, 0.12);
488
+ @vxe-table-fixed-left-scrolling-box-shadow : 8px 0px 10px -5px rgb(14, 53, 110);
478
489
  @vxe-table-fixed-right-scrolling-box-shadow : -8px 0px 10px -5px rgba(0, 0, 0, 0.12);
479
490
 
480
491
  /*filter*/
@@ -621,8 +632,36 @@ vxe-table
621
632
  @vxe-switch-font-color : #fff;
622
633
  @vxe-switch-icon-background-color : #fff;
623
634
  @vxe-switch-open-background-color : @vxe-primary-color;
624
- @vxe-switch-close-background-color : rgba(0, 0, 0, 0.35);
625
- @vxe-switch-disabled-background-color : rgba(0, 0, 0, 0.15);
635
+ @vxe-switch-close-background-color : rgb(14, 53, 110);
636
+ @vxe-switch-disabled-background-color : rgb(14, 53, 120);
626
637
 
627
638
  /*pulldown*/
628
639
  @vxe-pulldown-panel-background-color : #fff;
640
+ // 顶部菜单样式
641
+ .layout-header {
642
+ background-color: @layout-header-background;
643
+ .menu-item-selected {
644
+ background-color: @layout-header-selected-background;
645
+ }
646
+ }
647
+
648
+ // 更新侧边栏菜单样式
649
+ // 侧边菜单样式
650
+ .menu-dark {
651
+ background: @menu-dark-bg; // 侧边栏背景色
652
+
653
+ .ivu-dropdown-item {
654
+ background-color: rgb(2, 35, 76); // 设置所有下拉菜单项的背景色
655
+
656
+ &.active, &.open {
657
+ background-color: @menu-dark-item-selected-bg;
658
+
659
+ // 子菜单项的样式
660
+ .ivu-dropdown-item {
661
+ background-color: @menu-dark-item-selected-bg;
662
+ }
663
+ }
664
+ }
665
+
666
+
667
+ }