oxen-electron-gui-wallet/src/css/app.styl

561 lines
9.9 KiB
Stylus
Raw Normal View History

2018-09-08 23:44:19 +02:00
// app global css
@import '~variables'
2018-09-08 23:44:19 +02:00
@font-face {
font-family: 'RobotoMono-Light';
src: url(themes/RobotoMono-Light.ttf)
}
::selection {
background: #63c9f3;
}
::-moz-selection {
background: #63c9f3;
}
2018-10-26 01:17:33 +02:00
* {
scrollbar-track-color: #111;
scrollbar-arrow-color: #111;
&::-webkit-scrollbar-corner { background-color: #111;}
&::-webkit-scrollbar-track-piece { background-color: #111;}
2018-10-26 01:17:33 +02:00
scrollbar-face-color: #646464;
scrollbar-base-color: #646464;
scrollbar-3dlight-color: #646464;
scrollbar-highlight-color: #646464;
scrollbar-shadow-color: #646464;
scrollbar-dark-shadow-color: #646464;
&::-webkit-scrollbar { width: 8px; height: 8px;}
&::-webkit-scrollbar-button { background-color: #646464; height:0; width: 0; }
&::-webkit-scrollbar-track { background-color: #646464;}
&::-webkit-scrollbar-thumb { height: 50px; background-color: #646464; border-radius: 3px;}
&::-webkit-resizer { background-color: #646464;}
}
2018-09-08 23:44:19 +02:00
h1,h2,h3,h4,h5,h6,
img,
.q-list-header,
.q-layout-header,
.q-popover .q-item-label,
.q-list-link .q-item,
.infoBox .text,
.modal-header,
footer,
{
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.monospace {
font-family: 'RobotoMono-Light', monospace
}
.break-all {
word-break: break-all
}
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
}
.q-field {
margin: 20px 0;
&.q-ma-none {
margin: 0;
}
}
.layout-padding {
padding: 15px 16px !important;
}
.q-item-sublabel {
colr: #cecece;
2018-09-08 23:44:19 +02:00
}
.advanced-options-label .q-item-side-right {
margin: 0;
text-align: left;
}
.q-layout {
background: $loki-black-80;
color:white;
2018-10-26 01:17:33 +02:00
}
2018-09-08 23:44:19 +02:00
.q-layout-header {
background: #0A0A0A;
2018-09-08 23:44:19 +02:00
box-shadow: none;
border-bottom: 1px solid #333;
2018-09-08 23:44:19 +02:00
height: 48px;
.q-toolbar-title {
font-size: 16px;
line-height: 48px;
font-weight: 300;
}
&.shift-title {
.q-toolbar-title {
padding-left: 50px;
margin: 0 0 0 16px;
}
}
.q-btn.menu {
height: 48px;
width: 50px;
position: absolute;
top: 0;
z-index: 1;
border-radius: 0;
}
.q-btn.cancel {
position: absolute;
top: 7px;
left: 8px;
z-index: 1;
}
.q-toolbar-inverted {
background: none;
padding-top: 0;
}
.q-tabs {
padding-left: 50px;
.q-tabs-head {
padding: 0;
background: none;
}
.q-tab {
text-transform: none;
&:hover {
background-color: rgba(12,12,12,0.15)
}
.q-icon {
font-size: 22px;
}
}
}
}
2018-09-08 23:44:19 +02:00
.q-layout-page {
min-height: 0 !important;
2018-09-08 23:44:19 +02:00
}
.infoBox {
height: 75px;
cursor: default;
position: relative;
overflow: hidden;
margin: 10px 0;
.infoBoxIcon {
position: absolute;
right: 10px;
top: 10px;
width: 64px;
color: #cecece;
2018-09-08 23:44:19 +02:00
svg {
width: 60px;
height: 60px;
}
}
.infoBoxContent {
display: inline-block;
.text {
font-size: 13px;
margin-top: 8px;
color: #cecece;
2018-09-08 23:44:19 +02:00
text-transform: uppercase;
}
.value {
font-size: 24px;
margin-top: 4px;
font-weight: 800;
color: #cecece;
2018-09-08 23:44:19 +02:00
font-weight:300;
}
}
}
.q-loading + .modal {
z-index: 9999 !important;
}
2018-10-26 01:17:33 +02:00
.modal-scroll {
max-height: 230px;
max-width: 640px;
word-break: break-word;
}
2018-10-26 01:17:33 +02:00
.identicon {
image-rendering: crisp-edges;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-color: #cb8fe1;
box-shadow: inset rgba(0, 0, 0, 0.1) 0 2px 2px, inset rgba(0, 0, 0, 0.3) 0 -2px 6px;
2018-10-26 01:17:33 +02:00
border-radius: 2px;
}
.q-layout-footer.status-footer {
background: #000000;
color: rgba(255, 255, 255, 0.51);
border-top: 1px solid #333;
2018-10-26 01:17:33 +02:00
padding-top: 2px;
box-shadow: none;
font-size: 12px;
.status-line {
padding: 8px;
2018-10-26 01:17:33 +02:00
margin-bottom: 5px;
.status {
flex: 1;
span {
margin-right: 4px;
}
.status-text {
font-weight: bold;
text-transform: uppercase;
}
.ready {
color: $loki-green-solid;
}
.scanning, .syncing {
color: goldenrod;
}
2018-10-26 01:17:33 +02:00
}
div {
padding: 0 8px;
2018-10-26 01:17:33 +02:00
}
}
.status-bars {
div {
height: 3px;
position: absolute;
bottom: 0;
left: 0;
-webkit-transition: width 0.5s ease-out;
2018-10-26 01:17:33 +02:00
transition: width 0.5s ease-out;
}
div:first-child {
background-color: $loki-green-dark-solid;
2018-10-26 01:17:33 +02:00
}
div:last-child {
background-color: $loki-green-solid;
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.status-bars.syncing, .status-bars.scanning {
div:first-child {
background-color: #bc8f1c;
}
div:last-child {
background-color:goldenrod;
}
2018-10-26 01:17:33 +02:00
}
}
.tx-list {
.meta {
text-align:right;
}
2018-10-26 01:17:33 +02:00
.q-item.tx-in,
.q-item.tx-pool,
.q-item.tx-miner,
.q-item.tx-snode,
.q-item.tx-gov {
.amount span {
color: #43bd43;
&:before {
content: "+";
color: #43bd43;
2018-10-26 01:17:33 +02:00
}
}
}
.q-item.tx-out,
.q-item.tx-pending {
.amount span {
color: white;
&:before {
content: "-";
font-weight: bold;
color: white;
2018-10-26 01:17:33 +02:00
}
}
}
.q-item.tx-failed {
.amount span {
color: orangered;
}
}
2018-10-26 01:17:33 +02:00
}
.q-list-dark .q-item,
.q-item-dark .q-item,
.q-list-header {
color: #cecece;
}
2018-10-26 01:17:33 +02:00
.q-stepper-tab.step-waiting,
.q-stepper-step-content{
color: #cecece;
}
2018-10-26 01:17:33 +02:00
.q-popover {
background: #222;
color:#cecece;
2018-10-26 01:17:33 +02:00
.q-list-separator > .q-item-division + .q-item-division, .q-item-division + .q-item-separator {
border-top: 1px solid #333;
2018-10-26 01:17:33 +02:00
}
}
.header-popover.q-popover {
background: $primary;
color: white;
.q-list-separator > .q-item-division + .q-item-division, .q-item-division + .q-item-separator {
border-top: 1px solid $loki-green-dark-solid;
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.modal.minimized {
.q-input {
.q-input-target {
2018-10-26 01:17:33 +02:00
color: #cecece;
}
&.q-if:hover:before {
2018-10-26 01:17:33 +02:00
color: #cecece;
}
}
}
.modal {
2018-10-26 01:17:33 +02:00
.modal-content,
.modal-body {
background: $loki-black-80;
color:#cecece;
2018-10-26 01:17:33 +02:00
}
.q-layout-header {
2018-10-26 01:17:33 +02:00
.q-toolbar {
&>* {
color: #cecece;
}
}
}
2018-10-26 01:17:33 +02:00
}
2018-10-26 01:17:33 +02:00
.loki-green {
background: $loki-green;
color: white;
}
2018-10-26 01:17:33 +02:00
.startup-icons {
.solid {
color:$loki-green-solid;
g,path {
fill: $loki-green-solid;
2018-10-26 01:17:33 +02:00
}
}
}
2018-10-26 01:17:33 +02:00
.hr-separator {
height: 2px;
background: $secondary;
opacity: 0.4;
}
.navigation {
.q-btn {
color: white;
background: $loki-black-90;
2018-10-26 01:17:33 +02:00
}
.router-link-exact-active > .q-btn {
background: $loki-green;
2018-10-26 01:17:33 +02:00
}
}
.wallet-list {
.q-item-label {
color: white;
2018-10-26 01:17:33 +02:00
}
.q-item {
background: $secondary;
.wallet-icon {
color: $tertiary;
g,path {
fill: $tertiary;
}
}
}
2018-10-26 01:17:33 +02:00
.q-item:hover {
background: $primary !important;
2018-10-26 01:17:33 +02:00
.wallet-icon {
color:$loki-green-solid;
g,path {
fill: $loki-green-solid;
}
2018-10-26 01:17:33 +02:00
}
.q-item-sublabel {
color: white
}
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.receive {
.q-list-header {
color: #FFFFFF;
}
.q-item-sublabel {
color: $loki-black-50;
}
.q-item-separator-component {
background-color: $secondary;
opacity: 0.4;
}
.item-group {
background: #313131;
-webkit-transition: background-color 0.2s ease-in;
transition: background-color 0.2s ease-in;
.info {
span {
font-size: 14px;
2018-10-26 01:17:33 +02:00
}
.value {
font-size: 16px;
font-weight: bold;
2018-10-26 01:17:33 +02:00
}
}
}
.item-group:hover {
background: rgba(117,117,117,0.3);
}
2018-10-26 01:17:33 +02:00
.primary-address {
background: #3eb13e;
2018-10-26 01:17:33 +02:00
.q-item, .q-item-side {
color: white;
}
2018-10-26 01:17:33 +02:00
.q-item-sublabel {
color: rgba(255,255,255,0.9);
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.primary-address:hover {
background: $loki-green-solid;
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.tx-list {
.transaction {
background: #313131;
2018-10-26 01:17:33 +02:00
-webkit-transition: background-color 0.2s ease-in;
transition: background-color 0.2s ease-in;
2018-10-26 01:17:33 +02:00
.main {
border-left: 1px solid #252525;
2018-10-26 01:17:33 +02:00
}
}
.transaction:hover {
background: rgba(117,117,117,0.3);
}
}
2018-10-26 01:17:33 +02:00
.loki-field {
.content {
border: 1px solid #484848;
2018-10-26 01:17:33 +02:00
-webkit-transition: background-color 0.2s ease-in, border-color 0.2s ease-in;
transition: background-color 0.2s ease-in, border-color 0.2s ease-in;
}
2018-10-26 01:17:33 +02:00
&:not(.disable):not(.disable-hover) {
.content:hover {
background: #2e2e2e;
}
}
2018-10-26 01:17:33 +02:00
&.disable {
.content {
border-color: #404040 !important;
2018-10-26 01:17:33 +02:00
}
}
2018-10-26 01:17:33 +02:00
.content.error {
border-color: red;
2018-10-26 01:17:33 +02:00
}
.label {
color: white;
.optional {
color: #7C7C7C;
}
}
}
.service-node-page {
.address-type {
color: $loki-green-solid;
&.not-ours {
color: goldenrod;
}
}
2018-10-26 01:17:33 +02:00
}