mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 23:58:13 +00:00
518 lines
8.8 KiB
CSS
518 lines
8.8 KiB
CSS
* {
|
|
font-family: 'Inter UI' !important;
|
|
}
|
|
|
|
#votingDapp p a,
|
|
#votingDapp p a:visited {
|
|
background: url(../images/external-link.svg) no-repeat center right;
|
|
padding-right: 20px;
|
|
color: #4360DF;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#votingDapp div.section {
|
|
padding: 20px;
|
|
margin-bottom: 66px
|
|
}
|
|
|
|
#votingDapp div.section h1 {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
#votingDapp div.votingTimer p {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
|
|
#votingDapp hr {
|
|
border: 3px solid #edf2f5;
|
|
}
|
|
|
|
#votingDapp div.votingTimer {
|
|
padding: 20px;
|
|
text-align: center;
|
|
margin-bottom: 60px;
|
|
padding-bottom: 235px;
|
|
}
|
|
|
|
#votingDapp div.votingTimer h1 {
|
|
margin-top: .5rem;
|
|
font-size: 2.2rem;
|
|
}
|
|
|
|
#votingDapp div.votingTimer .timeUnit {
|
|
font-weight: normal;
|
|
text-transform: uppercase;
|
|
font-size: .75rem;
|
|
color: #939BA1;
|
|
}
|
|
|
|
#votingDapp div.votingTimer ul {
|
|
width: 240px;
|
|
margin: auto;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
#votingDapp div.votingTimer ul li {
|
|
width: 80px;
|
|
float: left;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#votingDapp div.action {
|
|
display: block;
|
|
width: 100%;
|
|
float: left;
|
|
clear: both;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
#votingDapp div.action a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#votingDapp div.pollClosed {
|
|
text-align: center;
|
|
padding-top: 2em;
|
|
padding-bottom: 235px;
|
|
}
|
|
|
|
|
|
#votingDapp div.pollClosed h1 {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
#votingDapp div.pollClosed p {
|
|
color: #939BA1;
|
|
margin-top: .5em;
|
|
}
|
|
|
|
#votingDapp div.center {
|
|
text-align: center;
|
|
}
|
|
|
|
#votingDapp div.card {
|
|
margin-top: 1em;
|
|
border: 1px solid #edf2f5;
|
|
border-radius: 3px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#votingDapp div.credits {
|
|
padding: 0;
|
|
}
|
|
|
|
#votingDapp div.credits div {
|
|
padding: 0;
|
|
}
|
|
|
|
#votingDapp div.credits div .title {
|
|
display: inline-block;
|
|
width: 130px;
|
|
padding: 15px;
|
|
}
|
|
|
|
#votingDapp div.credits div .value {
|
|
font-weight: bold;
|
|
text-align: right;
|
|
width: 130px;
|
|
float: right;
|
|
padding: 15px;
|
|
}
|
|
|
|
#votingDapp div.credits .text {
|
|
border-top: 1px solid #edf2f5;
|
|
padding: 15px;
|
|
color: #939BA1;
|
|
font-size: .75rem;
|
|
}
|
|
|
|
#votingDapp div.credits .warning {
|
|
padding: 15px;
|
|
border-top: 1px solid #edf2f5;
|
|
}
|
|
|
|
#votingDapp div.card div.ballotData {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
#votingDapp div.card div.actionArea {
|
|
padding-top: 0;
|
|
}
|
|
|
|
#votingDapp div.card div.actionArea button {
|
|
color: #4360DF;
|
|
background: url(../images/small-arrow.svg) center right no-repeat;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
#votingDapp div.card h2 {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#votingDapp div.buttonNav {
|
|
text-align: right;
|
|
box-shadow: 0px 2px 16px rgba(0, 10, 56, 0.1);
|
|
padding: 15px;
|
|
width: 100%;
|
|
position: fixed;
|
|
bottom: 0;
|
|
background: #ffffff;
|
|
}
|
|
|
|
#votingDapp div.buttonNav.back {
|
|
text-align: left;
|
|
}
|
|
|
|
#votingDapp div.buttonNav a,
|
|
#votingDapp div.buttonNav a:visited {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#votingDapp div.buttonNav button {
|
|
background: url(../images/medium-arrow.svg) center right no-repeat;
|
|
padding-right: 15px;
|
|
text-decoration: none;
|
|
text-transform: capitalize;
|
|
color: #4360DF;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
#votingDapp div.buttonNav.back button {
|
|
background: url(../images/medium-arrow-l.svg) center left no-repeat;
|
|
padding-right: 0;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
#votingDapp div.left {
|
|
width: 60px;
|
|
float: left;
|
|
height: 75px;
|
|
}
|
|
|
|
#votingDapp div.right {
|
|
display: block;
|
|
float: left;
|
|
width: 75%;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#votingDapp div.left span {
|
|
background-color: #ECEFFC;
|
|
width:44px;
|
|
height:44px;
|
|
display:table-cell;
|
|
vertical-align:middle;
|
|
text-align:center;
|
|
border-radius:50%;
|
|
overflow:hidden;
|
|
}
|
|
|
|
#votingDapp div.warning h2 {
|
|
background: url(../images/warning.svg) no-repeat center left;
|
|
padding-left: 25px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#votingDapp div.warning p {
|
|
display: block;
|
|
float: left;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#votingDapp div.card.review,
|
|
#votingDapp div.card.review > div {
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#votingDapp div.card.review h2 {
|
|
padding-top: 15px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
#votingDapp div.card.review p {
|
|
padding-bottom: 15px;
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
}
|
|
|
|
#votingDapp div.review div.data {
|
|
border-top: 1px solid #edf2f5;
|
|
}
|
|
|
|
#votingDapp div.review div.data div.item {
|
|
width: 45%;
|
|
display: inline-block;
|
|
color: #939BA1;
|
|
font-size: .8rem;
|
|
padding: 15px;
|
|
border-right: 1px solid #edf2f5;
|
|
}
|
|
|
|
.noBorder {
|
|
border: none !important;
|
|
}
|
|
|
|
|
|
#votingDapp div.review div.data div.item span {
|
|
font-size: 1.3rem;
|
|
margin-right: .3em;
|
|
font-weight: bold;
|
|
color: #000000;
|
|
}
|
|
|
|
#votingDapp div.creditsAvailable {
|
|
background: #EEF2F5;
|
|
text-align: center;
|
|
padding: 15px;
|
|
}
|
|
|
|
#votingDapp div.creditsAvailable div {
|
|
padding: 0;
|
|
}
|
|
|
|
#votingDapp div.creditsAvailable a,
|
|
#votingDapp div.creditsAvailable a:visited {
|
|
text-decoration: none;
|
|
text-transform: capitalize;
|
|
color: #4360DF;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
#votingDapp div.creditsAvailable button {
|
|
width: 100%;
|
|
border-top: 1px solid #ffffff;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#votingDapp p.votingCredits {
|
|
float: left;
|
|
padding-left: 15px;
|
|
padding-top: 8px;
|
|
color: #939BA1;
|
|
}
|
|
|
|
#votingDapp p.votingCredits span {
|
|
color: #000000;
|
|
}
|
|
|
|
|
|
button:disabled,
|
|
button[disabled]{
|
|
opacity: .5;
|
|
}
|
|
|
|
.errorTrx {
|
|
text-align: center;
|
|
padding-top: 100px;
|
|
}
|
|
|
|
.errorTrx div.image {
|
|
padding: 20px 11px 7px 11px;
|
|
border-radius: 50%;
|
|
background: #ffe8ec;
|
|
display: inline;
|
|
}
|
|
|
|
.errorTrx h1,
|
|
.errorTrx p {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
|
|
#votingDapp div.transactionArea {
|
|
background: #EEF2F5;
|
|
text-align: center;
|
|
padding: 3em;
|
|
}
|
|
|
|
#votingDapp div.transactionArea img {
|
|
margin-bottom: .8rem;
|
|
}
|
|
|
|
#votingDapp div.transactionArea h1 {
|
|
font-weight: bold;
|
|
margin-bottom: .8rem;
|
|
}
|
|
|
|
#votingDapp div.transactionArea div.confirmed h1 {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
#votingDapp div.transactionArea p {
|
|
color: #939BA1;
|
|
}
|
|
|
|
#votingDapp div.ballotResult {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
#votingDapp div.ballotResult .progress {
|
|
background: url(../images/arrow-down.svg) no-repeat center right;
|
|
width: 100%;
|
|
margin-top: .7rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#votingDapp div.ballotResult .collapse {
|
|
background: url(../images/arrow-up.svg) no-repeat center right;
|
|
}
|
|
|
|
#votingDapp div.ballotResult h2 span {
|
|
font-weight: bold;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
#votingDapp div.ballotResult ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
margin-bottom: .8rem;
|
|
}
|
|
|
|
#votingDapp div.ballotResult ul li {
|
|
border-bottom: 1px solid #EEF2F5;
|
|
color: #939BA1;
|
|
margin: 0;
|
|
padding: 10px 10px 10px 0;
|
|
|
|
}
|
|
|
|
#votingDapp div.ballotResult ul li span {
|
|
float: right;
|
|
}
|
|
|
|
.progress {
|
|
color: #000000;
|
|
box-sizing: initial;
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-size: 0.6875rem;
|
|
height: 12px;
|
|
line-height: 1.182;
|
|
margin: 6px 0;
|
|
position: relative;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.progress-large {
|
|
font-size: 16px;
|
|
font-size: 1rem;
|
|
height: 25px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.progress > span {
|
|
background-color: #ECEFFC;
|
|
display: block;
|
|
height: 100%;
|
|
position: relative;
|
|
width: auto;
|
|
min-width: 5px;
|
|
max-width: 89%;
|
|
padding: 5px 0 5px 20px;
|
|
border-radius: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
.customSlider {
|
|
height: 52px;
|
|
}
|
|
|
|
.customSlider .nav1 {
|
|
width:50px;
|
|
float:left;
|
|
height: 52px;
|
|
}
|
|
|
|
.customSlider div button {
|
|
border: none;
|
|
background: #ECEFFC;
|
|
}
|
|
|
|
.customSlider .nav1 button {
|
|
border-top-left-radius: 50%;
|
|
border-bottom-left-radius: 50%;
|
|
}
|
|
|
|
.customSlider .nav2 button {
|
|
border-top-right-radius: 50%;
|
|
border-bottom-right-radius: 50%;
|
|
}
|
|
|
|
.customSlider .nav2 { width:50px; float:right; }
|
|
|
|
.customSlider .content {
|
|
margin:0 50px;
|
|
}
|
|
|
|
.customSlider .content .progress {
|
|
background: #ECEFFC;
|
|
height: 54px;
|
|
}
|
|
|
|
.customSlider .content .progress > span {
|
|
background: rgba(67, 96, 223, 0.15);
|
|
height: 52px;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
max-width: 100% !important;
|
|
min-width: 0;
|
|
}
|
|
|
|
.customSlider .content .progress > span {
|
|
text-align: center;
|
|
}
|
|
|
|
.customSlider .content .progress span span {
|
|
position: relative;
|
|
top: 5px;
|
|
}
|
|
|
|
.customSlider .content .progress span span small {
|
|
color: #666666;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.customSlider .clear { clear:both; }
|
|
|
|
#votingDapp div.buttonNav.footer {
|
|
background: #262A39;
|
|
text-align: center;
|
|
box-shadow: none;
|
|
color: #666666;
|
|
}
|
|
|
|
|
|
.SNTBalance {
|
|
float: right;
|
|
display: block;
|
|
}
|
|
|
|
.pollTime {
|
|
background: #EEF2F5;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
margin: 25px 0 !important;
|
|
}
|
|
|
|
.helpLink {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-size: .85rem;
|
|
margin-top: 10vh;
|
|
}
|
|
|
|
.helpLink a {
|
|
cursor: pointer;
|
|
} |