summaryrefslogtreecommitdiffstats
path: root/css/settings/settings-addressbook-shares.scss
blob: c2bf75e0a9ebe8d0faa8c649790972bf801b7254 (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
/**
 * @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/>.
 *
 */

.addressbook-shares {
	width: 100%;
	&__list {
		margin-top: 8px;
		margin-bottom: 12px;
		display: flex;
		flex-direction: column;
	}
	&__shareematch--bold {
		font-weight: bold;
	}
	.multiselect.multiselect-vue {
		width: inherit;
		.multiselect__spinner {
			position: absolute;
			right: 1px;
			top: 1px;
			width: 48px;
			height: 35px;
			background: #fff;
			display: block
		}
		
		.multiselect__spinner:after,
		.multiselect__spinner:before {
			position: absolute;
			content: "";
			top: 50%;
			left: 50%;
			margin: -8px 0 0 -8px;
			width: 16px;
			height: 16px;
			border-radius: 100%;
			border-color: #41b883 transparent transparent;
			border-style: solid;
			border-width: 2px;
			box-shadow: 0 0 0 1px transparent
		}
		
		.multiselect__spinner:before {
			animation: a 2.4s cubic-bezier(.41, .26, .2, .62);
			animation-iteration-count: infinite
		}
		
		.multiselect__spinner:after {
			animation: a 2.4s cubic-bezier(.51, .09, .21, .8);
			animation-iteration-count: infinite
		}
		
		.multiselect__loading-enter-active,
		.multiselect__loading-leave-active {
			transition: opacity .4s ease-in-out;
			opacity: 1
		}
		
		.multiselect__loading-enter,
		.multiselect__loading-leave-active {
			opacity: 0
		}

		[dir=rtl] .multiselect__spinner {
			right: auto;
			left: 1px
		}
		
		@keyframes a {
			0% {
				transform: rotate(0)
			}
			to {
				transform: rotate(2turn)
			}
		}

		.multiselect__tags:focus-within, 
		.multiselect__tags:hover {
			border-color: var(--color-primary-element);
		}

		.multiselect__content-wrapper {
			display: none;
		}
	}
	.multiselect.showContent {
		.multiselect__content-wrapper {
			display: inherit;
			background: #f0f0f0;
			width: inherit;
		}
	}
}