2017-11-22 23:23:24 +11:00
|
|
|
/*
|
2017-11-22 19:19:26 +11:00
|
|
|
Eos - Verifiable elections
|
|
|
|
Copyright © 2017 RunasSudo (Yingtong Li)
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2017-11-22 23:23:24 +11:00
|
|
|
*/
|
2017-11-22 19:19:26 +11:00
|
|
|
|
2017-11-24 00:17:53 +11:00
|
|
|
#main_container {
|
|
|
|
margin-top: 7em;
|
|
|
|
margin-bottom: 3em;
|
|
|
|
}
|
|
|
|
|
2017-11-22 23:23:24 +11:00
|
|
|
.hash {
|
|
|
|
font-family: monospace;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2017-11-24 00:17:53 +11:00
|
|
|
|
|
|
|
@media print {
|
|
|
|
body, html {
|
|
|
|
/* Default height: 100% causes blank pages */
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main_container {
|
|
|
|
margin-top: 4em;
|
|
|
|
}
|
|
|
|
}
|
2017-11-27 22:56:43 +11:00
|
|
|
|
|
|
|
/* Preferential voting */
|
|
|
|
|
|
|
|
.preferential-choices {
|
|
|
|
padding: 0.5em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferential-choices .dragarea {
|
|
|
|
min-height: 3em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferential-choices .dragarea-hint:first-child:last-child {
|
|
|
|
width: calc(100% - 1em);
|
|
|
|
height: 3em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
z-index: -100;
|
|
|
|
border: 1px dashed #555;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
#question-choices-selected {
|
|
|
|
border: 1px solid #3465a4;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferential-choice {
|
|
|
|
background-color: #eee;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferential-choice:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-28 00:26:13 +11:00
|
|
|
#question-choices-selected .preferential-choice, #question-choices-selected .dragarea-hint:first-child:last-child {
|
2017-11-27 22:56:43 +11:00
|
|
|
background-color: #e6f1fc;
|
|
|
|
}
|
|
|
|
|
|
|
|
#question-choices-remaining {
|
|
|
|
border: 1px solid #555;
|
|
|
|
}
|
|
|
|
|
2017-11-28 00:26:13 +11:00
|
|
|
#question-choices-remaining .dragarea-hint:first-child:last-child {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2017-11-27 22:56:43 +11:00
|
|
|
.preferential-choice .number, .preferential-choice .name {
|
|
|
|
padding: 0.5em 0 0.5em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preferential-choice .number {
|
|
|
|
width: 2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|