Browse Source

Merge pull request #511 from mrfelton/refactor/consolidate-styles

refactor: move styles to styles directory
renovate/lint-staged-8.x
Ben Woosley 7 years ago
committed by GitHub
parent
commit
753118ebb4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .stylelintignore
  2. 2
      app/components/Activity/ActivityModal.scss
  3. 2
      app/components/Activity/Countdown.scss
  4. 2
      app/components/Activity/InvoiceModal.scss
  5. 2
      app/components/Activity/PaymentModal.scss
  6. 2
      app/components/Activity/TransactionModal.scss
  7. 2
      app/components/Contacts/AddChannel.scss
  8. 2
      app/components/Contacts/ChannelForm.scss
  9. 2
      app/components/Contacts/ConnectManually.scss
  10. 2
      app/components/Contacts/ContactModal.scss
  11. 2
      app/components/Contacts/ContactsForm.scss
  12. 2
      app/components/Contacts/Network.scss
  13. 2
      app/components/Contacts/SubmitChannelForm.scss
  14. 2
      app/components/Contacts/SuggestedNodes.scss
  15. 2
      app/components/Form/Form.scss
  16. 2
      app/components/Form/Pay.scss
  17. 2
      app/components/Form/Request.scss
  18. 2
      app/components/GlobalError/GlobalError.scss
  19. 2
      app/components/LoadingBolt/LoadingBolt.scss
  20. 2
      app/components/Onboarding/Alias.scss
  21. 2
      app/components/Onboarding/Autopilot.scss
  22. 2
      app/components/Onboarding/ConnectionDetails.scss
  23. 2
      app/components/Onboarding/ConnectionType.scss
  24. 2
      app/components/Onboarding/FormContainer.scss
  25. 2
      app/components/Onboarding/InitWallet.scss
  26. 2
      app/components/Onboarding/Login.scss
  27. 2
      app/components/Onboarding/NewAezeedPassword.scss
  28. 2
      app/components/Onboarding/NewWalletPassword.scss
  29. 2
      app/components/Onboarding/NewWalletSeed.scss
  30. 2
      app/components/Onboarding/ReEnterSeed.scss
  31. 2
      app/components/Onboarding/RecoverForm.scss
  32. 2
      app/components/Onboarding/Signup.scss
  33. 2
      app/components/Onboarding/Syncing.scss
  34. 2
      app/components/Wallet/ReceiveModal.scss
  35. 2
      app/components/Wallet/Wallet.scss
  36. 2
      app/index.js
  37. 2
      app/routes/activity/components/Activity.scss
  38. 2
      app/routes/activity/components/components/Activity.scss
  39. 2
      app/routes/activity/components/components/Transaction/Transaction.scss
  40. 2
      app/routes/app/components/App.scss
  41. 0
      app/styles/animated_checkmark.scss
  42. 0
      app/styles/app.global.scss
  43. 0
      app/styles/keyframes.scss
  44. 0
      app/styles/reset.scss
  45. 0
      app/styles/tooltip.scss
  46. 0
      app/styles/variables.scss
  47. 7
      package.json

2
.stylelintignore

@ -1 +1 @@
app/reset.scss app/styles/reset.scss

2
app/components/Activity/ActivityModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Activity/Countdown.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
display: block; display: block;

2
app/components/Activity/InvoiceModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Activity/PaymentModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Activity/TransactionModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Contacts/AddChannel.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Contacts/ChannelForm.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: absolute; position: absolute;

2
app/components/Contacts/ConnectManually.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: absolute; position: absolute;

2
app/components/Contacts/ContactModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.header { .header {
display: flex; display: flex;

2
app/components/Contacts/ContactsForm.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.modal { .modal {
position: absolute; position: absolute;

2
app/components/Contacts/Network.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.network { .network {
position: relative; position: relative;

2
app/components/Contacts/SubmitChannelForm.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.content { .content {
padding: 0 40px; padding: 0 40px;

2
app/components/Contacts/SuggestedNodes.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Form/Form.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: absolute; position: absolute;

2
app/components/Form/Pay.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
padding: 0 40px; padding: 0 40px;

2
app/components/Form/Request.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
padding: 0 40px; padding: 0 40px;

2
app/components/GlobalError/GlobalError.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: absolute; position: absolute;

2
app/components/LoadingBolt/LoadingBolt.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
z-index: 1000; z-index: 1000;

2
app/components/Onboarding/Alias.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.alias { .alias {
background: transparent; background: transparent;

2
app/components/Onboarding/Autopilot.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Onboarding/ConnectionDetails.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Onboarding/ConnectionType.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Onboarding/FormContainer.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Onboarding/InitWallet.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Onboarding/Login.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Onboarding/NewAezeedPassword.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.input:nth-child(2) { .input:nth-child(2) {
margin-top: 30px; margin-top: 30px;

2
app/components/Onboarding/NewWalletPassword.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.input:nth-child(2) { .input:nth-child(2) {
margin-top: 30px; margin-top: 30px;

2
app/components/Onboarding/NewWalletSeed.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
font-size: 14px; font-size: 14px;

2
app/components/Onboarding/ReEnterSeed.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.seedContainer { .seedContainer {
display: flex; display: flex;

2
app/components/Onboarding/RecoverForm.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.seedContainer { .seedContainer {
position: relative; position: relative;

2
app/components/Onboarding/Signup.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
color: $white; color: $white;

2
app/components/Onboarding/Syncing.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Wallet/ReceiveModal.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.container { .container {
position: relative; position: relative;

2
app/components/Wallet/Wallet.scss

@ -1,4 +1,4 @@
@import '../../variables.scss'; @import '../../styles/variables.scss';
.wallet { .wallet {
background: $bluegrey; background: $bluegrey;

2
app/index.js

@ -3,7 +3,7 @@ import { render } from 'react-dom'
import { AppContainer } from 'react-hot-loader' import { AppContainer } from 'react-hot-loader'
import Root from './containers/Root' import Root from './containers/Root'
import { configureStore, history } from './store/configureStore' import { configureStore, history } from './store/configureStore'
import './app.global.scss' import './styles/app.global.scss'
const store = configureStore() const store = configureStore()

2
app/routes/activity/components/Activity.scss

@ -1,4 +1,4 @@
@import '../../../variables.scss'; @import '../../../styles/variables.scss';
.search { .search {
height: 55px; height: 55px;

2
app/routes/activity/components/components/Activity.scss

@ -1,4 +1,4 @@
@import '../../../../variables.scss'; @import '../../../../styles/variables.scss';
.container { .container {
display: flex; display: flex;

2
app/routes/activity/components/components/Transaction/Transaction.scss

@ -1,4 +1,4 @@
@import '../../../../../variables.scss'; @import '../../../../../styles/variables.scss';
.container { .container {
display: flex; display: flex;

2
app/routes/app/components/App.scss

@ -1,4 +1,4 @@
@import '../../../variables.scss'; @import '../../../styles/variables.scss';
.content { .content {
position: relative; position: relative;

0
app/animated_checkmark.scss → app/styles/animated_checkmark.scss

0
app/app.global.scss → app/styles/app.global.scss

0
app/keyframes.scss → app/styles/keyframes.scss

0
app/reset.scss → app/styles/reset.scss

0
app/tooltip.scss → app/styles/tooltip.scss

0
app/variables.scss → app/styles/variables.scss

7
package.json

@ -16,9 +16,9 @@
"lint-fix-base": "npm run lint-base -- --fix", "lint-fix-base": "npm run lint-base -- --fix",
"lint-fix": "npm run lint-fix-base -- \"./**/*.{js,json,md}\"", "lint-fix": "npm run lint-fix-base -- \"./**/*.{js,json,md}\"",
"lint-styles-base": "stylelint --custom-formatter=node_modules/stylelint-formatter-pretty", "lint-styles-base": "stylelint --custom-formatter=node_modules/stylelint-formatter-pretty",
"lint-styles": "npm run lint-styles-base -- app/*.scss app/components/**/*.scss", "lint-styles": "npm run lint-styles-base -- $npm_package_config_style_paths",
"lint-styles-fix-base": "npm run lint-styles-base -- --fix", "lint-styles-fix-base": "npm run lint-styles-base -- --fix",
"lint-styles-fix": "npm run lint-styles-fix-base -- app/*.scss app/components/**/*.scss", "lint-styles-fix": "npm run lint-styles-fix-base -- $npm_package_config_style_paths",
"lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", "lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint-ci": "npm run lint && npm run lint-styles && npm run flow", "lint-ci": "npm run lint && npm run lint-styles && npm run flow",
"package": "npm run build && build --publish never", "package": "npm run build && build --publish never",
@ -36,6 +36,9 @@
"test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", "test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e",
"test-watch": "npm test -- --watch" "test-watch": "npm test -- --watch"
}, },
"config": {
"style_paths": "app/styles/*.scss app/components/**/*.scss"
},
"browserslist": "electron 2.0", "browserslist": "electron 2.0",
"engines": { "engines": {
"node": ">=8.2.1", "node": ">=8.2.1",

Loading…
Cancel
Save