Skip to content

Commit 2dca6ec

Browse files
committed
PAGES related less filed reviewed for bidirection
1 parent da03c73 commit 2dca6ec

File tree

5 files changed

+35
-35
lines changed

5 files changed

+35
-35
lines changed

less/404_500_errors.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
/*
1+
/*
22
Page: 404 and 500 error pages
33
------------------------------------
44
*/
55

66
.error-page {
77
width: 600px;
8-
margin: 20px auto 0 auto;
8+
.margin(20px, auto, 0, auto);
99
@media screen and (max-width: @screen-sm) {
1010
width: 100%;
1111
}
1212
//For the error number e.g: 404
1313
> .headline {
14-
float: left;
14+
.float(left);
1515
font-size: 100px;
1616
font-weight: 300;
1717
@media screen and (max-width: @screen-sm) {
@@ -21,9 +21,9 @@
2121
}
2222
//For the message
2323
> .error-content {
24-
margin-left: 190px;
24+
.margin-left(190px);
2525
@media screen and (max-width: @screen-sm) {
26-
margin-left: 0;
26+
.margin-left(0);
2727
}
2828
> h3 {
2929
font-weight: 300;

less/invoice.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
Page: Invoice
33
*/
44

@@ -7,7 +7,7 @@
77
width: 90%;
88
margin: 10px auto;
99
background: #fff;
10-
border: 1px solid #f4f4f4;
10+
border: 1px solid #f4f4f4;
1111
}
1212

1313
.invoice-title {
@@ -23,10 +23,10 @@
2323
padding: 0;
2424
}
2525
.invoice-col {
26-
float: left;
26+
.float(left);
2727
width: 33.3333333%;
2828
}
29-
29+
3030
.table-responsive {
3131
overflow: auto;
3232
> .table tr th,

less/lockscreen.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
font-weight: 300;
2424
-webkit-font-smoothing: antialiased !important;
2525
opacity: 0.8;
26-
margin: 10px 0 30px 0;
27-
font-size: 90px;
26+
.margin(10px, 0, 30px, 0);
27+
font-size: 90px;
2828
}
2929

3030
@media screen and (max-width: @screen-xs) {
@@ -47,15 +47,15 @@
4747
background: #fff;
4848
position: relative;
4949
.border-radius(4px);
50-
.clearfix();
50+
.clearfix();
5151
margin: 10px auto;
5252
width: 290px;
5353
}
5454

5555
/* User image */
5656
.lockscreen-item > .lockscreen-image {
5757
position: absolute;
58-
left: -10px;
58+
.left(-10px);
5959
top: -30px;
6060
background: #fff;
6161
padding: 10px;
@@ -70,7 +70,7 @@
7070

7171
/* Contains the password input and the login button */
7272
.lockscreen-item > .lockscreen-credentials {
73-
margin-left: 80px;
73+
.margin-left(80px);
7474
input {
7575
border: 0 !important;
7676
}
@@ -80,7 +80,7 @@
8080
}
8181
}
8282
/* Extra to give the user an option to navigate the website [optional]*/
83-
.lockscreen-link {
83+
.lockscreen-link {
8484
margin-top: 30px;
8585
text-align: center;
8686
}

less/login_and_register.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
1+
/*
22
Page: register and login
33
*/
44

5-
.form-box {
5+
.form-box {
66
width: 360px;
7-
margin: 90px auto 0 auto;
7+
.margin(90px, auto, 0, auto);
88
.header {
99
.border-radius(4px, 4px, 0, 0);
1010
background: @olive;
@@ -15,7 +15,7 @@
1515
font-weight: 300;
1616
color: #fff;
1717
}
18-
18+
1919
.body, .footer {
2020
padding: 10px 20px;
2121
background: #fff;
@@ -26,16 +26,16 @@
2626
border: #fff;
2727
}
2828
}
29-
29+
3030
> .btn {
3131
margin-bottom: 10px;
3232
}
3333
}
34-
34+
3535
.footer {
3636
.border-radius(0, 0, 4px, 4px);
3737
}
38-
38+
3939
@media (max-width: @screen-sm) {
4040
width: 90%;
4141
}

less/mailbox.less

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55
.mailbox {
66

77
.table-mailbox {
8-
border-left: 1px solid #ddd;
9-
border-right: 1px solid #ddd;
10-
border-bottom: 1px solid #ddd;
8+
.border-left(1px solid #ddd);
9+
.border-right(1px solid #ddd);
10+
border-bottom: 1px solid #ddd;
1111
tr {
1212
&.unread {
13-
> td {
13+
> td {
1414
background-color: rgba(0, 0, 0, 0.05);
1515
color: #000;
16-
font-weight: 600;
17-
}
16+
font-weight: 600;
17+
}
1818
}
1919

2020
> td > .fa.fa-star,
2121
> td > .fa.fa-star-o,
2222
> td > .glyphicon.glyphicon-star,
2323
> td > .glyphicon.glyphicon-star-empty{
24-
color: @yellow;
24+
color: @yellow;
2525
cursor: pointer;
2626
}
2727

@@ -34,28 +34,28 @@
3434
font-weight: 600;
3535
}
3636
> td.time {
37-
text-align: right;
38-
width: 100px;
37+
.text-align(right);
38+
width: 100px;
3939
}
4040
> td {
41-
white-space: nowrap;
41+
white-space: nowrap;
4242
}
43-
43+
4444
& > td > a {color: #444;}
4545
}
4646
}
4747

4848
@media screen and (max-width: @screen-sm) {
4949
.nav-stacked {
5050
> li:not(.header) {
51-
float: left;
51+
.float(left);
5252
width: 50%;
5353
&.header {
5454
border: 0!important;
5555
}
5656
}
5757
}
58-
58+
5959
.search-form {
6060
margin-top: 10px;
6161
}

0 commit comments

Comments
 (0)