Spaces:
Sleeping
Sleeping
File size: 2,737 Bytes
2c7f1a3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
html {
--black: #21252a;
--grey-1: #343A40;
--grey-2: #495057;
--grey-3: #868E96;
--grey-4: #ADB5BD;
--grey-5: #CED4DA;
--grey-6: #DEE2E6;
--grey-7: #E9ECEF;
--grey-8: #F1F3F5;
--grey-9: #F8F9FA;
--trans-black: rgba(33, 37, 42, .9);
--red: #e10600;
--gold: #ffda65;
--gold-dark: #a3862c;
--bronze: #c99355;
--bronze-dark: #80582c;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
html, body {
width: 100%;
height: 100%;
}
body {
font-family: "Inter UI", system-ui;
color: var(--black);
}
.list {
width: 100%;
max-width: 600px;
margin: 3rem auto 3rem;
border-radius: 0.4rem;
box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.1), 0px 5px 12px rgba(0, 0, 0, 0.07);
}
@media screen and (max-width: 800px) {
.list {
margin: 0 auto;
}
}
.list__table {
width: 100%;
border-spacing: 0;
}
.list__header {
padding: 3rem 2rem;
background: white;
border-top-left-radius: 0.4rem;
border-top-right-radius: 0.4rem;
}
.list__header h1, .list__header h5 {
margin: 0;
padding: 0;
}
.list__header h5 {
margin-bottom: 0.5rem;
text-transform: uppercase;
color: var(--red);
}
.list__value {
display: block;
font-size: 18px;
}
.list__label {
font-size: 11px;
opacity: 0.6;
}
.list__row {
background: var(--grey-7);
cursor: pointer;
transition: all 300ms ease;
}
.list__row:hover, .list__row:focus {
transform: scale(1.05);
box-shadow: 0px 15px 28px rgba(0, 0, 0, 0.1), 0px 5px 12px rgba(0, 0, 0, 0.08);
transition: all 300ms ease;
}
.list__row:not(:last-of-type) .list__cell {
box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.08);
}
.list__row:first-of-type {
color: var(--gold-dark);
background: var(--grey-9);
}
.list__row:first-of-type .list__cell:first-of-type {
background: var(--gold);
color: var(--gold-dark);
}
.list__row:nth-of-type(2) {
color: var(--grey-2);
background: var(--grey-9);
}
.list__row:nth-of-type(2) .list__cell:first-of-type {
background: var(--grey-4);
color: var(--grey-2);
}
.list__row:nth-of-type(3) {
color: var(--bronze-dark);
background: var(--grey-9);
}
.list__row:nth-of-type(3) .list__cell:first-of-type {
background: var(--bronze);
color: var(--bronze-dark);
}
.list__cell {
padding: 1rem;
}
.list__cell:first-of-type {
text-align: center;
padding: 1rem 0.2rem;
background: var(--grey-5);
}
.list__icon__red {
color:red !important;
}
.list__icon__green {
color:green !important;
}
.list__icon__grey {
color:grey !important;
}
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: 1;
left: 0;
}
} |