Commit df64fd36bdfbaa3e3475478e3ed554777d3c9ea1

Authored by Aresn
1 parent 67a87e8d

update styles

examples/routers/notice.vue
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 mounted () { 14 mounted () {
15 this.$Notice.config({ 15 this.$Notice.config({
16 top: 150, 16 top: 150,
17 - duration: 3 17 + duration: 30
18 }); 18 });
19 } 19 }
20 } 20 }
src/styles/components/notice.less
@@ -50,6 +50,7 @@ @@ -50,6 +50,7 @@
50 white-space: nowrap; 50 white-space: nowrap;
51 } 51 }
52 &-with-desc &-title{ 52 &-with-desc &-title{
  53 + font-weight: bold;
53 margin-bottom: 8px; 54 margin-bottom: 8px;
54 } 55 }
55 &-with-desc&-with-icon &-title{ 56 &-with-desc&-with-icon &-title{
@@ -58,7 +59,8 @@ @@ -58,7 +59,8 @@
58 59
59 &-desc { 60 &-desc {
60 font-size: 12px; 61 font-size: 12px;
61 - color: @legend-color; 62 + //color: @legend-color;
  63 + color: @text-color;
62 text-align: justify; 64 text-align: justify;
63 line-height: 1.5; 65 line-height: 1.5;
64 } 66 }
src/styles/custom.less
@@ -3,25 +3,25 @@ @@ -3,25 +3,25 @@
3 @css-prefix-iconfont : ivu-icon; 3 @css-prefix-iconfont : ivu-icon;
4 4
5 // Color 5 // Color
6 -@primary-color : #3399ff; 6 +@primary-color : #2d8cf0;
7 @info-color : #2db7f5; 7 @info-color : #2db7f5;
8 -@success-color : #00cc66; 8 +@success-color : #19be6b;
9 @warning-color : #ff9900; 9 @warning-color : #ff9900;
10 -@error-color : #ff3300;  
11 -@link-color : #3399ff; 10 +@error-color : #ed3f14;
  11 +@link-color : #2D8cF0;
12 @link-hover-color : tint(@link-color, 20%); 12 @link-hover-color : tint(@link-color, 20%);
13 @link-active-color : shade(@link-color, 5%); 13 @link-active-color : shade(@link-color, 5%);
14 @selected-color : fade(@primary-color, 90%); 14 @selected-color : fade(@primary-color, 90%);
15 @tooltip-color : #fff; 15 @tooltip-color : #fff;
16 -@subsidiary-color : #9ea7b4; 16 +@subsidiary-color : #80848f;
17 @rate-star-color : #f5a623; 17 @rate-star-color : #f5a623;
18 18
19 // Base 19 // Base
20 @body-background : #fff; 20 @body-background : #fff;
21 @font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif; 21 @font-family : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
22 @code-family : Consolas,Menlo,Courier,monospace; 22 @code-family : Consolas,Menlo,Courier,monospace;
23 -@title-color : #464c5b;  
24 -@text-color : #657180; 23 +@title-color : #1c2438;
  24 +@text-color : #495060;
25 @font-size-base : 14px; 25 @font-size-base : 14px;
26 @font-size-small : 12px; 26 @font-size-small : 12px;
27 @line-height-base : 1.5; 27 @line-height-base : 1.5;
@@ -31,16 +31,16 @@ @@ -31,16 +31,16 @@
31 @cursor-disabled : not-allowed; 31 @cursor-disabled : not-allowed;
32 32
33 // Border color 33 // Border color
34 -@border-color-base : #d7dde4; // outside  
35 -@border-color-split : #e3e8ee; // inside 34 +@border-color-base : #dddee1; // outside
  35 +@border-color-split : #e9eaec; // inside
36 36
37 // Background color 37 // Background color
38 @background-color-base : #f7f7f7; // base 38 @background-color-base : #f7f7f7; // base
39 @background-color-select-hover: @input-disabled-bg; 39 @background-color-select-hover: @input-disabled-bg;
40 @tooltip-bg : rgba(70, 76, 91, .9); 40 @tooltip-bg : rgba(70, 76, 91, .9);
41 @head-bg : #f9fafc; 41 @head-bg : #f9fafc;
42 -@table-thead-bg : #f5f7f9;  
43 -@table-td-stripe-bg : #f5f7f9; 42 +@table-thead-bg : #f8f8f9;
  43 +@table-td-stripe-bg : #f8f8f9;
44 @table-td-hover-bg : #ebf7ff; 44 @table-td-hover-bg : #ebf7ff;
45 @table-td-highlight-bg : #ebf7ff; 45 @table-td-highlight-bg : #ebf7ff;
46 @menu-dark-active-bg : #313540; 46 @menu-dark-active-bg : #313540;
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
66 @btn-border-radius-small: 3px; 66 @btn-border-radius-small: 3px;
67 @btn-group-border : shade(@primary-color, 5%); 67 @btn-group-border : shade(@primary-color, 5%);
68 68
69 -@btn-disable-color : #c3cbd6; 69 +@btn-disable-color : #bbbec4;
70 @btn-disable-bg : @background-color-base; 70 @btn-disable-bg : @background-color-base;
71 @btn-disable-border : @border-color-base; 71 @btn-disable-border : @border-color-base;
72 72