Skip to content

Commit f4592eb

Browse files
matheusdalexlyp
authored andcommitted
Upgrade to babel 7 (decred#1664)
1 parent 7df3c25 commit f4592eb

14 files changed

+3752
-2175
lines changed

.babelrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

.stylelintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"rules": {
55
"length-zero-no-unit": null,
66
"shorthand-property-no-redundant-values": null,
7+
"no-descending-specificity": null,
78
}
8-
}
9+
}

app/style/HomePage.less

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
.overview-balance {
1212
font-size: 42px;
1313
color: #091440;
14-
font-family: Inconsolata;
14+
font-family: @font-family-monospaced;
1515
}
1616

1717
.overview-balance-label {
18-
font-family: 'Source Sans Pro', sans-serif;
18+
font-family: @font-family-regular;
1919
font-size: 11px;
2020
color: #596d81;
2121
}
@@ -64,22 +64,22 @@
6464
.overview-balance-spendable-locked {
6565
font-size: 17px;
6666
color: #091440;
67-
font-family: Inconsolata;
67+
font-family: @font-family-monospaced;
6868
line-height: 1;
6969
}
7070

7171
.overview-balance-spendable-locked-unit {
7272
font-size: 11px;
7373
color: #091440;
74-
font-family: Inconsolata;
74+
font-family: @font-family-monospaced;
7575
line-height: 1;
7676
}
7777

7878
.overview-balance-spendable-locked-label {
7979
margin-bottom: 14px;
8080
font-size: 11px;
8181
color: #596d81;
82-
font-family: 'Source Sans Pro', sans-serif;
82+
font-family: @font-family-regular;
8383
}
8484

8585
.recent-transactions {
@@ -93,15 +93,15 @@
9393
border-bottom: 1px solid transparent;
9494
color: #596d81;
9595
font-size: 13px;
96-
font-family: 'Source Sans Pro', sans-serif;
96+
font-family: @font-family-regular;
9797
margin: 0px 0px 8px 16px;
9898
}
9999

100100
.home-content-link {
101101
margin-right: 5px;
102102
color: #8997a5;
103103
font-size: 9px;
104-
font-family: 'Source Sans Pro';
104+
font-family: @font-family-regular;
105105
cursor: pointer;
106106
float: right;
107107
}

app/style/Layout.less

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@
155155
margin-left: 42px;
156156
}
157157

158-
.tabbed-page-header > .tabs > .tab {
159-
margin-right: 55px;
160-
}
161-
162158
.description-header > .description-header-action-button {
163159
position: absolute;
164160
right: 80px;
@@ -176,6 +172,7 @@
176172

177173
.tabbed-page-header > .tabs > .tab {
178174
line-height: 35px;
175+
margin-right: 55px;
179176
}
180177

181178
.tabbed-page-header > .tabs > .tabs-caret > {

app/style/Modals.less

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
}
7070

7171
.pseudo-modal.info-modal {
72+
z-index: 98;
73+
margin-top: 0;
74+
margin-left: 150px;
7275
padding: 30px 40px 30px 58px;
7376
}
7477

@@ -539,12 +542,6 @@
539542
z-index: 98;
540543
}
541544

542-
.pseudo-modal.info-modal {
543-
z-index: 98;
544-
margin-top: 0;
545-
margin-left: 150px;
546-
}
547-
548545
.pseudo-modal-overlay {
549546
position: fixed;
550547
z-index: 99;

app/style/SendPage.less

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
}
1717
}
1818

19-
.send-address .accounts-select {
20-
margin-bottom: 2em;
21-
}
22-
2319
.send-select-account-area .accounts-button-icon {
2420
vertical-align: middle;
2521
margin-top: 0px;
@@ -56,6 +52,7 @@
5652
.accounts-select {
5753
width: 300px;
5854
margin-right: 20px;
55+
margin-bottom: 2em;
5956
}
6057
}
6158

app/style/TxHistory.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194

195195
.transaction-stake-type-overview {
196196
float: left;
197-
font-family: "Source Sans Pro";
197+
font-family: @font-family-regular;
198198
color: #091440;
199199
font-size: 15px;
200200
font-weight: 600;
@@ -206,7 +206,7 @@
206206

207207
.transaction-info-price-reward {
208208
position: absolute;
209-
font-family: Inconsolata, monospace;
209+
font-family: @font-family-monospaced;
210210
color: #c4cbd2;
211211
font-size: 12px;
212212
margin-top: 16px;

0 commit comments

Comments
 (0)