1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/css/itcss/components
Mark Stacey a6f2156386
Update account options menu design (#8654)
The `AccountDetailsDropdown` component has been rewritten to use the
new `Menu` component, and to follow the latest designs.

This should be functionally equivalent. A couple of the icons have
changed, but that's about it.

Support for a subtitle was added to `MenuItem` to support the `origin`
subtitle used for the explorer link for custom RPC endpoints.

A few adjustments were required to `test/helper.js` to accommodate
the use of `Menu` from a JSDOM context (this is the first time it's
been used in a unit test). A `popover-content` element was added to the
fake DOM, and another global was added that `react-popper` used
internally.

An additional driver method (`clickPoint`) was added to the e2e driver
to allow clicking the background behind the menu to dismiss it. This
wasn't possible using the `clickElement` method, because that method
would refuse to click an obscured element. The only non-obscured
element to click was the menu backdrop, and that didn't work either
because the center was obscured by the menu (Selenium clicks the center
of whichever element is targeted).
2020-05-27 12:31:53 -03:00
..
pages Remove redundant .scss file extension from SCSS imports (#8581) 2020-05-13 09:28:06 -03:00
account-dropdown.scss Targets base inputs and only prevents outline if user uses a mouse (#6871) 2019-07-16 22:58:00 -02:30
alert.scss added new global alert 2018-07-19 02:31:02 -04:00
confirm.scss Delete commented-out CSS code (#7528) 2019-11-23 01:46:54 -03:30
currency-display.scss Targets base inputs and only prevents outline if user uses a mouse (#6871) 2019-07-16 22:58:00 -02:30
editable-label.scss Fix input border rendering on mobile 2017-10-26 12:23:24 -07:00
footer.scss Organize app components scss 2017-08-06 13:24:13 -07:00
gas-slider.scss Adds the content of the advanced tab - w/o chart or dynamic content - to gas customize modal. 2018-12-04 00:06:04 -03:30
index.scss Remove redundant .scss file extension from SCSS imports (#8581) 2020-05-13 09:28:06 -03:00
loading-overlay.scss Refactor first time flow, remove seed phrase from state (#5994) 2019-01-23 11:55:34 -03:30
menu.scss Wrap smaller custom block explorer url text (#6714) 2019-06-17 08:32:12 -02:30
modal.scss Remove unused ShapeShift components (#8402) 2020-04-24 12:33:24 -03:00
network.scss Delete commented-out CSS code (#7528) 2019-11-23 01:46:54 -03:30
new-account.scss Refactor new-account.js (#7312) 2019-10-29 12:12:41 -04:00
newui-sections.scss Update account options menu design (#8654) 2020-05-27 12:31:53 -03:00
request-decrypt-message.scss Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
request-encryption-public-key.scss Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
request-signature.scss Remove AccountDropdownMini component (#6906) 2019-07-25 08:55:43 -03:00
sections.scss Remove unused ShapeShift components (#8402) 2020-04-24 12:33:24 -03:00
send.scss feat - add down caret on asset list (#8198) 2020-03-16 19:50:07 -03:00
simple-dropdown.scss Update settings screen to new UI 2017-10-22 22:40:03 -07:00
tab-bar.scss Right-to-left CSS (using module for conversion) (#7072) 2019-09-03 14:47:54 -03:00
tooltip.scss Remove react-tooltip-component (#8099) 2020-02-25 09:11:56 -03:30
transaction-list.scss Remove unused ShapeShift components (#8402) 2020-04-24 12:33:24 -03:00