2019-03-03 21:18:23 +00:00
|
|
|
.poll {
|
|
|
|
margin-top: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
2019-06-16 18:41:03 +00:00
|
|
|
ul,
|
|
|
|
.e-content & ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2019-03-03 21:18:23 +00:00
|
|
|
li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__chart {
|
|
|
|
border-radius: 4px;
|
2020-04-02 15:10:55 +00:00
|
|
|
display: block;
|
|
|
|
background: darken($ui-primary-color, 5%);
|
|
|
|
height: 5px;
|
|
|
|
min-width: 1%;
|
2019-03-03 21:18:23 +00:00
|
|
|
|
|
|
|
&.leading {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-28 08:16:55 +00:00
|
|
|
progress {
|
|
|
|
border: 0;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 5px;
|
|
|
|
appearance: none;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&::-webkit-progress-bar {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Those rules need to be entirely separate or they won't work, hence the
|
|
|
|
// duplication
|
|
|
|
&::-moz-progress-bar {
|
|
|
|
border-radius: 4px;
|
|
|
|
background: darken($ui-primary-color, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-ms-fill {
|
|
|
|
border-radius: 4px;
|
|
|
|
background: darken($ui-primary-color, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-progress-value {
|
|
|
|
border-radius: 4px;
|
|
|
|
background: darken($ui-primary-color, 5%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-02 15:10:55 +00:00
|
|
|
&__option {
|
2019-03-03 21:18:23 +00:00
|
|
|
position: relative;
|
2019-09-13 14:04:09 +00:00
|
|
|
display: flex;
|
2024-01-25 15:41:31 +00:00
|
|
|
align-items: flex-start;
|
|
|
|
gap: 8px;
|
2019-03-03 21:18:23 +00:00
|
|
|
padding: 6px 0;
|
|
|
|
line-height: 18px;
|
|
|
|
cursor: default;
|
2019-03-06 03:54:32 +00:00
|
|
|
overflow: hidden;
|
2019-03-03 21:18:23 +00:00
|
|
|
|
2020-04-02 15:10:55 +00:00
|
|
|
&__text {
|
|
|
|
display: inline-block;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
max-width: calc(100% - 45px - 25px);
|
|
|
|
}
|
|
|
|
|
2023-02-13 03:57:03 +00:00
|
|
|
input[type='radio'],
|
|
|
|
input[type='checkbox'] {
|
2019-03-03 21:18:23 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-03-06 21:51:40 +00:00
|
|
|
.autosuggest-input {
|
2019-04-11 16:14:28 +00:00
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2023-02-13 03:57:03 +00:00
|
|
|
input[type='text'] {
|
2019-03-06 11:30:11 +00:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
2019-04-11 16:14:28 +00:00
|
|
|
width: 100%;
|
2019-03-06 11:30:11 +00:00
|
|
|
font-size: 14px;
|
2024-01-25 15:41:31 +00:00
|
|
|
color: $secondary-text-color;
|
2019-03-06 11:30:11 +00:00
|
|
|
outline: 0;
|
|
|
|
font-family: inherit;
|
2024-01-25 15:41:31 +00:00
|
|
|
background: $ui-base-color;
|
|
|
|
border: 1px solid $darker-text-color;
|
2019-03-06 11:30:11 +00:00
|
|
|
border-radius: 4px;
|
2024-01-25 15:41:31 +00:00
|
|
|
padding: 8px 12px;
|
2019-03-06 11:30:11 +00:00
|
|
|
|
|
|
|
&:focus {
|
2024-01-25 15:41:31 +00:00
|
|
|
border-color: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (width <= 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
letter-spacing: 0.5px;
|
2019-03-06 11:30:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-03 21:18:23 +00:00
|
|
|
&.selectable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-03-06 11:30:11 +00:00
|
|
|
|
|
|
|
&.editable {
|
|
|
|
align-items: center;
|
2019-04-11 16:14:28 +00:00
|
|
|
overflow: visible;
|
2019-03-06 11:30:11 +00:00
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
2024-01-25 15:41:31 +00:00
|
|
|
display: block;
|
2019-03-03 21:18:23 +00:00
|
|
|
position: relative;
|
2023-07-25 13:32:59 +00:00
|
|
|
border: 1px solid $ui-primary-color;
|
2019-03-03 21:18:23 +00:00
|
|
|
box-sizing: border-box;
|
2024-01-25 15:41:31 +00:00
|
|
|
width: 17px;
|
|
|
|
height: 17px;
|
2019-03-04 00:54:14 +00:00
|
|
|
border-radius: 50%;
|
2024-01-25 15:41:31 +00:00
|
|
|
flex: 0 0 auto;
|
2019-03-03 21:18:23 +00:00
|
|
|
|
2019-03-04 00:54:14 +00:00
|
|
|
&.checkbox {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2019-12-03 18:53:16 +00:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2023-07-25 13:32:59 +00:00
|
|
|
border-color: lighten($valid-value-color, 15%);
|
2019-12-03 18:53:16 +00:00
|
|
|
border-width: 4px;
|
|
|
|
}
|
|
|
|
|
2023-07-25 11:39:15 +00:00
|
|
|
&.active {
|
2023-07-25 13:32:59 +00:00
|
|
|
background-color: $valid-value-color;
|
|
|
|
border-color: $valid-value-color;
|
2023-07-25 11:39:15 +00:00
|
|
|
}
|
|
|
|
|
2019-12-03 18:53:16 +00:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
outline: 0 !important;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
2022-01-17 08:41:33 +00:00
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
border-color: $dark-text-color;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: $dark-text-color;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
2024-01-25 15:41:31 +00:00
|
|
|
&__option.editable &__input {
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: $ui-primary-color;
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-03 21:18:23 +00:00
|
|
|
&__number {
|
|
|
|
display: inline-block;
|
2020-04-02 15:10:55 +00:00
|
|
|
width: 45px;
|
2019-03-03 21:18:23 +00:00
|
|
|
font-weight: 700;
|
2020-04-02 15:10:55 +00:00
|
|
|
flex: 0 0 45px;
|
2019-09-22 12:15:18 +00:00
|
|
|
}
|
|
|
|
|
2020-04-02 15:10:55 +00:00
|
|
|
&__voted {
|
|
|
|
padding: 0 5px;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&__mark {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
display: inline;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
color: $dark-text-color;
|
|
|
|
text-decoration: underline;
|
2019-03-05 02:51:18 +00:00
|
|
|
font-size: inherit;
|
2019-03-03 21:18:23 +00:00
|
|
|
|
2019-05-09 20:03:32 +00:00
|
|
|
&:hover {
|
2019-03-03 21:18:23 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2019-05-09 20:03:32 +00:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2023-02-13 03:57:03 +00:00
|
|
|
background-color: rgba($dark-text-color, 0.1);
|
2019-05-09 20:03:32 +00:00
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
height: 36px;
|
|
|
|
padding: 0 16px;
|
2023-01-19 14:51:14 +00:00
|
|
|
margin-inline-end: 10px;
|
2019-03-03 21:18:23 +00:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2019-03-06 11:30:11 +00:00
|
|
|
|
2019-03-12 21:08:18 +00:00
|
|
|
.muted .poll {
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
|
|
|
&__chart {
|
2023-01-05 12:34:10 +00:00
|
|
|
background: rgba(darken($ui-primary-color, 14%), 0.7);
|
2019-03-12 21:08:18 +00:00
|
|
|
|
|
|
|
&.leading {
|
2023-01-05 12:34:10 +00:00
|
|
|
background: rgba($ui-highlight-color, 0.5);
|
2019-03-12 21:08:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|