Loading lib/Listeners/BeforeTemplateRenderedListener.php +14 −14 Original line number Diff line number Diff line Loading @@ -36,41 +36,41 @@ class BeforeTemplateRenderedListener implements IEventListener { $this->util->addScript($this->appName, $this->appName . '-unified-search-encryption-message'); $this->util->addStyle($this->appName, 'unified-search-encryption-message'); } if (strpos($pathInfo, '/apps/files/') !== false) { if (strpos($pathInfo, '/apps/files') !== false) { $this->util->addStyle($this->appName, 'files'); $this->util->addScript($this->appName, $this->appName . '-files-icon-alignment'); } if (strpos($pathInfo, '/apps/activity/') !== false) { if (strpos($pathInfo, '/apps/activity') !== false) { $this->util->addStyle($this->appName, 'activity'); } if (strpos($pathInfo, '/apps/cookbook/') !== false) { if (strpos($pathInfo, '/apps/cookbook') !== false) { $this->util->addStyle($this->appName, 'cookbook'); } if (strpos($pathInfo, '/apps/contacts/') !== false) { if (strpos($pathInfo, '/apps/contacts') !== false) { $this->util->addStyle($this->appName, 'contacts'); } if (strpos($pathInfo, '/apps/calendar/') !== false) { if (strpos($pathInfo, '/apps/calendar') !== false) { $this->util->addStyle($this->appName, 'calendar'); } if (strpos($pathInfo, '/apps/news') !== false) { $this->util->addStyle($this->appName, 'news'); } if (strpos($pathInfo, '/apps/notes/') !== false) { if (strpos($pathInfo, '/apps/notes') !== false) { $this->util->addStyle($this->appName, 'notes'); } if (strpos($pathInfo, '/apps/deck/') !== false) { if (strpos($pathInfo, '/apps/deck') !== false) { $this->util->addStyle($this->appName, 'deck'); } if (strpos($pathInfo, '/apps/bookmarks/') !== false) { if (strpos($pathInfo, '/apps/bookmarks') !== false) { $this->util->addStyle($this->appName, 'bookmarks'); } if (strpos($pathInfo, '/apps/tasks/') !== false) { if (strpos($pathInfo, '/apps/tasks') !== false) { $this->util->addStyle($this->appName, 'tasks'); } if (strpos($pathInfo, '/apps/photos/') !== false) { if (strpos($pathInfo, '/apps/photos') !== false) { $this->util->addStyle($this->appName, 'photos'); } if (strpos($pathInfo, '/apps/passwords/') !== false) { if (strpos($pathInfo, '/apps/passwords') !== false) { $this->util->addStyle($this->appName, 'passwords'); } if ($pathInfo === '/settings/user/theming') { Loading Loading @@ -103,16 +103,16 @@ class BeforeTemplateRenderedListener implements IEventListener { if ($pathInfo === '/settings/user/drop_account' && $response->getTemplateName() === 'settings/frame') { $this->util->addStyle($this->appName, 'settings-drop-account'); } if (strpos($pathInfo, '/apps/snappymail/') !== false) { if (strpos($pathInfo, '/apps/snappymail') !== false) { $this->util->addStyle($this->appName, 'snappymail'); } if (strpos($pathInfo, '/settings/user/availability') !== false) { $this->util->addStyle($this->appName, 'settings-groupware'); } if (strpos($pathInfo, '/apps/memories/') !== false) { if (strpos($pathInfo, '/apps/memories') !== false) { $this->util->addStyle($this->appName, 'memories'); } if (strpos($pathInfo, '/apps/forms/') !== false) { if (strpos($pathInfo, '/apps/forms') !== false) { $this->util->addStyle($this->appName, 'forms'); } if ($pathInfo === '/settings/user/privacy') { Loading scss/passwords.scss +21 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,24 @@ a.button-vue.button-vue--icon-only[href*="github.com/marius-wieschollek/passwords"][href$="/Donate.md"] { display: none; } div#passwords-edit-dialog { position: absolute; } body#body-user, #passwords-edit-dialog .header { background-image: unset !important; background-color: var(--color-main-background) !important; } #passwords-edit-dialog .header { color: var(--color-text-light) !important; } body#body-user.pw-auth-visible #app-content{ position: absolute !important; background: unset !important; } #app-content-vue #authorize-window input{ box-shadow: inset 0px 0 0 1px rgba(0, 0, 0, .1) !important; } .modal-container__content .passwords-form{ margin: unset !important; } No newline at end of file Loading
lib/Listeners/BeforeTemplateRenderedListener.php +14 −14 Original line number Diff line number Diff line Loading @@ -36,41 +36,41 @@ class BeforeTemplateRenderedListener implements IEventListener { $this->util->addScript($this->appName, $this->appName . '-unified-search-encryption-message'); $this->util->addStyle($this->appName, 'unified-search-encryption-message'); } if (strpos($pathInfo, '/apps/files/') !== false) { if (strpos($pathInfo, '/apps/files') !== false) { $this->util->addStyle($this->appName, 'files'); $this->util->addScript($this->appName, $this->appName . '-files-icon-alignment'); } if (strpos($pathInfo, '/apps/activity/') !== false) { if (strpos($pathInfo, '/apps/activity') !== false) { $this->util->addStyle($this->appName, 'activity'); } if (strpos($pathInfo, '/apps/cookbook/') !== false) { if (strpos($pathInfo, '/apps/cookbook') !== false) { $this->util->addStyle($this->appName, 'cookbook'); } if (strpos($pathInfo, '/apps/contacts/') !== false) { if (strpos($pathInfo, '/apps/contacts') !== false) { $this->util->addStyle($this->appName, 'contacts'); } if (strpos($pathInfo, '/apps/calendar/') !== false) { if (strpos($pathInfo, '/apps/calendar') !== false) { $this->util->addStyle($this->appName, 'calendar'); } if (strpos($pathInfo, '/apps/news') !== false) { $this->util->addStyle($this->appName, 'news'); } if (strpos($pathInfo, '/apps/notes/') !== false) { if (strpos($pathInfo, '/apps/notes') !== false) { $this->util->addStyle($this->appName, 'notes'); } if (strpos($pathInfo, '/apps/deck/') !== false) { if (strpos($pathInfo, '/apps/deck') !== false) { $this->util->addStyle($this->appName, 'deck'); } if (strpos($pathInfo, '/apps/bookmarks/') !== false) { if (strpos($pathInfo, '/apps/bookmarks') !== false) { $this->util->addStyle($this->appName, 'bookmarks'); } if (strpos($pathInfo, '/apps/tasks/') !== false) { if (strpos($pathInfo, '/apps/tasks') !== false) { $this->util->addStyle($this->appName, 'tasks'); } if (strpos($pathInfo, '/apps/photos/') !== false) { if (strpos($pathInfo, '/apps/photos') !== false) { $this->util->addStyle($this->appName, 'photos'); } if (strpos($pathInfo, '/apps/passwords/') !== false) { if (strpos($pathInfo, '/apps/passwords') !== false) { $this->util->addStyle($this->appName, 'passwords'); } if ($pathInfo === '/settings/user/theming') { Loading Loading @@ -103,16 +103,16 @@ class BeforeTemplateRenderedListener implements IEventListener { if ($pathInfo === '/settings/user/drop_account' && $response->getTemplateName() === 'settings/frame') { $this->util->addStyle($this->appName, 'settings-drop-account'); } if (strpos($pathInfo, '/apps/snappymail/') !== false) { if (strpos($pathInfo, '/apps/snappymail') !== false) { $this->util->addStyle($this->appName, 'snappymail'); } if (strpos($pathInfo, '/settings/user/availability') !== false) { $this->util->addStyle($this->appName, 'settings-groupware'); } if (strpos($pathInfo, '/apps/memories/') !== false) { if (strpos($pathInfo, '/apps/memories') !== false) { $this->util->addStyle($this->appName, 'memories'); } if (strpos($pathInfo, '/apps/forms/') !== false) { if (strpos($pathInfo, '/apps/forms') !== false) { $this->util->addStyle($this->appName, 'forms'); } if ($pathInfo === '/settings/user/privacy') { Loading
scss/passwords.scss +21 −0 Original line number Diff line number Diff line Loading @@ -8,3 +8,24 @@ a.button-vue.button-vue--icon-only[href*="github.com/marius-wieschollek/passwords"][href$="/Donate.md"] { display: none; } div#passwords-edit-dialog { position: absolute; } body#body-user, #passwords-edit-dialog .header { background-image: unset !important; background-color: var(--color-main-background) !important; } #passwords-edit-dialog .header { color: var(--color-text-light) !important; } body#body-user.pw-auth-visible #app-content{ position: absolute !important; background: unset !important; } #app-content-vue #authorize-window input{ box-shadow: inset 0px 0 0 1px rgba(0, 0, 0, .1) !important; } .modal-container__content .passwords-form{ margin: unset !important; } No newline at end of file