89 lines
1.6 KiB
SCSS
89 lines
1.6 KiB
SCSS
@import "../../stylesheets/variables/_all";
|
|
|
|
<<<<<<< HEAD
|
|
$poll-width: 18rem;
|
|
$max-btn-width: 9em;
|
|
$col-amount: 2;
|
|
|
|
// pollingAnswer position offsets
|
|
$xs-portrait-offset: 8.75em;
|
|
$xs-landscape-offset: 4.75em;
|
|
$s-portrait-offset: 11.75em;
|
|
$s-landscape-offset: 1.75em;
|
|
|
|
=======
|
|
>>>>>>> Upstream/master
|
|
.pollingContainer {
|
|
width: $poll-width;
|
|
position: absolute;
|
|
z-index: 2;
|
|
border: 1px solid $color-off-white;
|
|
border-radius: $border-radius;
|
|
box-shadow: $color-gray-dark 0px 0px $lg-padding-y;
|
|
align-items: center;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
padding: $md-padding-y;
|
|
background-color: $color-white;
|
|
bottom: $sm-padding-x;
|
|
right: $sm-padding-x;
|
|
}
|
|
|
|
.pollingTitle {
|
|
<<<<<<< HEAD
|
|
color: $color-text;
|
|
=======
|
|
color: var(--color-white);
|
|
>>>>>>> Upstream/master
|
|
white-space: nowrap;
|
|
padding-bottom: $md-padding-y;
|
|
padding-top: $md-padding-y;
|
|
}
|
|
|
|
.pollingAnswers {
|
|
display: grid;
|
|
grid-template-columns: repeat($col-amount, 1fr);
|
|
|
|
> pollButtonWrapper:nth-child(odd) {
|
|
grid-column: 1;
|
|
}
|
|
|
|
> pollButtonWrapper:nth-child(even) {
|
|
grid-column: $col-amount;
|
|
}
|
|
|
|
z-index: 1;
|
|
|
|
:global(.browser-safari) & {
|
|
@include mq($ip5-portrait) {
|
|
bottom: 8.75em;
|
|
}
|
|
@include mq($ip678-portrait) {
|
|
bottom: 4.75em;
|
|
}
|
|
@include mq($ip5-landscape) {
|
|
bottom: 11.75em;
|
|
}
|
|
@include mq($ip678-landscape) {
|
|
bottom: 1.75em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pollButtonWrapper {
|
|
text-align: center;
|
|
padding: $sm-padding-y;
|
|
}
|
|
|
|
.pollingButton {
|
|
width: 100%;
|
|
max-width: $max-btn-width;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|