Skip to content

Commit

Permalink
Merge pull request #100 from aeternity/feature/avoid-overriding-of-st…
Browse files Browse the repository at this point in the history
…yles

Avoid overriding of font-family and color for every node
  • Loading branch information
mradkov authored Mar 27, 2020
2 parents c0abd0f + 9f14e30 commit 3ceeee3
Show file tree
Hide file tree
Showing 13 changed files with 239 additions and 229 deletions.
89 changes: 44 additions & 45 deletions src/common/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ main {
background: $bg-color;
padding:10px 0;
button {
margin-bottom:0 !important;
margin-bottom:0 !important;
}
.ae-button.round {
padding: 0 0.5rem !important;
padding: 0 0.5rem !important;
}
button .ae-icon {
font-size:1.5rem !important;
font-size:1.5rem !important;
}
}
.customFileUpload {
Expand Down Expand Up @@ -197,14 +197,14 @@ main {
align-items: center;
}
.file-label {
padding: 0.5rem 1rem;
display:inline-block;
font-family: "Inter UI", sans-serif;
font-size: 0.8125rem;
letter-spacing: 0.02em;
line-height: 1rem;
color: #76818C;
padding-bottom:0;
padding: 0.5rem 1rem;
display:inline-block;
font-family: "Inter UI", sans-serif;
font-size: 0.8125rem;
letter-spacing: 0.02em;
line-height: 1rem;
color: #76818C;
padding-bottom:0;
}
.file-input {
font-family: "Inter UI", sans-serif;
Expand All @@ -229,15 +229,15 @@ main {
background:$primary-color;
}
.ae-badge.alternative{
background:$color-alternative;
background:$color-alternative;
}
.ae-badge.secondary{
background:$color-secondary;
background:$color-secondary;
}
.ae-badge {
background:#929CA6;
color:#fff !important;
font-size:.7rem;
background:#929CA6;
color:#fff !important;
font-size:.7rem;
}
}
.allTransactions .ae-identicon {
Expand Down Expand Up @@ -372,11 +372,11 @@ main {
color: $color-neutral-negative-1;
font-family: monospace;
&.invert {
color: #fff;
color: #fff;
}

&:after {
content: ' AE';
content: ' AE';
}
&.no-sign:after {
content: '';
Expand Down Expand Up @@ -444,19 +444,19 @@ $range-label-color: $shade-10 !default;
$range-label-width: 60px !default;

.range-slider {
width: 100%;
position:relative;
.tipAmount {
position:absolute;
color: #909090;
font-size: 0.9rem;
}
.tipMin {
left:0;
}
.tipMax {
right:0;
}
width: 100%;
position:relative;
.tipAmount {
position:absolute;
color: #909090;
font-size: 0.9rem;
}
.tipMin {
left:0;
}
.tipMax {
right:0;
}
}

.range-slider__range {
Expand Down Expand Up @@ -522,8 +522,8 @@ $range-label-width: 60px !default;
}

::-moz-range-track {
background: $range-track-color;
border: 0;
background: $range-track-color;
border: 0;
}

input::-moz-focus-inner,
Expand Down Expand Up @@ -597,20 +597,20 @@ input::-moz-focus-outer {
}
.custom-ae-input-header {
position: relative;
display: flex;
flex: 0 0;
justify-content: space-between;
align-items: center;
align-self: flex-start;
width: 100%;
padding: 0.5rem 1rem 0 1rem;
display: flex;
flex: 0 0;
justify-content: space-between;
align-items: center;
align-self: flex-start;
width: 100%;
padding: 0.5rem 1rem 0 1rem;
}
.custom-ae-input-label {
color: #76818C;
font-family: "Inter UI", sans-serif;
font-size: 0.8125rem;
letter-spacing: 0.02em;
line-height: 1rem;
font-family: "Inter UI", sans-serif;
font-size: 0.8125rem;
letter-spacing: 0.02em;
line-height: 1rem;
}
.tokenExtensions .ae-check-button:after {
width: 29px;
Expand Down Expand Up @@ -791,7 +791,6 @@ button {
line-height: 12px;
}
.popup {
color: #555;
padding: 4px 20px;
text-align: center;
font-size: 16px;
Expand Down
Loading

0 comments on commit 3ceeee3

Please sign in to comment.