-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolating staking dapp css, extracting of non-critical css
- Loading branch information
Showing
21 changed files
with
121 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
apps/block_scout_web/assets/css/components/_modal_variables.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$modal-overlay-color: rgba($primary, 0.9) !default; | ||
$modal-horizontal-padding: 30px !default; | ||
$modal-vertical-padding: 25px !default; | ||
$modal-border-radius: 10px !default; | ||
$modal-gray-background: #f6f7f9 !default; |
2 changes: 2 additions & 0 deletions
2
apps/block_scout_web/assets/css/components/_stakes_table.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...sets/css/components/_stakes_progress.scss → ...s/components/stakes/_stakes_progress.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Bootstrap Core CSS | ||
@import "node_modules/bootstrap/scss/functions"; | ||
@import "node_modules/bootstrap/scss/mixins"; | ||
|
||
@import "theme/variables"; | ||
|
||
@import "node_modules/bootstrap/scss/modal"; | ||
@import "node_modules/bootstrap/scss/tooltip"; | ||
|
||
@import "components/qr-code"; | ||
@import "components/modal_variables"; | ||
@import "components/modal"; | ||
@import "components/modal_status"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@import "./mixins"; | ||
|
||
// Bootstrap Core CSS | ||
@import "node_modules/bootstrap/scss/functions"; | ||
@import "node_modules/bootstrap/scss/mixins"; | ||
|
||
@import "theme/variables"; | ||
|
||
@import "components/stakes/copy_icon"; | ||
@import "components/stakes/stakes"; | ||
@import "components/stakes/progress_from_to"; | ||
@import "components/stakes/stakes_empty_content"; | ||
@import "components/stakes/stakes_btn_remove_pool"; | ||
@import "components/stakes/stakes_progress"; | ||
@import "components/modal_variables"; | ||
@import "components/stakes/modal_stake"; | ||
@import "components/stakes/modal_become_candidate"; | ||
@import "components/stakes/modal_validator_info"; | ||
@import "components/stakes/modal_bottom_disclaimer"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// We need to import the CSS so that webpack will load it. | ||
// The ExtractTextPlugin is used to separate it out into | ||
// its own CSS file. | ||
import '../css/app.scss' | ||
|
||
// webpack automatically concatenates all files in your | ||
// watched paths. Those paths can be configured as | ||
// endpoints in "webpack.config.js". | ||
// | ||
// Import dependencies | ||
// | ||
import '@babel/polyfill' | ||
import 'phoenix_html' | ||
import 'bootstrap' | ||
|
||
// Import local files | ||
// | ||
// Local files can be imported directly using relative | ||
// paths "./socket" or full ones "web/static/js/socket". | ||
|
||
import './locale' | ||
|
||
import './pages/address' | ||
import './pages/address/coin_balances' | ||
import './pages/address/transactions' | ||
import './pages/address/logs' | ||
import './pages/address/validations' | ||
import './pages/address/internal_transactions' | ||
import './pages/blocks' | ||
import './pages/chain' | ||
import './pages/pending_transactions' | ||
import './pages/transaction' | ||
import './pages/transactions' | ||
import './pages/favorites' | ||
import './pages/network-search' | ||
import './pages/layout' | ||
import './pages/verification_form' | ||
import './pages/dark-mode-switcher' | ||
|
||
import './pages/admin/tasks.js' | ||
|
||
import './lib/clipboard_buttons' | ||
import './lib/currency' | ||
import './lib/from_now' | ||
import './lib/indexing' | ||
import './lib/loading_element' | ||
import './lib/market_history_chart' | ||
import './lib/pending_transactions_toggle' | ||
import './lib/pretty_json' | ||
import './lib/reload_button' | ||
import './lib/smart_contract/read_only_functions' | ||
import './lib/smart_contract/wei_ether_converter' | ||
import './lib/stop_propagation' | ||
import './lib/token_balance_dropdown' | ||
import './lib/token_balance_dropdown_search' | ||
import './lib/token_transfers_toggle' | ||
import './lib/transaction_input_dropdown' | ||
import './lib/async_listing_load' | ||
import './lib/tooltip' | ||
import './lib/modals' | ||
import './lib/try_api' | ||
import './lib/card_tabs' | ||
import './lib/network_selector' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import '../../css/stakes.scss' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters