diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-01-20 17:22:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 17:22:18 +0100 |
commit | c686f8a03a36d076144b38f69b02ab2cc30695e4 (patch) | |
tree | 594d27d4081c8d503d6ad629c2a8c5c8681b7a4f | |
parent | 4c81f5c4ad3942cd8f4b8e9e67b956c0181ac435 (diff) | |
parent | 6e2c6525da5ab05f7a85dbe4ba53f44a951684c2 (diff) | |
download | nextcloud-server-c686f8a03a36d076144b38f69b02ab2cc30695e4.tar.gz nextcloud-server-c686f8a03a36d076144b38f69b02ab2cc30695e4.zip |
Merge pull request #25229 from nextcloud/bugfix/noid/darkmode-popover-adjustments
Dark mode adjustments for popover
-rw-r--r-- | apps/accessibility/css/dark.scss | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/apps/accessibility/css/dark.scss b/apps/accessibility/css/dark.scss index 78203eae9f3..90f9e80f51f 100644 --- a/apps/accessibility/css/dark.scss +++ b/apps/accessibility/css/dark.scss @@ -53,11 +53,12 @@ $color-border-dark: lighten($color-main-background, 14%); .bubble, .app-navigation-entry-menu, -.popovermenu { +.popovermenu, +.popover__menu { li { > button, > a, - > .menuitem { + > .menuitem, > .popover__menuitem { > img { filter: invert(100%); } @@ -71,6 +72,22 @@ $color-border-dark: lighten($color-main-background, 14%); border: 1px solid var(--color-border); } +.popover[x-placement^='top'] .popover__arrow { + border-top-color: var(--color-border); +} +.popover[x-placement^='bottom'] .popover__arrow { + border-bottom-color: var(--color-border); +} +.popover[x-placement^='left'] .popover__arrow { + border-left-color: var(--color-border); +} +.popover[x-placement^='right'] .popover__arrow { + border-right-color: var(--color-border); +} +.popover .popover__inner { + border: 1px solid var(--color-border); +} + // Prevent slideshow icons from going dark #slideshow { [class^='icon-'], [class*=' icon-']{ |