mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 10:41:56 +00:00
bf6a122e38
* 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%
69 lines
854 B
SCSS
69 lines
854 B
SCSS
@import 'common/sass/variables';
|
|
|
|
.Spinner {
|
|
animation: rotate 2s linear infinite;
|
|
|
|
&-x1 {
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
&-x2 {
|
|
height: 2em;
|
|
width: 2em;
|
|
}
|
|
|
|
&-x3 {
|
|
height: 3em;
|
|
width: 3em;
|
|
}
|
|
|
|
&-x4 {
|
|
height: 4em;
|
|
width: 4em;
|
|
}
|
|
|
|
&-x5 {
|
|
height: 5em;
|
|
width: 5em;
|
|
}
|
|
|
|
& .path {
|
|
stroke-linecap: round;
|
|
animation: dash 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
&-light {
|
|
& .path {
|
|
stroke: color(loader-light);
|
|
}
|
|
}
|
|
|
|
&-dark {
|
|
& .path {
|
|
stroke: color(loader-dark);
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes dash {
|
|
0% {
|
|
stroke-dasharray: 1, 150;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
50% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -35;
|
|
}
|
|
100% {
|
|
stroke-dasharray: 90, 150;
|
|
stroke-dashoffset: -124;
|
|
}
|
|
}
|