Skip to content

Commit f3771e7

Browse files
committed
clean up
1 parent a7b55cb commit f3771e7

24 files changed

+299
-311
lines changed

less/account.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,12 @@
364364
}
365365

366366
.user-avatar {
367-
.user-avatar(30px);
368-
}
367+
.user-avatar(30px);
368+
}
369369

370-
.user-icon {
371-
.user-icon(30px, 1.6rem);
372-
}
370+
.user-icon {
371+
.user-icon(30px, 1.6rem);
372+
}
373373
}
374374
}
375375
}

less/alert.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@
3737
&.alert-info::before {
3838
background-color: @material-info;
3939
}
40-
40+
4141
&.alert-warning::before {
4242
background-color: @material-warning;
4343
}
44-
44+
4545
&.alert-success::before {
4646
background-color: @material-success;
4747
}
48-
48+
4949
&.alert-danger::before {
5050
background-color: @material-danger;
5151
}
52-
52+
5353
&::before {
5454
width: ~"calc(100% + 50px)";
5555
}
@@ -59,10 +59,10 @@
5959
border: 0;
6060
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25), 0 2px 10px 0 rgba(0, 0, 0, 0.25);
6161
overflow: hidden;
62-
62+
6363
.close {
6464
color: #fff;
65-
65+
6666
&:hover {
6767
color: #fff;
6868
}
@@ -75,7 +75,7 @@
7575
p {
7676
padding: 10px 0 0;
7777
}
78-
78+
7979
&.alert-info {
8080
background-color: @material-info;
8181
}

less/breadcrumb.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
border-radius: 0;
55
margin-bottom: 15px;
66
font-size: 13px;
7-
7+
88
>.active {
99
color: @breadcrumb-active-color;
1010
}
11-
11+
1212
li {
1313
max-width: 100%;
1414
overflow: hidden;

less/buttons.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@
186186
height:50px;
187187
border-radius:50%;
188188
position:absolute;
189-
line-height:40px
189+
line-height:40px;
190190

191191
&:hover {
192-
box-shadow:0 2px 7px rgba(0,0,0,.18)
192+
box-shadow:0 2px 7px rgba(0, 0, 0, .18);
193193
}
194194

195195
i {
@@ -198,7 +198,7 @@
198198
-o-transition:all;
199199
transition:all;
200200
-webkit-transition-duration:500ms;
201-
transition-duration:500ms
201+
transition-duration:500ms;
202202
}
203203
}
204204

less/chat.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@
248248

249249
.lvh-label {
250250
color: #818181;
251-
display: inline-block;
252251
margin: 0;
253252
font-size: 14px;
254253
font-weight: normal;

less/dropdown.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,35 @@
1010
-moz-backface-visibility: hidden;
1111
backface-visibility: hidden;
1212
margin-top: 1px;
13-
13+
1414
&.dropdown-menu-lg {
1515
width: 300px;
1616
}
17-
17+
1818
&.dropdown-menu-md {
1919
width: 200px;
2020
}
21-
21+
2222
&.dropdown-menu-sm {
2323
width: 150px;
2424
}
25-
25+
2626
&.dropdown-menu-right {
2727
right: 0;
2828
left: auto;
2929
}
30-
30+
3131
&.dm-icon>li>a>.md {
3232
line-height: 100%;
3333
vertical-align: top;
3434
font-size: 18px;
3535
width: 28px;
3636
}
37-
37+
3838
&:not([class*=bgm-])>li>a {
3939
color: @dropdown-color;
4040
}
41-
41+
4242
&:not([class*=bgm-])>li>a:hover {
4343
color: @dropdown-color;
4444
}

less/groups.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
li {
2222
display: inline;
2323
}
24-
24+
2525
.user-icon, .user-avatar {
2626
.user-icon(32px, 1.4rem);
2727
}
@@ -44,15 +44,15 @@
4444
}
4545

4646
&.details {
47-
47+
4848
.table {
4949
margin-bottom: 0;
50-
50+
5151
>tbody {
5252
>tr:not(:first-child)>td {
5353
border-top: 1px solid @border-color;
5454
}
55-
55+
5656
>tr:first-child>td {
5757
border: none;
5858
}
@@ -97,15 +97,15 @@
9797

9898
.row.groups .col-xs-7 {
9999
padding-left: 5px;
100-
}
100+
}
101101
}
102102

103103
[component="groups/container"] {
104104
.card.user-profile-view {
105105
margin-right: 15px;
106106
margin-left: 15px;
107107
}
108-
108+
109109
[component="groups/cover"] {
110110
background-size: cover;
111111
background-repeat: no-repeat;
@@ -191,7 +191,7 @@
191191
display: none;
192192
}
193193
}
194-
194+
195195
.card-body.card-padding {
196196
@media (min-width: @screen-md-min) {
197197
padding: 18px;

less/header.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
margin-left: 0px;
8080
}
8181
}
82-
82+
8383
.dropdown-menu {
8484
background-color: @dropdown-bg-color;
8585
}

less/input.less

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ html:not(.ie9) .select.fg-line:before {
137137
display: inline-block;
138138
width: 100%;
139139
}
140-
140+
141141
.form-control[readonly] {
142142
background-color: inherit;
143143
}
@@ -457,7 +457,7 @@ html:not(.ie9) .select.fg-line:before {
457457
background: #fafafa;
458458
box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
459459
border-radius: 50%;
460-
webkit-transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
460+
-webkit-transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
461461
transition: left .28s cubic-bezier(0.4, 0, .2, 1), background .28s cubic-bezier(0.4, 0, .2, 1), box-shadow .28s cubic-bezier(0.4, 0, .2, 1);
462462
}
463463
}
@@ -507,12 +507,12 @@ html:not(.ie9) .select.fg-line:before {
507507

508508
//topic-select
509509
[component="category/topic"] {
510-
510+
511511
.checkbox label {
512512
padding-left: 0;
513513
position: relative;
514514
}
515-
515+
516516
.checkbox .select {
517517
top: 0;
518518
left: 0;
@@ -522,7 +522,7 @@ html:not(.ie9) .select.fg-line:before {
522522
filter: alpha(opacity=0);
523523
margin-top: 0;
524524
}
525-
525+
526526
.checkbox .input-helper:before, .checkbox .input-helper:after {
527527
-webkit-transition: all;
528528
-moz-transition: all;
@@ -536,30 +536,30 @@ html:not(.ie9) .select.fg-line:before {
536536
position: absolute;
537537
content: "";
538538
}
539-
539+
540540
.checkbox .input-helper:before {
541541
left: 0;
542542
border: 1px solid #ccc;
543543
}
544-
544+
545545
.checkbox.disabled {
546546
opacity: .6;
547547
filter: alpha(opacity=60);
548548
}
549-
549+
550550
.checkbox .select {
551551
width: 17px;
552552
height: 17px;
553553
}
554-
554+
555555
&.selected {
556556
.checkbox .input-helper:before {
557557
-webkit-transform: scale(0);
558558
-ms-transform: scale(0);
559559
-o-transform: scale(0);
560560
transform: scale(0);
561561
}
562-
562+
563563
.checkbox .input-helper:after {
564564
-webkit-transform: scale(1) rotate(-50deg);
565565
-ms-transform: scale(1) rotate(-50deg);
@@ -569,13 +569,13 @@ html:not(.ie9) .select.fg-line:before {
569569
filter: alpha(opacity=100);
570570
}
571571
}
572-
572+
573573
.checkbox .input-helper:before {
574574
top: 0;
575575
width: 17px;
576576
height: 17px;
577577
}
578-
578+
579579
.checkbox .input-helper:after {
580580
opacity: 0;
581581
filter: alpha(opacity=0);

less/listview.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
@media (max-width: @screen-xs-max) {
247247
.listview .lv-title, .listview .lv-item .lv-small {
248248
white-space: inherit;
249-
}
249+
}
250250
}
251251

252252
.category, .recent, .popular {
@@ -257,5 +257,5 @@
257257

258258
.list-group-item {
259259
background-color: @list-group-item-bg-color;
260-
border: 1px solid @border-color;
260+
border: 1px solid @border-color;
261261
}

0 commit comments

Comments
 (0)