summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/contacts.scss2
-rw-r--r--css/settings.scss105
2 files changed, 80 insertions, 27 deletions
diff --git a/css/contacts.scss b/css/contacts.scss
index 92e7a293..d1b2da3e 100644
--- a/css/contacts.scss
+++ b/css/contacts.scss
@@ -1,2 +1,2 @@
@import 'settings';
-@import 'details'; \ No newline at end of file
+@import 'details';
diff --git a/css/settings.scss b/css/settings.scss
index 94307029..cae01168 100644
--- a/css/settings.scss
+++ b/css/settings.scss
@@ -2,6 +2,7 @@
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
+ * author Team Popcorn <teampopcornberlin@gmail.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -28,23 +29,26 @@
}
}
+#new-addressbook-form {
+ display: flex;
+}
+
// Addressbook lists
-#address-book-list li {
- padding: 6px 0;
+.addressbook {
display: flex;
align-items: center;
white-space: nowrap;
text-overflow: ellipsis;
- .addressbook-name {
+ &__name {
display: block;
flex: 0 1 auto;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
- .addressbook-share,
- .addressbook-menu .icon-more {
+ &__share,
+ &__menu .icon-more {
width: 44px;
height: 44px;
opacity: .5;
@@ -54,36 +58,57 @@
opacity: .7;
}
}
- .addressbook-share {
+ &__share {
margin-left: auto;
}
}
-#new-addressbook-form {
- display: flex;
-}
-
-// Share Addressbook
-.addressBook-share-list {
- margin-top: 8px;
- margin-bottom: 12px;
- display: flex;
- flex-direction: column;
+// Addressbook sharees
+.addressbook__shares {
+ width: 100%;
+ .dropdown-menu {
+ border: 1px solid #d1d1d1;
+ border-radius: 0 0 3px 3px;
+ max-height: 200px;
+ margin-top: -2px;
+ overflow-y: auto;
+ display: flex;
+ flex-wrap: wrap;
+ background-color: #fff;
+ position: relative;
+ width: 100%;
+ z-index: 500;
+ top: -2px;
+ left: 0px;
+ li {
+ width: 100%;
+ padding: 8px 9px 9px;
+ cursor: pointer;
+ }
+ li.active {
+ background: #f0f0f0;
+ }
+ }
+ &__input {
+ width: 100% !important;
+ margin-right: 0;
+ padding-right: 30px;
+ text-overflow: ellipsis;
+ }
+ &__list {
+ margin-top: 8px;
+ margin-bottom: 12px;
+ display: flex;
+ flex-direction: column;
+ }
}
// Sharees settings for Addressbook
-.sharee-input {
- width: 100% !important;
- margin-right: 0;
- padding-right: 30px;
- text-overflow: ellipsis;
-}
-
-.calendar-share-item {
+.addressbook__sharee {
padding: 0 5px;
display: inline-flex;
align-items: center;
- .shareeIdentifier {
+ &__identifier {
width: 100%;
overflow: hidden;
white-space: nowrap;
@@ -92,7 +117,7 @@
vertical-align: top;
opacity: 0.5;
}
- .utils {
+ &__utils {
padding: 0 !important;
float: right;
position: relative !important;
@@ -144,7 +169,35 @@
// Import contacts
.import-contact {
+ display: flex;
+ flex-direction: column;
.multiselect.multiselect-vue {
width: 100%;
+ margin-left: -1px;
+ // border-top-left-radius: 50px;
+ }
+ .multiselect.multiselect-vue .multiselect__tags {
+ border: 1px solid var(--color-border-dark);
+ margin-top: -2px;
+ }
+ select, button, .button, input[type='button'], input[type='submit'], input[type='reset'] {
+ width: 100%;
+ padding: 6px 12px 6px 34px;
+ margin: 3px 3px 0 0;
+ }
+ [class^='icon-'], [class*=' icon-'] {
+ background: url(/core/css/../img/actions/upload.svg) no-repeat left 9px center;
+ background-color: #f7f7f7;
+ }
+}
+
+// Add address book
+
+.new-address-book {
+ input[type='text'] + .icon-confirm, input[type='password'] + .icon-confirm, input[type='email'] + .icon-confirm {
+ opacity: 0.5;
+ }
+ .new-address-book-input {
+ border-color: var(--color-border-dark);
}
}