1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/ui/app/components/ui
Nick Doiron d589d2dec0 Right-to-left CSS (using module for conversion) (#7072)
* Create RTL stylesheets using `gulp-rtl`

* Handle RTL stylesheet special cases

Certain blocks of Sass  were set to bypass "rtlcss" using ignore
comments. Certain icons had to be flipped 180 degrees.

* Switch stylesheets when locale changes

A second stylesheet has been added to each HTML page for use with
right-to-left locales. It is disabled by default. It is enabled on
startup if a RTL locale is set, and when switching to a RTL locale.
Similarly the LTR stylesheet is disabled when a RTL locale is used.

Unfortunately there is an unpleasant flash of unstyled content when
switching between a LTR and a RTL locale. There is also a slightly
longer page load time when using a RTL locale (<1s difference). We
couldn't think of an easy way to avoid these problems.

* Set `dir="auto"` as default on `TextFields`
2019-09-03 14:47:54 -03:00
..
alert Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
balance Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
breadcrumbs Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
button Re enable the setMouseUserState styles. (#6860) 2019-07-16 00:06:57 -02:30
button-group Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
card Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
currency-display Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
currency-input Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
dialog Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30
error-message Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
export-text-container Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
hex-to-decimal Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
identicon Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
jazzicon Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
loading-screen Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
lock-icon Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
metafox-logo Create MetaFoxLogo component (#6819) 2019-07-09 14:47:58 -02:30
page-container Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30
sender-to-recipient Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
spinner Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
tabs Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
text-field Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
toggle-button Address various UI styling issues (#6744) 2019-07-08 15:28:35 -02:30
token-balance Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
token-currency-display Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
token-input Check for unused function arguments (#6583) 2019-05-08 15:51:33 -04:00
unit-input Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
copyButton.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
editable-label.js Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
eth-balance.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
fiat-value.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
mascot.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
qr-code.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
readonly-input.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
tooltip-v2.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
tooltip.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30