contacts/css/SettingsSection.scss

85 lines
1.9 KiB
SCSS

/**
* @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
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
// contacts settings section
#app-settings-content {
.settings-section {
display: flex;
align-items: center;
margin-top: 5px;
}
}
#new-addressbook-form {
display: flex;
input {
margin-top: 0;
margin-bottom: 0;
}
}
// Sort Contacts
.sort-contacts {
.multiselect {
width: 100%;
margin: 0;
.multiselect__single {
padding-right: 24px !important;
background-repeat: no-repeat;
background-position: right 4px center;
@include icon-color('triangle-s', 'actions', $color-black, 1, true);
}
}
}
// Import contacts
.import-contact {
display: flex;
flex-direction: column;
&__multiselect-label {
z-index: 2;
width: 100%;
margin: 0;
padding: 6px 12px;
padding-left: 34px;
border-radius: var(--border-radius) var(--border-radius) 0 0;
background-position: left 9px center;
&--no-select {
border-radius: var(--border-radius);
}
}
&__multiselect.multiselect {
width: 100%;
margin: 0;
margin-top: -1px;
}
}
// Add address book
.new-addressbook {
.new-addressbook-input {
border-color: var(--color-border-dark);
}
}