Commit Graph

10 Commits

Author SHA1 Message Date
Patrick H. Lauke 0396d682b1
Change links to buttons, expose `aria-pressed` for toggles, add `aria-expanded` to send view's "Options" (#1437)
* Change links to buttons, expose `aria-pressed` for toggles

- also make existing `<a routerLink...>` type controls keyboard focusable with the addition of `tabindex="0"`

* Correctly set aria-pressed

now that I have a working build environment, could verify correct way to set this with my limited Angular knowledge

* Change more links to buttons, initial style changes

* Fix layout of <button> elements with .box-content-row

* Update jslib submodule

* Add `aria-expanded` to the send view's "Show options" expand/collapse control

* Fix position of "Edit" pencil when hovering over folders

* Update jslib

* Change sends list links to buttons

* Add `aria-pressed` to vault and send list buttons

Programmatically denote which of the buttons is currently active/shown in the right-most panel

* Fix incorrect "Options" expand/collapse button in add-edit view

Currently, that buttons lacks an accName because the "Options" text is outside of it.

* Add `aria-pressed` to the send left-hand column filters

* Simplify base, list, and vault styles

Since links are now buttons, no need to double up selectors for both types of elements. No need to double-up theming in base, as this also causes incorrect "x" in toasts.

* Remove unnecessary `position:relative`

Fixes issue with cut-off focus outlines, has no other adverse effect

* Fix styling for last child of action buttons

Old approach of making right padding smaller results in unsightly, off-center icon (noticeable when focus outline is visible). This visually remains the same, but reduces right-hand margin instead.
2022-04-30 16:09:41 +02:00
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Chad Griffis 0c12367721 Add flexbox to cipher list to correct display center issue. 2021-05-03 17:17:19 +08:00
addison ac4afc6ef1 changed disabled badge style 2021-02-25 13:27:47 -05:00
addison f429996d5c added status badges to Send 2021-02-25 13:12:47 -05:00
Máté Farkas a891bd71f8 make list item texts unselectable (#315) 2019-10-01 15:55:03 -04:00
Kyle Spearrin 308af338c0 rename borderColor theme variables 2018-06-01 16:58:24 -04:00
Kyle Spearrin 829d0f22cc dark theme styles 2018-05-30 15:21:41 -04:00
Kyle Spearrin 7d2d4eafcb highlight active cipher and default folder for add 2018-01-29 17:57:58 -05:00
Kyle Spearrin 84d1591fce organize scss 2018-01-27 13:12:06 -05:00