Revert accidentally included desing tests.
This commit is contained in:
Родитель
f808949c99
Коммит
e61e2e59ab
|
@ -103,7 +103,7 @@ $user-column-width: 265px;
|
|||
|
||||
.vote, .poll-cell {
|
||||
flex-grow: 1;
|
||||
max-width: 85px;
|
||||
// max-width: 85px;
|
||||
margin: 2px;
|
||||
align-items:center;
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ $user-column-width: 265px;
|
|||
background-repeat: no-repeat;
|
||||
background-size: 32px;
|
||||
height: 44px;
|
||||
display: flex;
|
||||
// display: flex;
|
||||
|
||||
&.yes {
|
||||
background-color: $bg-yes;
|
||||
|
@ -156,19 +156,19 @@ $user-column-width: 265px;
|
|||
&.active {
|
||||
|
||||
cursor: pointer;
|
||||
// border: 2px solid;
|
||||
border: 2px solid;
|
||||
border-radius: var(--border-radius);
|
||||
box-sizing: border-box;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
background-size: 20px;
|
||||
margin: auto !important;
|
||||
background-color: var(--color-main-background);
|
||||
color: var(--color-primary);
|
||||
flex-grow: 0 !important;
|
||||
&.icon-no {
|
||||
background-image: initial;
|
||||
}
|
||||
// width: 25px;
|
||||
// height: 25px;
|
||||
// background-size: 20px;
|
||||
// margin: auto !important;
|
||||
// background-color: var(--color-main-background);
|
||||
// color: var(--color-primary);
|
||||
// flex-grow: 0 !important;
|
||||
// &.icon-no {
|
||||
// background-image: initial;
|
||||
// }
|
||||
&.unvoted {
|
||||
background-color: $bg-maybe;
|
||||
color: $fg-maybe;
|
||||
|
@ -205,7 +205,8 @@ $user-column-width: 265px;
|
|||
|
||||
|
||||
.current-user {
|
||||
background-color: var(--color-primary-element-light);
|
||||
background-color: var(--color-background-dark);
|
||||
// background-color: var(--color-primary-element-light);
|
||||
.name {
|
||||
color: var(--color-primary-text);
|
||||
font-weight: bold;
|
||||
|
|
|
@ -270,7 +270,7 @@
|
|||
print_unescaped(' <div class="toggle"></div>');
|
||||
print_unescaped(' </div>');
|
||||
print_unescaped('</div>');
|
||||
print_unescaped('<div class="flex-row">');
|
||||
print_unescaped('<ul class="flex-row">');
|
||||
|
||||
$i_tot = 0;
|
||||
foreach ($options as $optionElement) {
|
||||
|
@ -293,13 +293,11 @@
|
|||
$updatedPoll = true;
|
||||
}
|
||||
|
||||
print_unescaped('<div class="poll-cell">');
|
||||
print_unescaped(' <div id="voteid_' . $optionElement->getId() . '" class="flex-column poll-cell active ' . $class . '" data-value="' . $optionElement->getPollOptionText() . '" data-unvoted="' . $dataUnvoted . '"></div>');
|
||||
print_unescaped('</div>');
|
||||
print_unescaped('<li id="voteid_' . $optionElement->getId() . '" class="flex-column active poll-cell ' . $class . '" data-value="' . $optionElement->getPollOptionText() . '" data-unvoted="' . $dataUnvoted . '"></li>');
|
||||
|
||||
$i_tot++;
|
||||
}
|
||||
print_unescaped('</div>');
|
||||
print_unescaped('</ul>');
|
||||
print_unescaped('</li>');
|
||||
}
|
||||
?>
|
||||
|
|
Загрузка…
Ссылка в новой задаче