diff --git a/packages/app-shell/src/color-mode.js b/packages/app-shell/src/color-mode.js index e8dfc5059e50f837971fa495fce623409d69d782..78af1fef278534c7189a08dc792d5b6a41ef6b9b 100644 --- a/packages/app-shell/src/color-mode.js +++ b/packages/app-shell/src/color-mode.js @@ -183,7 +183,7 @@ export class ColorMode extends ScopedElementsMixin(DBPLitElement) { position: absolute; background-color: var(--dbp-base); z-index: 1000; - boader-radius: var(--dbp-border-radius); + border-radius: var(--dbp-border-radius); } .extended-menu li { @@ -197,7 +197,7 @@ export class ColorMode extends ScopedElementsMixin(DBPLitElement) { overflow: hidden; text-overflow: ellipsis; padding: 12px 15px; - width: 100%; + w1idth: 100%; box-sizing: border-box; text-align: left; color: var(--dbp-text); diff --git a/packages/common/styles.js b/packages/common/styles.js index cf73963fe143205b391caca326bb1fa53b3668a4..9295e9de098fe836071c7b746d7327227121a913 100644 --- a/packages/common/styles.js +++ b/packages/common/styles.js @@ -90,6 +90,16 @@ export function getThemeCSS() { background-color: var(--dbp-base); color: var(--dbp-text); } + + ::-moz-selection { + color: var(--dbp-primary-text); + background: var(--dbp-primary-base); + } + + ::selection { + color: var(--dbp-primary-text); + background: var(--dbp-primary-base); + } `; @@ -1016,6 +1026,7 @@ export function getModalDialogCSS() { height: 70%; width: 70%; position: relative; + border-radius: var(--dbp-border-radius); } .modal-close { diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js index d47f79d90e921f8f7378f008766cccc75beceb14..6dc9b4ff2fb355805df96a556e2f932792a480a9 100644 --- a/packages/file-handling/src/nextcloud-file-picker.js +++ b/packages/file-handling/src/nextcloud-file-picker.js @@ -2259,6 +2259,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { background-color: var(--dbp-base); z-index: 1000; right: 0px; + border-radius: var(--dbp-border-radius); } .extended-menu a:hover {