• Refactor modalOverlay.js with Aphrodite, polish Sync and Payments stuff

    Suguru Hirahara
    Suguru Hirahara committed May 3, 2017
    1. advancedSettings.js
    
    - Remove commonStyles.modalOverlay__footer and commonStyles.modalOverlay__footerButton
    - Remove padding from advancedSettings thanks to modal dialog normalization
    
    2. bitcoinDashboard.js
    
    - Add no-important to Aphrodite
    - Replace paymentCommon.panelFooter with styles.dashboardFooter with temp__displayNone
    - Replace qrcodeOverlay with modalOverlay__qrcodeOverlay
    
    3. ledgerBackup.js
    
    - Remove commonStyles.modalOverlay__footer and commonStyles.modalOverlay__footerButton
    
    4. ledgerRecovery.js
    
    - Remove commonStyles.modalOverlay__footer and commonStyles.modalOverlay__footerButton
    
    5. paymentsTab.js
    
    - Add paymentHistoryOverlay__header
    - Add paymentHistoryOverlay__footer
    - Add paymentHistoryOverlay__body
    - Add temp__displayNone temporarily
    
    6. syncTab.js
    
    - Rename overlayContent to newOverlayContent
    - Add newOverlayFooter
    - Remove syncOverlayBody__wrapper
    - Remove commonStyles.modalOverlay__footer and commonStyles.modalOverlay__footerButton
    - Remove commonStyles.modalOverlay__dialog and commonStyles.modalOverlay__title thanks to modal dialog normalization
    - Set user-select:none to syncOverlayBody__wrapper
    
    7. commonStyles.js - Remove modalOverlay__* thanks to modal dialog normalization (Addresses #8054)
    
    8. global.js - Add zindexModal
    
    9. payment.js - Remove panelFooter thanks to modal dialog normalization
    
    10. modalOverlay.js - Refactor with Aphrodite (Closes #8054)
    
    dialog
    |- dialog__wrapper_modal
    |- dialog__wrapper_last
    |- dialog__wrapper_transparentBackground
    |-- dialog__header
    |--- dialog__header__close
    |--- dialog__header__title
    |-- dialog__body__wrapper
    |--- dialog__body
    |-- dialog__footer
    
    11. preferences.less - Remove obsolete code (Addresses #8661)
    
    12. modalOverlay.less - Remove obsolete code (Addresses #8054)