summaryrefslogtreecommitdiffstats
path: root/css/SettingsSection.scss
blob: 0074aa011c584a0b704410b4d6535a5091605975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/**
 * @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-contacts #app-settings-content {
    padding-left: 0px !important;
}

#app-settings-content {
	.settings-section {
		display: flex;
		align-items: center;
	}
}

.new-addressbook-entry {
	display: flex;
	align-items: center;
}

#new-addressbook-form {
	display: flex;
	width: calc(100% - 44px);
	input {
		margin-top: 0;
		margin-bottom: 0;
	}
}

.settings-addressbook-list {
	display: flex;
	li {
		width: calc(100% - 44px);
	}
	&__header {
		padding-left: 44px;
		color: var(--color-primary-element);
		padding-top: 8px;
	}
}

.settings-line__icon {
	width: 44px;
	height: 44px;
}

// Sort Contacts
.sort-contacts {
	display: flex;
	.multiselect {
		width: calc(100% - 44px);
		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);
		}
		&__content-wrapper {
			bottom: unset !important;
		}
	}
}

// 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;
	}
	&__button-main {
		margin-left: 10px;
		width: calc(100% - 10px) !important;
	}
}

// Add address book
.new-addressbook {
	.new-addressbook-input {
		border-color: var(--color-border-dark);
	}
}