snt-voting/app/css/styles.css

615 lines
11 KiB
CSS
Raw Normal View History

2018-10-18 16:10:48 -04:00
* {
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;
}
2018-10-16 16:20:54 -04:00
#votingDapp div.section {
padding: 20px;
2018-10-31 02:54:10 -04:00
margin-bottom: 66px
2018-10-18 16:10:48 -04:00
}
#votingDapp div.section h1 {
font-size: 1.2rem;
font-weight: bold;
margin-top: 1em;
2018-10-16 16:20:54 -04:00
}
2018-10-18 16:10:48 -04:00
#votingDapp div.votingTimer p {
font-size: 0.8rem;
}
2018-10-16 16:20:54 -04:00
#votingDapp hr {
border: 3px solid #edf2f5;
}
#votingDapp div.votingTimer {
padding: 20px;
text-align: center;
2018-10-29 02:51:25 -04:00
margin-bottom: 60px;
padding-bottom: 235px;
2018-10-16 16:20:54 -04:00
}
2018-10-18 16:10:48 -04:00
#votingDapp div.votingTimer h1 {
margin-top: .5rem;
font-size: 2.2rem;
}
#votingDapp div.votingTimer .timeUnit {
2018-10-16 16:20:54 -04:00
font-weight: normal;
2018-10-18 16:10:48 -04:00
text-transform: uppercase;
font-size: .75rem;
color: #939BA1;
2018-10-16 16:20:54 -04:00
}
#votingDapp div.votingTimer ul {
2018-10-18 16:10:48 -04:00
width: 240px;
2018-10-16 16:20:54 -04:00
margin: auto;
list-style: none;
padding: 0;
}
#votingDapp div.votingTimer ul li {
2018-10-18 16:10:48 -04:00
width: 80px;
2018-10-16 16:20:54 -04:00
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;
2018-10-29 02:51:25 -04:00
padding-bottom: 235px;
2018-10-16 16:20:54 -04:00
}
2018-10-18 16:10:48 -04:00
#votingDapp div.pollClosed h1 {
font-size: 1.2rem;
font-weight: bold;
margin-top: 1em;
}
#votingDapp div.pollClosed p {
color: #939BA1;
margin-top: .5em;
}
2018-10-16 16:20:54 -04:00
#votingDapp div.center {
text-align: center;
}
#votingDapp div.card {
margin-top: 1em;
border: 1px solid #edf2f5;
border-radius: 3px;
box-shadow: none;
}
2018-10-18 20:01:49 -04:00
#votingDapp div.credits {
padding: 0;
}
#votingDapp div.credits div {
padding: 0;
}
#votingDapp div.credits div .title {
display: inline-block;
2018-10-27 05:31:43 -04:00
width: 130px;
2018-10-18 20:01:49 -04:00
padding: 15px;
}
#votingDapp div.credits div .value {
font-weight: bold;
text-align: right;
2018-10-27 05:31:43 -04:00
width: 130px;
2018-10-18 20:01:49 -04:00
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;
}
2018-10-18 16:10:48 -04:00
#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;
2018-10-18 16:10:48 -04:00
}
#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;
}
2018-10-18 20:01:49 -04:00
#votingDapp div.buttonNav.back {
text-align: left;
}
2018-10-18 16:10:48 -04:00
#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;
2018-10-18 20:01:49 -04:00
}
#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;
}
2018-10-27 05:03:11 -04:00
#votingDapp div.right {
display: block;
float: left;
width: 75%;
margin-bottom: 15px;
}
2018-10-18 20:01:49 -04:00
#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;
2018-10-27 05:31:43 -04:00
white-space: nowrap;
}
#votingDapp div.warning p {
display: block;
float: left;
margin-bottom: 15px;
2018-10-20 16:06:20 -04:00
}
#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;
2018-10-20 16:52:02 -04:00
}
.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;
}
2018-10-21 08:23:53 -04:00
#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;
2018-10-21 09:10:22 -04:00
}
2018-10-21 10:50:01 -04:00
#votingDapp div.ballotResult {
margin-bottom: 30px;
2018-11-06 13:49:25 -04:00
margin-right: 115px;
2018-10-21 10:50:01 -04:00
}
#votingDapp div.ballotResult .progress {
2018-11-06 13:49:25 -04:00
background:#EEF2F5;
2018-10-27 05:03:11 -04:00
cursor: pointer;
2018-11-06 13:49:25 -04:00
width: 100%;
float: left;
clear: left;
height: 6px;
}
#votingDapp div.ballotResult .progress span {
background: #4360DF;
padding: 0;
2018-10-21 09:10:22 -04:00
}
2018-10-21 10:50:01 -04:00
#votingDapp div.ballotResult .collapse {
2018-10-21 09:10:22 -04:00
background: url(../images/arrow-up.svg) no-repeat center right;
}
2018-11-06 13:49:25 -04:00
#votingDapp h2.ballotResultTitle {
width: 100%;
display: block;
margin-bottom: 0;
cursor: pointer;
}
#votingDapp h2.ballotResultTitle span {
2018-10-21 09:10:22 -04:00
font-weight: bold;
margin-right: 5px;
}
2018-11-06 13:49:25 -04:00
#votingDapp .ballotResultData {
2018-10-21 09:10:22 -04:00
margin: 0;
padding: 0;
list-style-type: none;
margin-bottom: .8rem;
2018-11-06 13:49:25 -04:00
width: 100%;
clear: left;
2018-10-21 09:10:22 -04:00
}
2018-11-06 13:49:25 -04:00
#votingDapp .ballotResultData li {
2018-10-21 09:10:22 -04:00
border-bottom: 1px solid #EEF2F5;
color: #939BA1;
margin: 0;
padding: 10px 10px 10px 0;
}
2018-11-06 13:49:25 -04:00
#votingDapp .ballotResultData li span {
2018-10-21 09:10:22 -04:00
float: right;
2018-10-21 10:50:01 -04:00
}
.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;
2018-11-06 13:49:25 -04:00
max-width: 100%;
2018-10-21 10:50:01 -04:00
padding: 5px 0 5px 20px;
border-radius: 8px;
2018-11-06 13:49:25 -04:00
}
.progress-large span {
white-space: nowrap;
}
.ballotResult .percentage {
width: 115px;
cursor: pointer;
margin-right: -115px;
float: left;
text-align: right;
background: url(../images/arrow-down.svg) no-repeat center right;
padding-right: 30px;
font-weight: bold;
}
.ballotResult .percentage.collapse {
background: url(../images/arrow-down.svg) no-repeat center right;
2018-10-22 15:23:30 -04:00
}
.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;
2018-10-27 05:03:11 -04:00
}
.SNTBalance {
float: right;
display: block;
2018-10-27 13:12:35 -04:00
}
.pollTime {
background: #EEF2F5;
padding: 15px;
border-radius: 8px;
margin: 25px 0 !important;
2018-10-31 14:47:15 -04:00
}
.helpLink {
width: 100%;
text-align: center;
font-size: .85rem;
margin-top: 10vh;
}
.helpLink a {
cursor: pointer;
2018-10-31 14:50:24 -04:00
}
/*Huge thanks to @tobiasahlin at http://tobiasahlin.com/spinkit/ */
.spinner {
margin: auto;
margin-bottom: .8rem;
width: 40px;
height:40px;
text-align: center;
background-color:#4360DF;
border-radius: 100px;
}
.spinner > div {
width: 6px;
height: 6px;
background-color: #fff;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
margin-top:17px;
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
2018-11-06 13:49:25 -04:00
}
.helpDialog h1 {
font-size: 1rem;
margin-top: 1.2em;
font-weight: bold;
padding: 5px 20px;
}
.helpDialog p {
padding: 5px 20px;
2018-10-31 14:50:24 -04:00
}