Spaces:
Sleeping
Sleeping
| 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 ; | |
| } | |
| .list__icon__green { | |
| color:green ; | |
| } | |
| .list__icon__grey { | |
| color:grey ; | |
| } | |
| @keyframes fade { | |
| from { | |
| opacity: 0; | |
| } | |
| to { | |
| opacity: 1; | |
| left: 0; | |
| } | |
| } |