diff --git a/CHANGELOG.md b/CHANGELOG.md index e69b1ec868..f006769dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#2497](https://github.com/poanetwork/blockscout/pull/2497) - Add generic Ordered Cache behaviour and implementation ### Fixes +- [#2572](https://github.com/poanetwork/blockscout/pull/2572) - Ease non-critical css - [#2570](https://github.com/poanetwork/blockscout/pull/2570) - Network icons preload - [#2569](https://github.com/poanetwork/blockscout/pull/2569) - do not fetch emission rewards for transactions csv exporter - [#2568](https://github.com/poanetwork/blockscout/pull/2568) - filter pending token transfers diff --git a/apps/block_scout_web/assets/css/non-critical.scss b/apps/block_scout_web/assets/css/non-critical.scss index 8c1cd18d07..826f349d31 100644 --- a/apps/block_scout_web/assets/css/non-critical.scss +++ b/apps/block_scout_web/assets/css/non-critical.scss @@ -2,7 +2,7 @@ @import "node_modules/bootstrap/scss/functions"; @import "node_modules/bootstrap/scss/mixins"; -@import "theme/variables"; +@import "theme/variables-non-critical"; @import "node_modules/bootstrap/scss/modal"; @import "node_modules/bootstrap/scss/tooltip"; diff --git a/apps/block_scout_web/assets/css/theme/_dai_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_dai_variables-non-critical.scss new file mode 100644 index 0000000000..69231f5098 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_dai_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $secondary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_ether1_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_ether1_variables-non-critical.scss new file mode 100644 index 0000000000..c7689bfb97 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_ether1_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: #4b021e; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables-non-critical.scss new file mode 100644 index 0000000000..3d488a6f1e --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_ethereum_classic_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $tertiary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_ethereum_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_ethereum_variables-non-critical.scss new file mode 100644 index 0000000000..69231f5098 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_ethereum_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $secondary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_goerli_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_goerli_variables-non-critical.scss new file mode 100644 index 0000000000..6c80828f14 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_goerli_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $sub-accent-color; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_kovan_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_kovan_variables-non-critical.scss new file mode 100644 index 0000000000..db0e486e0c --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_kovan_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $tertiary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_lukso_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_lukso_variables-non-critical.scss new file mode 100644 index 0000000000..4d0836af14 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_lukso_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $primary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_neutral_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_neutral_variables-non-critical.scss new file mode 100644 index 0000000000..4d0836af14 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_neutral_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $primary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_poa_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_poa_variables-non-critical.scss new file mode 100644 index 0000000000..4d0836af14 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_poa_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $primary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_rinkeby_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_rinkeby_variables-non-critical.scss new file mode 100644 index 0000000000..69231f5098 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_rinkeby_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $secondary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_ropsten_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_ropsten_variables-non-critical.scss new file mode 100644 index 0000000000..69231f5098 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_ropsten_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $secondary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_rsk_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_rsk_variables-non-critical.scss new file mode 100644 index 0000000000..69231f5098 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_rsk_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $secondary; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_sokol_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_sokol_variables-non-critical.scss new file mode 100644 index 0000000000..6c80828f14 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_sokol_variables-non-critical.scss @@ -0,0 +1 @@ +$btn-line-color: $sub-accent-color; // button border and font color && hover bg color \ No newline at end of file diff --git a/apps/block_scout_web/assets/css/theme/_variables-non-critical.scss b/apps/block_scout_web/assets/css/theme/_variables-non-critical.scss new file mode 100644 index 0000000000..232b9cc647 --- /dev/null +++ b/apps/block_scout_web/assets/css/theme/_variables-non-critical.scss @@ -0,0 +1,22 @@ +@import "theme/base_variables"; +@import "neutral_variables-non-critical"; +// @import "dai_variables-non-critical"; +// @import "ethereum_classic_variables-non-critical"; +// @import "ethereum_variables-non-critical"; +// @import "ether1_variables-non-critical"; +// @import "expanse_variables-non-critical"; +// @import "gochain_variables-non-critical"; +// @import "goerli_variables-non-critical"; +// @import "kovan_variables-non-critical"; +// @import "lukso_variables-non-critical"; +// @import "musicoin_variables-non-critical"; +// @import "pirl_variables-non-critical"; +// @import "poa_variables-non-critical"; +// @import "posdao_variables-non-critical"; +// @import "rinkeby_variables-non-critical"; +// @import "ropsten_variables-non-critical"; +// @import "social_variables-non-critical"; +// @import "sokol_variables-non-critical"; +// @import "tobalaba_variables-non-critical"; +// @import "tomochain_variables-non-critical"; +// @import "rsk_variables-non-critical"; \ No newline at end of file