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;
|
2018-03-06 15:07:55 +01:00
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.15);
|
2017-10-25 01:06:25 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
cursor: text;
|
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.pill {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
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;
|
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.15);
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
border-radius: 4px;
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.07);
|
|
|
|
cursor: pointer;
|
2017-10-25 01:06:25 +02:00
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
&:focus {
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
border: 1px solid hsl(176, 78%, 28%);
|
|
|
|
background-color: hsl(176, 49%, 42%);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2019-06-30 14:37:15 +02:00
|
|
|
.pill-value {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
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;
|
|
|
|
padding: 0px;
|
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;
|
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.15);
|
|
|
|
background-color: hsla(0, 0%, 0%, 0.07);
|
|
|
|
}
|
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
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.pm_recipient .pill-container {
|
2018-03-06 15:07:55 +01:00
|
|
|
padding: 0px 2px;
|
|
|
|
border: none;
|
2018-07-30 21:47:23 +02:00
|
|
|
flex-grow: 1;
|
2018-01-31 06:13:27 +01:00
|
|
|
align-content: center;
|
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
|
|
|
}
|
|
|
|
|
2020-04-11 21:49:51 +02:00
|
|
|
.add_subscribers_container .pill-container {
|
|
|
|
width: 100%;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
|
|
|
|
.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);
|
|
|
|
}
|
|
|
|
}
|