mirror of
https://github.com/status-im/MyCrypto.git
synced 2026-09-02 11:41:10 +00:00
* Initial changes to define theme maps, color function, and convert all global styles. * More global styles. * All styles converted, colors uncertain. * Fix tabs, temporary theme toggle button. * Color refinements * Color network selector, introduce shade function * Make palette page * Add theme button and minor styling to nav * Blueify dark theme * A bunch of color adjustments to work better with dark theme * Fix tables * Fix wallet decrypt colors * More misc fixes * Fix up electron colors * Convert web theme to redux state / action * Theme toggle in app, prevent rerenders * Get rid of all variables, fix selects * Fix conf modal, modal close styles * Fix test * Adjust swap colors * Check in breaking out component, changing icons * Check in progress * Theme toggle in footer. New icons * Prevent rerender on theme change * Fix up outstanding merge conflicts * Fix generate colors to be dark mode friendly * Reduce swap color intensity * Make disabled buttons darker in dark mode * Reduce button size by 25%
72 lines
1.5 KiB
SCSS
72 lines
1.5 KiB
SCSS
@import 'common/sass/variables';
|
|
@import 'common/sass/mixins';
|
|
|
|
$hover-speed: 150ms;
|
|
$identicon-size: 36px;
|
|
$identicon-size-mobile: 24px;
|
|
|
|
.RecentTx {
|
|
line-height: $identicon-size;
|
|
cursor: pointer;
|
|
transition: box-shadow $hover-speed ease;
|
|
box-shadow: 0 1px shade-dark(0.1),
|
|
1px 0 shade-dark(0.1),
|
|
-1px 0 shade-dark(0.1),
|
|
0 0 color(brand-primary) inset;
|
|
|
|
&-to {
|
|
width: 100%;
|
|
max-width: 0;
|
|
@include mono;
|
|
@include ellipsis;
|
|
|
|
.Identicon {
|
|
display: inline-block;
|
|
width: $identicon-size !important;
|
|
height: $identicon-size !important;
|
|
margin-right: $space-md;
|
|
}
|
|
}
|
|
|
|
&-time {
|
|
opacity: 0.88;
|
|
}
|
|
|
|
&-arrow {
|
|
padding-left: $space-md;
|
|
font-size: 22px;
|
|
opacity: 0.3;
|
|
transition-property: opacity, color, transform;
|
|
transition-duration: $hover-speed;
|
|
transition-timing-function: ease;
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: 0 1px shade-dark(0.1),
|
|
1px 0 shade-dark(0.1),
|
|
-1px 0 shade-dark(0.1),
|
|
3px 0 color(brand-primary) inset;
|
|
|
|
.RecentTx-arrow {
|
|
opacity: 1;
|
|
color: color(brand-primary);
|
|
transform: translateX(3px);
|
|
}
|
|
}
|
|
|
|
// Responsive handling
|
|
@media (max-width: $screen-md) {
|
|
font-size: $font-size-xs;
|
|
line-height: $identicon-size-mobile;
|
|
|
|
&-to .Identicon {
|
|
width: $identicon-size-mobile !important;
|
|
height: $identicon-size-mobile !important;
|
|
}
|
|
|
|
&-arrow .fa {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|