Skip to content

Commit fe787b8

Browse files
committed
Merge branch 'frontend-label-styling'
2 parents d629a2e + 24bf35d commit fe787b8

File tree

6 files changed

+7
-43
lines changed

6 files changed

+7
-43
lines changed

frontends/web/src/components/forms/checkbox.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
.checkbox input + label::before {
3030
border: 1px solid rgb(220, 220, 220);
3131
border-radius: 2px;
32-
top: -1px;
32+
top: 2px;
3333
}
3434
.success input + label::before {
3535
border-color: var(--background-secondary);
@@ -51,7 +51,7 @@
5151
width: 0.35em;
5252
height: 0.55em;
5353
position: absolute;
54-
top: 3px;
54+
top: 6px;
5555
left: 6px;
5656
margin-left: -1px;
5757
margin-top: -2px;

frontends/web/src/components/view/view.module.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,6 @@
236236
padding-left: 1.4em;
237237
}
238238

239-
.content label {
240-
color: var(--color-default);
241-
}
242-
243239
.buttons {
244240
display: flex;
245241
flex-direction: row-reverse;
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
.maxAmount label {
1+
/* .maxAmount label {
22
display: block !important;
33
margin-right: 0 !important;
44
}
5-
6-
.maxAmount label::before {
7-
top: -2px !important;
8-
}
9-
10-
.maxAmount label::after {
11-
margin-top: -3px !important;
12-
}
5+
*/

frontends/web/src/routes/account/send/utxos.module.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,14 @@
1616

1717
.utxoContent {
1818
align-items: flex-start;
19-
color: var(--color-default);
2019
display: flex;
2120
flex-wrap: nowrap;
2221
font-size: var(--size-subheader);
2322
}
2423

2524
.note {
26-
color: var(--color-default);
2725
font-size: var(--size-subheader);
28-
line-height: 1.5;
29-
margin-top: -7px;
26+
line-height: 1;
3027
margin-bottom: var(--space-quarter);
3128
}
3229

@@ -49,6 +46,7 @@
4946
}
5047

5148
.amounts {
49+
line-height: 1;
5250
padding-bottom: var(--space-quarter);
5351
}
5452

frontends/web/src/style/base.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,6 @@ a {
6161
cursor: pointer;
6262
}
6363

64-
/* definition list */
65-
66-
dl div {
67-
display: inline-block;
68-
margin-right: var(--spacing-large);
69-
}
70-
71-
dl dt {
72-
margin-right: var(--spacing-half);
73-
text-indent: 0;
74-
}
75-
76-
dl dd {
77-
margin: 0;
78-
font-weight: bold;
79-
overflow: hidden;
80-
text-overflow: ellipsis;
81-
}
82-
8364
img,
8465
button {
8566
user-select: none;

frontends/web/src/style/forms.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,16 @@ textarea {
1212
background: var(--background-secondary);
1313
}
1414

15-
label,
16-
dt {
17-
color: var(--color-secondary);
15+
label {
1816
display: block;
1917
font-size: var(--size-default);
2018
font-weight: 400;
21-
line-height: 1;
2219
margin-bottom: var(--space-quarter);
2320
}
2421

2522
.labelXLarge {
2623
font-size: var(--size-subheader);
2724
margin-bottom: calc(var(--space-half) * 1.5);
28-
color: var(--color-default);
2925
}
3026

3127
input:invalid,

0 commit comments

Comments
 (0)