2022-05-03 09:40:02 +00:00
|
|
|
.poll-bubble {
|
|
|
|
|
width: 70%;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-17 15:16:53 +00:00
|
|
|
.poll-bubble {
|
|
|
|
|
color: black;
|
|
|
|
|
padding: $chat-standard-padding-s !important;
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
font-size: 16 * $chat-text-size;
|
|
|
|
|
line-height: 16 * $chat-text-size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.from-admin .poll-bubble {
|
|
|
|
|
color: rgba(white, 0.9);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-icon {
|
|
|
|
|
path {
|
|
|
|
|
fill: currentColor;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-check-icon {
|
|
|
|
|
width: 14.18px;
|
|
|
|
|
height: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-question {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
margin-top: $chat-standard-padding-xs;
|
|
|
|
|
margin-bottom: $chat-standard-padding-s;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-03 09:40:02 +00:00
|
|
|
.poll-answer {
|
2022-05-17 15:16:53 +00:00
|
|
|
border: 1px solid currentColor;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
padding: 15px 14px;
|
|
|
|
|
margin: 0px;
|
|
|
|
|
&.winner {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
2022-05-03 09:40:02 +00:00
|
|
|
&.selected {
|
|
|
|
|
border: 1px solid $poll-hilite-color;
|
2022-05-17 15:16:53 +00:00
|
|
|
background-color: $poll-hilite-color-bg;
|
|
|
|
|
color: #1d1d1d;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
&.result {
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 15px 0px;
|
2022-05-03 09:40:02 +00:00
|
|
|
}
|
|
|
|
|
.poll-answer-title {
|
|
|
|
|
}
|
|
|
|
|
.poll-answer-num-votes {
|
2022-05-17 15:16:53 +00:00
|
|
|
font-size: 0.75rem;
|
2022-05-03 09:40:02 +00:00
|
|
|
}
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-percent-indicator {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 2px;
|
2022-05-17 15:16:53 +00:00
|
|
|
left: 0px;
|
|
|
|
|
right: 0px;
|
|
|
|
|
height: 8px;
|
|
|
|
|
margin-top: 4px;
|
2022-05-03 09:40:02 +00:00
|
|
|
.bar {
|
2022-05-17 15:16:53 +00:00
|
|
|
background-color: #7e7cf8;
|
2022-05-03 09:40:02 +00:00
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
left: 0px;
|
|
|
|
|
top: 0px;
|
2022-05-17 15:16:53 +00:00
|
|
|
border-radius: 4px;
|
2022-05-03 09:40:02 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-status {
|
|
|
|
|
justify-content: space-between;
|
2022-05-17 15:16:53 +00:00
|
|
|
font-size: 13px;
|
|
|
|
|
line-height: 117%;
|
|
|
|
|
margin: 0px;
|
2022-05-03 09:40:02 +00:00
|
|
|
.poll-status-title {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poll-status-close {
|
|
|
|
|
color: $poll-hilite-color;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-17 15:16:53 +00:00
|
|
|
.poll-submit {
|
|
|
|
|
.v-btn {
|
|
|
|
|
font-family: "Inter", sans-serif;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 11 * $chat-text-size;
|
|
|
|
|
color: white;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
background-color: $poll-hilite-color !important;
|
|
|
|
|
border: 1px solid black;
|
|
|
|
|
border-radius: 21px !important;
|
|
|
|
|
height: 42px !important;
|
|
|
|
|
margin-top: $chat-standard-padding-xs;
|
|
|
|
|
margin-bottom: $chat-standard-padding-xs;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-03 09:40:02 +00:00
|
|
|
// Creation dialog
|
|
|
|
|
//
|
|
|
|
|
.poll-create-dialog-content {
|
|
|
|
|
max-height: 50vh;
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
.poll-create-status {
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
}
|