2017-10-25 01:06:25 +02:00
|
|
|
.pill-container {
|
2018-07-11 18:29:48 +02:00
|
|
|
display: inline-flex;
|
2018-07-26 00:46:51 +02:00
|
|
|
flex-wrap: wrap;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
|
|
|
padding: 2px;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 15%);
|
2017-10-25 01:06:25 +02:00
|
|
|
border-radius: 4px;
|
2021-06-12 01:55:52 +02:00
|
|
|
align-items: center;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
|
|
|
cursor: text;
|
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.pill {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2023-04-16 13:41:22 +02:00
|
|
|
max-width: 100%;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
height: 20px;
|
|
|
|
margin: 1px 2px;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
color: inherit;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 15%);
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
border-radius: 4px;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 0% / 7%);
|
2019-06-30 14:37:15 +02:00
|
|
|
cursor: pointer;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&:focus {
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 100%);
|
|
|
|
border: 1px solid hsl(176deg 78% 28%);
|
|
|
|
background-color: hsl(176deg 49% 42%);
|
2019-06-30 14:37:15 +02:00
|
|
|
outline: none;
|
|
|
|
}
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:42:51 +02:00
|
|
|
.pill-image {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
}
|
|
|
|
|
2023-09-18 19:13:09 +02:00
|
|
|
.pill-label {
|
|
|
|
/* Treat as flex container to better position status
|
|
|
|
emoji and control ellipsis on the pill value. */
|
|
|
|
display: flex;
|
|
|
|
/* Allow label to collapse for ellipsis effect. */
|
|
|
|
min-width: 0;
|
|
|
|
align-items: center;
|
2019-06-30 14:37:15 +02:00
|
|
|
margin: 0 5px;
|
2023-09-18 19:13:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.pill-value {
|
|
|
|
flex: 0 1 auto;
|
2023-04-16 13:41:22 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-06-30 14:37:15 +02:00
|
|
|
}
|
2019-06-30 14:23:21 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.exit {
|
|
|
|
opacity: 0.5;
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2019-06-30 14:23:21 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&:hover .exit {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2019-06-30 14:23:21 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&.not-editable {
|
|
|
|
cursor: not-allowed;
|
|
|
|
border: none;
|
2019-06-28 10:49:46 +02:00
|
|
|
background-color: transparent;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2018-02-13 11:34:11 +01:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.pill {
|
|
|
|
padding-right: 4px;
|
|
|
|
cursor: not-allowed;
|
2018-02-13 11:34:11 +01:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&:focus {
|
|
|
|
color: inherit;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 15%);
|
|
|
|
background-color: hsl(0deg 0% 0% / 7%);
|
2019-06-30 14:37:15 +02:00
|
|
|
}
|
2018-02-13 11:34:11 +01:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.exit {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-02-13 11:34:11 +01:00
|
|
|
|
2021-12-06 23:44:26 +01:00
|
|
|
&.pill-container-btn {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.pill {
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
.exit {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.input {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 4px;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
min-width: 2px;
|
|
|
|
word-break: break-all;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
outline: none;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&.shake {
|
2020-08-04 23:58:56 +02:00
|
|
|
animation: shake 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
2019-06-30 14:37:15 +02:00
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
backface-visibility: hidden;
|
|
|
|
perspective: 1000px;
|
|
|
|
}
|
|
|
|
}
|
2017-10-25 01:06:25 +02:00
|
|
|
}
|
|
|
|
|
2023-04-15 03:35:23 +02:00
|
|
|
#compose-direct-recipient.pill-container {
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0 2px;
|
2018-07-30 21:47:23 +02:00
|
|
|
flex-grow: 1;
|
2018-01-31 06:13:27 +01:00
|
|
|
align-content: center;
|
2023-03-20 22:08:47 +01:00
|
|
|
border: 1px solid hsl(0deg 0% 0% / 20%);
|
2023-03-24 00:09:48 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.input {
|
|
|
|
height: 20px;
|
2018-03-06 15:07:55 +01:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&:first-child:empty::before {
|
|
|
|
content: attr(data-no-recipients-text);
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
2018-03-06 15:07:55 +01:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.pill + .input:empty::before {
|
|
|
|
content: attr(data-some-recipients-text);
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2017-10-25 01:06:25 +02:00
|
|
|
}
|
|
|
|
|
2021-07-23 00:27:09 +02:00
|
|
|
.deactivated-pill {
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 86% 86%) !important;
|
2021-07-23 00:27:09 +02:00
|
|
|
}
|
|
|
|
|
2023-09-19 11:56:06 +02:00
|
|
|
.add_subscribers_container .pill-container,
|
|
|
|
.add_members_container .pill-container {
|
2020-04-11 21:49:51 +02:00
|
|
|
width: 100%;
|
2023-03-20 22:08:47 +01:00
|
|
|
background-color: hsl(0deg 0% 100%);
|
2020-04-11 21:49:51 +02:00
|
|
|
|
|
|
|
.input:first-child:empty::before {
|
|
|
|
opacity: 0.5;
|
|
|
|
content: attr(data-placeholder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-25 01:06:25 +02:00
|
|
|
@keyframes shake {
|
2018-07-25 21:38:45 +02:00
|
|
|
10%,
|
|
|
|
90% {
|
2017-10-25 01:06:25 +02:00
|
|
|
transform: translate3d(-1px, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
20%,
|
|
|
|
80% {
|
|
|
|
transform: translate3d(2px, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
30%,
|
|
|
|
50%,
|
|
|
|
70% {
|
|
|
|
transform: translate3d(-3px, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
40%,
|
|
|
|
60% {
|
|
|
|
transform: translate3d(3px, 0, 0);
|
|
|
|
}
|
|
|
|
}
|