2019-03-03 21:18:23 +00:00
|
|
|
.poll {
|
|
|
|
margin-top: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__chart {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: darken($ui-primary-color, 14%);
|
|
|
|
|
|
|
|
&.leading {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
position: relative;
|
2019-09-13 14:04:09 +00:00
|
|
|
display: flex;
|
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
|
|
|
|
|
|
|
input[type=radio],
|
|
|
|
input[type=checkbox] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-05-09 20:10:27 +00:00
|
|
|
.autossugest-input {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2019-03-06 03:53:37 +00:00
|
|
|
input[type=text] {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
2019-05-09 20:10:27 +00:00
|
|
|
width: 100%;
|
2019-03-06 03:53:37 +00:00
|
|
|
font-size: 14px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
outline: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
background: $simple-background-color;
|
|
|
|
border: 1px solid darken($simple-background-color, 14%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-03 21:18:23 +00:00
|
|
|
&.selectable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-03-06 03:53:37 +00:00
|
|
|
|
|
|
|
&.editable {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-05-09 20:10:27 +00:00
|
|
|
overflow: visible;
|
2019-03-06 03:53:37 +00:00
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2019-03-06 03:53:37 +00:00
|
|
|
flex: 0 0 auto;
|
2019-03-03 21:18:23 +00:00
|
|
|
margin-right: 10px;
|
|
|
|
top: -1px;
|
2019-03-04 00:54:14 +00:00
|
|
|
border-radius: 50%;
|
2019-03-03 21:18:23 +00:00
|
|
|
vertical-align: middle;
|
2019-09-16 14:12:18 +00:00
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
flex: 0 0 18px;
|
2019-03-03 21:18:23 +00:00
|
|
|
|
2019-03-04 00:54:14 +00:00
|
|
|
&.checkbox {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2019-03-03 21:18:23 +00:00
|
|
|
&.active {
|
|
|
|
border-color: $valid-value-color;
|
|
|
|
background: $valid-value-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__number {
|
|
|
|
display: inline-block;
|
|
|
|
width: 36px;
|
|
|
|
font-weight: 700;
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: right;
|
2019-09-13 14:04:09 +00:00
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
flex: 0 0 36px;
|
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 {
|
|
|
|
background-color: rgba($dark-text-color, .1);
|
|
|
|
}
|
2019-03-03 21:18:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
height: 36px;
|
|
|
|
padding: 0 16px;
|
|
|
|
margin-right: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2019-03-06 03:53:37 +00:00
|
|
|
|
|
|
|
.compose-form__poll-wrapper {
|
|
|
|
border-top: 1px solid darken($simple-background-color, 8%);
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll__footer {
|
|
|
|
border-top: 1px solid darken($simple-background-color, 8%);
|
|
|
|
padding: 10px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
button,
|
|
|
|
select {
|
|
|
|
flex: 1 1 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.button-secondary {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
padding: 6px 10px;
|
|
|
|
height: auto;
|
|
|
|
line-height: inherit;
|
|
|
|
color: $action-button-color;
|
|
|
|
border-color: $action-button-color;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.poll__text {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
width: calc(100% - (23px + 6px));
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
appearance: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
outline: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
background: $simple-background-color url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(darken($simple-background-color, 14%))}'/></svg>") no-repeat right 8px center / auto 16px;
|
|
|
|
border: 1px solid darken($simple-background-color, 14%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button.disabled {
|
|
|
|
color: darken($simple-background-color, 14%);
|
|
|
|
}
|
|
|
|
}
|
2019-03-12 21:08:18 +00:00
|
|
|
|
|
|
|
.muted .poll {
|
|
|
|
color: $dark-text-color;
|
|
|
|
|
|
|
|
&__chart {
|
|
|
|
background: rgba(darken($ui-primary-color, 14%), 0.2);
|
|
|
|
|
|
|
|
&.leading {
|
|
|
|
background: rgba($ui-highlight-color, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|