diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2020-02-13 22:12:52 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2020-02-13 22:12:52 +0300 |
commit | 5130d11fb48bcfa9cc5664c8b7c5bd5caae0a05e (patch) | |
tree | 445cac95565590a75ec666fd2258ff265710cbb5 /src | |
parent | d9c3dbebee171361294cb9b6f2ec90fcbc78ef50 (diff) |
Make active server sticky
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'src')
-rw-r--r-- | src/platform/generic/_locales/en/messages.json | 32 | ||||
-rw-r--r-- | src/scss/includes.scss | 4 | ||||
-rw-r--r-- | src/vue/App/Popup.vue | 2 | ||||
-rw-r--r-- | src/vue/Components/Popup/Browse.vue | 11 | ||||
-rw-r--r-- | src/vue/Components/Tabs.vue | 2 |
5 files changed, 47 insertions, 4 deletions
diff --git a/src/platform/generic/_locales/en/messages.json b/src/platform/generic/_locales/en/messages.json index 16e74e1..fc45020 100644 --- a/src/platform/generic/_locales/en/messages.json +++ b/src/platform/generic/_locales/en/messages.json @@ -227,6 +227,38 @@ "message" : "No new passwords found", "description": "" }, + "LabelLabel" : { + "message" : "Name", + "description": "" + }, + "LabelPassword" : { + "message" : "Password", + "description": "" + }, + "LabelUsername" : { + "message" : "User", + "description": "" + }, + "LabelUrl" : { + "message" : "Url", + "description": "" + }, + "LabelUser" : { + "message" : "User", + "description": "" + }, + "LabelPasswords" : { + "message" : "Passwords", + "description": "" + }, + "LabelFolders" : { + "message" : "Folders", + "description": "" + }, + "LabelTags" : { + "message" : "Tags", + "description": "" + }, diff --git a/src/scss/includes.scss b/src/scss/includes.scss index b0a53c5..2198203 100644 --- a/src/scss/includes.scss +++ b/src/scss/includes.scss @@ -22,13 +22,13 @@ /** * tabs */ - --content-primary-background-color : #0000; + --content-primary-background-color : #fff; --content-primary-text-color : #0996f8; --content-primary-border-color : #0996f8; --content-primary-hover-background-color : rgba(0, 0, 0, 0.06); --content-primary-hover-text-color : #0670cc; --content-primary-hover-border-color : #0670cc; - --content-secondary-background-color : #0000; + --content-secondary-background-color : #fff; --content-secondary-text-color : #1a1a1a; --content-secondary-border-color : #ededed; --content-secondary-hover-background-color : rgba(0, 0, 0, 0.06); diff --git a/src/vue/App/Popup.vue b/src/vue/App/Popup.vue index 08879b7..cdf8f52 100644 --- a/src/vue/App/Popup.vue +++ b/src/vue/App/Popup.vue @@ -85,6 +85,8 @@ <style lang="scss"> body { + overflow : hidden; + &.mobile { width : 100vw; height : 100vh; diff --git a/src/vue/Components/Popup/Browse.vue b/src/vue/Components/Popup/Browse.vue index 95569fb..08cde3b 100644 --- a/src/vue/Components/Popup/Browse.vue +++ b/src/vue/Components/Popup/Browse.vue @@ -73,4 +73,13 @@ } } }; -</script>
\ No newline at end of file +</script> + +<style lang="scss"> + .tab-content-browse { + .foldout-tab.active { + position: sticky; + top: 0; + } + } +</style>
\ No newline at end of file diff --git a/src/vue/Components/Tabs.vue b/src/vue/Components/Tabs.vue index d7c96cb..96ec6cc 100644 --- a/src/vue/Components/Tabs.vue +++ b/src/vue/Components/Tabs.vue @@ -13,7 +13,7 @@ </div> </div> <div class="tab-content"> - <div v-for="(meta, name) in tabs" :key="name"> + <div v-for="(meta, name) in tabs" :key="name" :class="`tab-content-${name}`" :style="{display: name===tab ? 'block':'none'}"> <keep-alive> <slot :name="name" v-if="name===tab"/> </keep-alive> |