2016-04-19 18:55:10 +03:00
|
|
|
.ember-power-select-trigger {
|
2016-09-24 18:48:21 +03:00
|
|
|
padding: 0 16px 0 8px;
|
2019-02-22 12:43:35 +03:00
|
|
|
border: 1px solid color-mod(var(--lightgrey) l(-5%) s(-5%));
|
2016-04-19 18:55:10 +03:00
|
|
|
border-radius: var(--border-radius);
|
2017-06-12 18:13:10 +03:00
|
|
|
background: transparent;
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
2019-02-22 12:43:35 +03:00
|
|
|
.ember-power-select-trigger:focus, .ember-power-select-trigger--active {
|
|
|
|
border: 1px solid color-mod(var(--lightgrey) l(-5%) s(-5%));
|
|
|
|
}
|
|
|
|
|
2017-04-10 14:16:19 +03:00
|
|
|
.ember-power-select-trigger svg {
|
|
|
|
height: 4px;
|
2017-07-10 14:54:24 +03:00
|
|
|
width: 6.11px;
|
2017-04-10 14:16:19 +03:00
|
|
|
margin-left: 2px;
|
2020-02-14 12:34:01 +03:00
|
|
|
margin-top: -2px;
|
2017-04-10 14:16:19 +03:00
|
|
|
vertical-align: middle;
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
2017-06-12 18:13:10 +03:00
|
|
|
.ember-power-select-trigger svg path {
|
|
|
|
stroke: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
2016-03-29 11:40:44 +03:00
|
|
|
.ember-power-select-search {
|
|
|
|
padding: 2px 0 3px 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-09-08 18:56:44 +03:00
|
|
|
.ember-power-select-selected-item {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-04-19 18:55:10 +03:00
|
|
|
.ember-basic-dropdown--opened > .ember-power-select-trigger,
|
|
|
|
.ember-power-select-trigger[aria-expanded="true"],
|
|
|
|
.ember-power-select-search input {
|
|
|
|
outline: 0;
|
2021-02-08 16:55:14 +03:00
|
|
|
border-color: var(--input-border-color);
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-dropdown {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1000;
|
|
|
|
box-sizing: border-box;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 0;
|
2021-02-08 16:55:14 +03:00
|
|
|
border: var(--input-border);
|
2016-04-19 18:55:10 +03:00
|
|
|
border-top: 0 none;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
2019-06-18 13:47:21 +03:00
|
|
|
box-shadow: 0 18px 45px -5px rgba(0, 0, 0, 0.15);
|
2019-02-22 12:43:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-dropdown.ember-basic-dropdown-content--in-place {
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 4px 0;
|
|
|
|
border-bottom-color: color-mod(var(--whitegrey) a(70%) s(-10%));
|
|
|
|
border-top: 1px solid color-mod(var(--whitegrey) a(70%) s(-10%));
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
2017-04-10 14:16:19 +03:00
|
|
|
.ember-power-select-option {
|
|
|
|
margin: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 6px 14px;
|
|
|
|
color: var(--darkgrey);
|
2017-04-10 14:16:19 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-option[aria-current="true"] {
|
2019-06-18 13:47:21 +03:00
|
|
|
background: color-mod(var(--whitegrey) a(60%) s(-12%));
|
2017-04-10 14:16:19 +03:00
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-option[aria-selected="true"] {
|
|
|
|
color: var(--darkgrey);
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 700;
|
2017-04-10 14:16:19 +03:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2016-04-19 18:55:10 +03:00
|
|
|
.ember-power-select-options:not([role="group"]) {
|
2017-07-21 16:04:58 +03:00
|
|
|
max-height: 50vh;
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-search input {
|
|
|
|
display: inline-block !important;
|
|
|
|
margin: 0 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
min-height: 0 !important;
|
2019-02-22 12:43:35 +03:00
|
|
|
height: 27px;
|
2017-06-29 10:54:55 +03:00
|
|
|
width: calc(100% - 8px) !important;
|
2016-04-19 18:55:10 +03:00
|
|
|
max-width: 100% !important;
|
|
|
|
max-height: none !important;
|
|
|
|
border: 0 none !important;
|
|
|
|
background: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
text-indent: 0 !important;
|
2019-02-22 12:43:35 +03:00
|
|
|
font-size: 1.4rem;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-weight: 400;
|
2016-04-19 18:55:10 +03:00
|
|
|
line-height: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-group {
|
|
|
|
float: left;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
border-top: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-group .ember-power-select-group-name {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2021-05-07 16:59:26 +03:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 6px;
|
|
|
|
padding: 10px 12px 8px;
|
2016-04-19 18:55:10 +03:00
|
|
|
cursor: default;
|
2021-05-07 16:59:26 +03:00
|
|
|
border-top: 1px solid var(--list-color-divider);
|
2019-02-22 12:43:35 +03:00
|
|
|
text-transform: uppercase;
|
2019-06-18 13:47:21 +03:00
|
|
|
color: var(--midlightgrey);
|
2019-02-22 12:43:35 +03:00
|
|
|
white-space: nowrap;
|
2019-06-18 13:47:21 +03:00
|
|
|
letter-spacing: 0.1px;
|
2019-02-22 12:43:35 +03:00
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: 500;
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
@media (max-width: 900px) {
|
2016-04-19 18:55:10 +03:00
|
|
|
.ember-power-select-group .ember-power-select-group-name:after {
|
2019-06-18 13:47:21 +03:00
|
|
|
width: calc(524px - 100%);
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
@media (max-width: 600px) {
|
2016-04-19 18:55:10 +03:00
|
|
|
.ember-power-select-group .ember-power-select-group-name:after {
|
|
|
|
width: calc(80vw - 45px - 100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-group:first-of-type .ember-power-select-group-name {
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 8px 0;
|
2016-04-19 18:55:10 +03:00
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2019-02-22 12:43:35 +03:00
|
|
|
.ember-power-select-group:first-of-type .ember-power-select-group-name:after {
|
|
|
|
top: 66%;
|
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.ember-power-select-group:last-of-type {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2016-04-19 18:55:10 +03:00
|
|
|
.ember-power-select-group .ember-power-select-option {
|
|
|
|
overflow: hidden;
|
2019-06-18 13:47:21 +03:00
|
|
|
padding: 7px 12px;
|
2016-04-19 18:55:10 +03:00
|
|
|
line-height: 1.35em;
|
|
|
|
cursor: pointer;
|
2019-06-18 13:47:21 +03:00
|
|
|
font-size: 1.4rem;
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-group .ember-power-select-option .highlight {
|
2019-02-22 12:43:35 +03:00
|
|
|
background: #fff6b8;
|
2016-04-19 18:55:10 +03:00
|
|
|
border-radius: 1px;
|
2019-02-22 12:43:35 +03:00
|
|
|
color: color-mod(var(--darkgrey) l(-10%));
|
2016-04-19 18:55:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-group .ember-power-select-option[aria-current="true"] {
|
2019-06-18 13:47:21 +03:00
|
|
|
background: color-mod(var(--whitegrey) a(60%) s(-12%));
|
2016-04-19 18:55:10 +03:00
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
2016-03-29 11:40:44 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
HACK: ember-power-select has no separate class for the loading message
|
|
|
|
Issue: https://github.com/cibernox/ember-power-select/issues/479
|
|
|
|
*/
|
|
|
|
.ember-power-select-option--no-matches-message {
|
|
|
|
padding: 7px 8px;
|
|
|
|
color: var(--midgrey);
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
2017-04-10 14:16:19 +03:00
|
|
|
|
|
|
|
.ember-power-select-option[aria-current="true"] {
|
|
|
|
|
|
|
|
}
|
2017-10-31 12:10:49 +03:00
|
|
|
|
|
|
|
/* Multiple */
|
|
|
|
.ember-power-select-multiple-trigger {
|
|
|
|
background: #fff;
|
2020-02-14 12:34:01 +03:00
|
|
|
padding: 4px;
|
2021-02-08 16:55:14 +03:00
|
|
|
border: var(--input-border);
|
2017-10-31 12:10:49 +03:00
|
|
|
border-radius: 3px;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-multiple-option {
|
|
|
|
margin: 2px;
|
2018-03-13 14:17:29 +03:00
|
|
|
padding: 2px 6px;
|
2021-02-10 15:48:10 +03:00
|
|
|
border: 1px solid var(--black-20);
|
2017-10-31 12:10:49 +03:00
|
|
|
border-radius: 3px;
|
2018-03-13 14:17:29 +03:00
|
|
|
font-size: 0.93em;
|
2020-02-14 12:34:01 +03:00
|
|
|
font-weight: 500;
|
2017-10-31 12:10:49 +03:00
|
|
|
color: white;
|
2021-02-04 20:19:39 +03:00
|
|
|
background: var(--black);
|
2018-03-13 14:17:29 +03:00
|
|
|
}
|
|
|
|
|
2019-03-07 13:30:49 +03:00
|
|
|
.ember-power-select-multiple-remove-btn {
|
|
|
|
padding: 2px 1px;
|
|
|
|
}
|
|
|
|
|
2018-03-13 14:17:29 +03:00
|
|
|
.ember-power-select-multiple-remove-btn:not(:hover) {
|
2021-05-07 16:59:26 +03:00
|
|
|
opacity: 1;
|
2018-03-13 14:17:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-multiple-remove-btn svg {
|
2021-05-07 16:59:26 +03:00
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2018-03-13 14:17:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-multiple-remove-btn svg path {
|
|
|
|
stroke: white;
|
2021-05-07 16:59:26 +03:00
|
|
|
stroke-width: 2px;
|
2018-03-13 14:17:29 +03:00
|
|
|
fill: white;
|
2017-10-31 12:10:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-trigger-multiple-input {
|
|
|
|
height: 24px;
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-power-select-status-icon {
|
2020-02-14 12:34:01 +03:00
|
|
|
top: -4px;
|
|
|
|
right: 13px;
|
|
|
|
border: solid var(--midlightgrey);
|
|
|
|
border-width: 0 1px 1px 0;
|
|
|
|
padding: 3px;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ember-basic-dropdown-trigger[aria-expanded="true"] .ember-power-select-status-icon {
|
|
|
|
transform: rotate(45deg);
|
2017-10-31 12:10:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Token input */
|
|
|
|
.gh-token-input .ember-power-select-options {
|
|
|
|
max-height: 172px; /* 5.5 options */
|
|
|
|
}
|
|
|
|
|
2021-05-07 16:59:26 +03:00
|
|
|
.ember-power-select-options[role="listbox"] {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2017-10-31 12:10:49 +03:00
|
|
|
/* Tag input */
|
2018-03-13 14:17:29 +03:00
|
|
|
|
|
|
|
.tag-token--internal {
|
2021-02-10 15:48:10 +03:00
|
|
|
background: color-mod(var(--black) alpha(0.1));
|
|
|
|
color: var(--black);
|
2018-03-13 14:17:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.tag-token--internal svg path {
|
2021-02-10 15:48:10 +03:00
|
|
|
stroke: var(--black);
|
|
|
|
fill: var(--black);
|
2017-10-31 12:10:49 +03:00
|
|
|
}
|
2019-11-15 16:10:45 +03:00
|
|
|
|
2021-05-07 12:02:19 +03:00
|
|
|
/* Segment input */
|
|
|
|
|
2021-05-07 16:59:26 +03:00
|
|
|
.token-segment-status-free {
|
|
|
|
border: 1px solid var(--green-d1);
|
|
|
|
color: var(--white);
|
|
|
|
background: var(--green-d1);
|
2021-05-07 12:02:19 +03:00
|
|
|
}
|
|
|
|
|
2021-05-07 16:59:26 +03:00
|
|
|
.token-segment-status-paid {
|
|
|
|
border: 1px solid var(--pink-d1);
|
|
|
|
color: var(--white);
|
|
|
|
background: var(--pink-d1);
|
2021-05-07 12:02:19 +03:00
|
|
|
}
|
|
|
|
|
2021-05-07 13:58:05 +03:00
|
|
|
.token-segment-label {
|
2021-05-07 16:59:26 +03:00
|
|
|
border: 1px solid var(--whitegrey-d1);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
background: var(--whitegrey-d1);
|
2021-05-07 13:58:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token-segment-label svg path {
|
2021-05-07 16:59:26 +03:00
|
|
|
stroke: var(--middarkgrey);
|
|
|
|
fill: var(--middarkgrey);
|
2021-05-07 13:58:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token-segment-product {
|
2021-05-07 16:59:26 +03:00
|
|
|
background: var(--black);
|
|
|
|
color: var(--white);
|
2021-05-07 13:58:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token-segment-product svg path {
|
2021-05-07 16:59:26 +03:00
|
|
|
stroke: var(--white);
|
|
|
|
fill: var(--white);
|
2021-05-07 13:58:05 +03:00
|
|
|
}
|
|
|
|
|
2019-11-16 18:44:30 +03:00
|
|
|
/* Inside settings / Mailgun region */
|
2019-11-15 16:10:45 +03:00
|
|
|
/* TODO: make these general styles? */
|
|
|
|
|
2019-11-16 18:44:30 +03:00
|
|
|
.gh-labs-mailgun-region .ember-power-select-trigger {
|
2019-11-15 16:10:45 +03:00
|
|
|
padding: 6px 12px;
|
|
|
|
}
|
2019-11-16 18:44:30 +03:00
|
|
|
.gh-labs-mailgun-region .ember-power-select-selected-item {
|
2019-11-15 16:10:45 +03:00
|
|
|
margin-left: 0;
|
|
|
|
}
|