snt-voting/app/css/styles.css

490 lines
8.4 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-18 16:10:48 -04:00
margin-bottom: 66px
}
#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-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-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;
width: 150px;
padding: 15px;
}
#votingDapp div.credits div .value {
font-weight: bold;
text-align: right;
width: 150px;
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-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;
}
#votingDapp div.ballotResult .progress {
2018-10-21 09:10:22 -04:00
background: url(../images/arrow-down.svg) no-repeat center right;
width: 100%;
2018-10-21 10:50:01 -04:00
margin-top: .7rem;
2018-10-27 05:03:11 -04:00
cursor: pointer;
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;
}
#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;
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;
max-width: 89%;
padding: 5px 0 5px 20px;
border-radius: 8px;
white-space: nowrap;
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;
}