Previously the voting wallet status and the ticket search were stacked on top of eachother, making the page very long and awkward to navigate. This introduces tabbed navigation which allows just one to be displayed at a time.
247 lines
4.8 KiB
CSS
247 lines
4.8 KiB
CSS
html, body {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
overflow-y: overlay;
|
|
background-color: #F3F5F6;
|
|
color: #3D5873;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #F9FAFA;
|
|
}
|
|
|
|
.navbar a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page-content {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.logo--logo {
|
|
padding-right: 5px;
|
|
border-right: 0.3px solid #091440;
|
|
}
|
|
.logo--text {
|
|
padding: 0 5px;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
color: #091440;
|
|
}
|
|
|
|
.vsp-overview {
|
|
color: #8997A5;
|
|
background-color: #ffffff;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.vsp-overview h1 {
|
|
color: #3D5873;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.vsp-stats .stat-title {
|
|
font-size: 14px;
|
|
color: #596D81;
|
|
}
|
|
|
|
.vsp-stats .stat-value {
|
|
font-size: 24px;
|
|
color: #091440;
|
|
}
|
|
|
|
footer {
|
|
flex-shrink: 0;
|
|
font-size: 0.8rem;
|
|
background-color: #091440;
|
|
color: #8997a5;
|
|
width: 100%;
|
|
}
|
|
|
|
footer .code {
|
|
word-break: break-word;
|
|
}
|
|
|
|
.footer__credit {
|
|
background-color: rgba(237,239,241,.1);
|
|
text-align: right;
|
|
color: #8997a5;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer__credit {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
outline: 0;
|
|
-webkit-box-shadow: 1px 3px 14px 0px rgba(0,0,0,0.19);
|
|
box-shadow: 1px 3px 14px 0px rgba(0,0,0,0.19);
|
|
}
|
|
|
|
.btn:focus, .btn:active,
|
|
.btn-primary:not(:disabled):not(.disabled):active:focus,
|
|
.btn-primary:not(:disabled):not(.disabled).active:focus {
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
border-color: transparent;
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.block__content h1 {
|
|
color: #091440;
|
|
font-size: 24px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.block__content {
|
|
background-color: #ffffff;
|
|
padding: 20px 30px;
|
|
color: #3D5873;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
|
|
.block__content table td ,
|
|
.block__content table th {
|
|
padding: 10px 16px;
|
|
}
|
|
.block__content table td {
|
|
word-break: break-word;
|
|
font-family: "vspd-code";
|
|
}
|
|
|
|
.block__content table th {
|
|
white-space: nowrap;
|
|
font-family: "vspd";
|
|
vertical-align: top;
|
|
font-weight: normal;
|
|
background-color: #edeff1;
|
|
}
|
|
|
|
|
|
#ticket-table th,
|
|
#ticket-table td {
|
|
border-top: 1px solid #dee2e6;
|
|
}
|
|
|
|
#ticket-table th {
|
|
text-align: right;
|
|
}
|
|
#ticket-table td {
|
|
font-size: 14px;
|
|
text-align: left;
|
|
padding-right: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
#ticket-table details table td {
|
|
font-size: 12px;
|
|
}
|
|
|
|
|
|
#status-table th,
|
|
#status-table td {
|
|
border: 1px solid #edeff1;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
|
|
#status-table .center {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#status-table .status {
|
|
height: 30px;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
#status-table .good {
|
|
background: url(/public/images/success-icon.svg) no-repeat center center;
|
|
}
|
|
|
|
#status-table .bad {
|
|
background: url(/public/images/error-icon.svg) no-repeat left center;
|
|
}
|
|
|
|
#status-table .with-text {
|
|
padding-left: 40px;
|
|
}
|
|
|
|
|
|
.tabset > input {
|
|
display:block; /* "enable" hidden elements in IE/edge */
|
|
position:absolute; /* then hide them off-screen */
|
|
left:-100%;
|
|
}
|
|
|
|
.tabset > ul {
|
|
position:relative;
|
|
z-index:999;
|
|
list-style:none;
|
|
display:flex;
|
|
padding: 0;
|
|
margin: 0 0 30px;
|
|
}
|
|
|
|
.tabset > ul label {
|
|
display:inline-block;
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
.tabset > div {
|
|
position:relative;
|
|
}
|
|
|
|
.tabset > input:nth-child(1):focus ~ ul li:nth-child(1) label,
|
|
.tabset > input:nth-child(1):hover ~ ul li:nth-child(1) label,
|
|
.tabset > input:nth-child(2):focus ~ ul li:nth-child(2) label,
|
|
.tabset > input:nth-child(2):hover ~ ul li:nth-child(2) label,
|
|
.tabset > input:nth-child(3):focus ~ ul li:nth-child(3) label,
|
|
.tabset > input:nth-child(3):hover ~ ul li:nth-child(3) label,
|
|
.tabset > input:nth-child(4):focus ~ ul li:nth-child(4) label,
|
|
.tabset > input:nth-child(4):hover ~ ul li:nth-child(4) label,
|
|
.tabset > input:nth-child(5):focus ~ ul li:nth-child(5) label,
|
|
.tabset > input:nth-child(5):hover ~ ul li:nth-child(5) label {
|
|
cursor: pointer;
|
|
color: #091440;
|
|
}
|
|
|
|
.tabset > input:nth-child(1):checked ~ ul li:nth-child(1) label,
|
|
.tabset > input:nth-child(2):checked ~ ul li:nth-child(2) label,
|
|
.tabset > input:nth-child(3):checked ~ ul li:nth-child(3) label,
|
|
.tabset > input:nth-child(4):checked ~ ul li:nth-child(4) label,
|
|
.tabset > input:nth-child(5):checked ~ ul li:nth-child(5) label {
|
|
border-bottom: 5px solid #2ed8a3;
|
|
color: #091440;
|
|
cursor: default;
|
|
}
|
|
|
|
.tabset > div > section,
|
|
.tabset > div > section h2 {
|
|
position:absolute;
|
|
top:-999em;
|
|
left:-999em;
|
|
}
|
|
.tabset > div > section {
|
|
padding: 0;
|
|
}
|
|
|
|
.tabset > input:nth-child(1):checked ~ div > section:nth-child(1),
|
|
.tabset > input:nth-child(2):checked ~ div > section:nth-child(2),
|
|
.tabset > input:nth-child(3):checked ~ div > section:nth-child(3),
|
|
.tabset > input:nth-child(4):checked ~ div > section:nth-child(4),
|
|
.tabset > input:nth-child(5):checked ~ div > section:nth-child(5) {
|
|
position:static;
|
|
}
|