193 lines
3.3 KiB
CSS
193 lines
3.3 KiB
CSS
@import '../node_modules/@oceanprotocol/typographies/css/ocean-typo.css';
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
background: #fcfcfc !important;
|
|
}
|
|
|
|
html.dark,
|
|
.dark body {
|
|
background: #141414 !important;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 13px;
|
|
}
|
|
|
|
html.fullscreen {
|
|
font-size: 24px;
|
|
}
|
|
|
|
#root {
|
|
position: relative;
|
|
font-size: 1rem;
|
|
line-height: 1.3;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
'Segoe UI Symbol';
|
|
font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'pnum' 1, 'tnum' 0,
|
|
'onum' 0, 'lnum' 0, 'dlig' 1;
|
|
color: #303030;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
transform: translate3d(0, 0, 0);
|
|
-webkit-app-region: drag;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.dark #root {
|
|
color: #e2e2e2;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
font-family: 'Sharp Sans Display', -apple-system, BlinkMacSystemFont,
|
|
'Segoe UI', Helvetica, Arial, sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
button {
|
|
font-family: 'Sharp Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
Helvetica, Arial, sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app__content {
|
|
padding: 5% 7%;
|
|
cursor: default;
|
|
height: calc(100vh - 35px);
|
|
transition: .15s ease-out;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.fullscreen .app__content {
|
|
transform: translate3d(0, -36px, 0);
|
|
}
|
|
|
|
.main {
|
|
width: 100%;
|
|
padding: 5%;
|
|
background: #fff;
|
|
border-radius: 5px;
|
|
border: .1rem solid #e2e2e2;
|
|
min-height: 186px;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
position: relative;
|
|
}
|
|
|
|
.dark .main {
|
|
background: #222;
|
|
border-color: #303030;
|
|
}
|
|
|
|
.number-unit-wrap {
|
|
display: flex;
|
|
width: 100%;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
position: relative;
|
|
}
|
|
|
|
.number-unit {
|
|
text-align: center;
|
|
flex: 1 1 20%;
|
|
margin-top: 5%;
|
|
padding-left: 2%;
|
|
padding-right: 2%;
|
|
}
|
|
|
|
.label {
|
|
color: #8b98a9;
|
|
font-size: .85rem;
|
|
display: block;
|
|
white-space: nowrap;
|
|
margin-top: .3rem;
|
|
transition: color .2s ease-out;
|
|
}
|
|
|
|
.number-unit:hover .label {
|
|
color: #f6388a;
|
|
}
|
|
|
|
.number {
|
|
margin: 0;
|
|
transition: .15s ease-out;
|
|
font-weight: 400;
|
|
-webkit-app-region: no-drag;
|
|
-webkit-user-select: text;
|
|
font-size: 1rem;
|
|
display: inline-block;
|
|
padding: 0 .3rem;
|
|
animation: fadein .5s ease-out forwards;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.updated {
|
|
animation: updated .5s ease-out forwards;
|
|
}
|
|
|
|
.number-unit-wrap--accounts {
|
|
min-height: 55px;
|
|
}
|
|
|
|
.number-unit--main {
|
|
padding-bottom: 5%;
|
|
border-bottom: 1px solid #e2e2e2;
|
|
}
|
|
|
|
.number-unit--main:hover .label {
|
|
color: #8b98a9;
|
|
}
|
|
|
|
.dark .number-unit--main {
|
|
border-bottom-color: #303030;
|
|
}
|
|
|
|
.number-unit--main .number {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
@keyframes updated {
|
|
0% {
|
|
background: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
100% {
|
|
background: rgba(255, 255, 255, 0);
|
|
}
|
|
}
|
|
|
|
@keyframes fadein {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
background: rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
background: rgba(255, 255, 255, 0);
|
|
}
|
|
}
|