Skip to content

Commit aa75a3f

Browse files
committed
update
1 parent 89a321d commit aa75a3f

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/assets/less/box.less

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
position: relative;
66
border: 1px solid #efefef;
77
header {
8-
#gradient > .vertical(@start-color:#fff; @end-color: #f2f2f2; @start-percent: 0%; @end-percent: 100%);
8+
#gradient > .vertical(#fff; #f2f2f2);
99
border-bottom: 1px solid #d4d4d4;
1010
.box-shadow(0 1px 4px rgba(0, 0, 0, 0.065));
1111
.clearfix();
@@ -28,7 +28,7 @@
2828
}
2929
}
3030
&.inverse header {
31-
#gradient > .vertical(@start-color:#333; @end-color: #222; @start-percent: 0%; @end-percent: 100%);
31+
#gradient > .vertical(#333; #222);
3232
border-bottom: 1px solid #4d4d4d;
3333
color: #f5f5f5;
3434
.icons {
@@ -37,7 +37,7 @@
3737
}
3838
}
3939
&.primary header {
40-
#gradient > .vertical(@start-color:@brand-primary; @end-color: darken(@brand-primary,10%); @start-percent: 0%; @end-percent: 100%);
40+
#gradient > .vertical(@brand-primary; darken(@brand-primary,10%));
4141
border-bottom: 1px solid @brand-primary;
4242
color: #fff;
4343
.icons {
@@ -46,7 +46,7 @@
4646
}
4747
}
4848
&.success header {
49-
#gradient > .vertical(@start-color:@brand-success; @end-color: darken(@brand-success,10%); @start-percent: 0%; @end-percent: 100%);
49+
#gradient > .vertical(@brand-success; darken(@brand-success,10%));
5050
border-bottom: 1px solid @brand-success;
5151
color: #fff;
5252
.icons {
@@ -55,7 +55,7 @@
5555
}
5656
}
5757
&.warning header {
58-
#gradient > .vertical(@start-color:@brand-warning; @end-color: darken(@brand-warning,10%); @start-percent: 0%; @end-percent: 100%);
58+
#gradient > .vertical(@brand-warning; darken(@brand-warning,10%));
5959
border-bottom: 1px solid @brand-warning;
6060
color: #fff;
6161
.icons {
@@ -64,7 +64,7 @@
6464
}
6565
}
6666
&.danger header {
67-
#gradient > .vertical(@start-color:@brand-danger; @end-color: darken(@brand-danger,10%); @start-percent: 0%; @end-percent: 100%);
67+
#gradient > .vertical(@brand-danger; darken(@brand-danger,10%));
6868
border-bottom: 1px solid @brand-danger;
6969
color: #fff;
7070
.icons {
@@ -73,7 +73,7 @@
7373
}
7474
}
7575
&.info header {
76-
#gradient > .vertical(@start-color:@brand-info; @end-color: darken(@brand-info,10%); @start-percent: 0%; @end-percent: 100%);
76+
#gradient > .vertical(@brand-info; darken(@brand-info,10%));
7777
border-bottom: 1px solid @brand-info;
7878
color: #fff;
7979
.icons {
@@ -133,31 +133,31 @@
133133
&.danger {
134134
.dropdown-menu > li > a:hover,
135135
.dropdown-menu > li > a:focus {
136-
#gradient > .vertical(@start-color:@brand-danger; @end-color: darken(@brand-danger,10%); @start-percent: 0%; @end-percent: 100%);
136+
#gradient > .vertical(@brand-danger; darken(@brand-danger,10%));
137137
}
138138
}
139139
&.info {
140140
.dropdown-menu > li > a:hover,
141141
.dropdown-menu > li > a:focus {
142-
#gradient > .vertical(@start-color:@brand-info; @end-color: darken(@brand-info,10%); @start-percent: 0%; @end-percent: 100%);
142+
#gradient > .vertical(@brand-info; darken(@brand-info,10%));
143143
}
144144
}
145145
&.success {
146146
.dropdown-menu > li > a:hover,
147147
.dropdown-menu > li > a:focus {
148-
#gradient > .vertical(@start-color:@brand-success; @end-color: darken(@brand-success,10%); @start-percent: 0%; @end-percent: 100%);
148+
#gradient > .vertical(@brand-success; darken(@brand-success,10%));
149149
}
150150
}
151151
&.warning {
152152
.dropdown-menu > li > a:hover,
153153
.dropdown-menu > li > a:focus {
154-
#gradient > .vertical(@start-color:@brand-warning; @end-color: darken(@brand-warning,10%); @start-percent: 0%; @end-percent: 100%);
154+
#gradient > .vertical(@brand-warning; darken(@brand-warning,10%));
155155
}
156156
}
157157
&.inverse {
158158
.dropdown-menu > li > a:hover,
159159
.dropdown-menu > li > a:focus {
160-
#gradient > .vertical(@start-color:#333; @end-color: #222; @start-percent: 0%; @end-percent: 100%);
160+
#gradient > .vertical(#333; #222);
161161
}
162162
}
163163
}

src/assets/less/layout.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body.padTop53 {
55
padding-top: 95px;
66
overflow: visible;
77
@media (min-width: 802px) {
8-
padding-top: 53px;
8+
padding-top: 54px;
99
}
1010
}
1111

0 commit comments

Comments
 (0)