|
- .pageHeader {
- background-color: var(--orange);
- text-align: center;
- padding: 1rem 0 0.5rem;
-
- svg {
- transform: scale(0.9);
- }
- }
-
- .upfold {
- background-color: var(--orange);
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 3rem 5rem;
- border-bottom-right-radius: 3rem;
- border-bottom-left-radius: 3rem;
-
- .profileImage {
- display: block;
- position: relative;
- width: 10rem;
- height: 10rem;
-
- [class*="CircularProgressbar"] {
- width: 100%;
- height: 100%;
- position: absolute;
- left: 0;
- top: 0;
- }
-
- img {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- object-fit: cover;
- object-position: center;
- display: block;
- transform: scale(0.8);
- }
-
- svg {
- position: absolute;
- bottom: -1rem;
- right: calc(50% - 3rem);
- width: 6rem;
- height: 6rem;
- }
- }
-
- .userDetails {
- width: calc(100% - 12rem);
- display: grid;
-
- h2 {
- grid-column-start: 1;
- grid-column-end: 4;
- font-size: 1.7rem;
- color: var(--black);
- }
-
- .stat {
- margin-top: 1rem;
- color: var(--brownish-black);
- line-height: 1.2;
-
- h5 {
- font-size: 1.6rem;
- }
-
- label {
- font-size: 1.6rem;
- }
- }
- }
- }
-
- .searchBar {
- background-color: white;
- display: flex;
- border-radius: 3rem;
- height: 5rem;
- width: calc(100% - 6rem);
- margin: -2.5rem auto 2.5rem;
- align-items: center;
- justify-content: space-between;
- box-shadow: 0px 5px 30px -20px var(--grey);
-
- input {
- height: 100%;
- border: 0;
- width: calc(100% - 5rem);
- background-color: transparent;
- padding-left: 2rem;
- font-size: 1.4rem;
- }
-
- svg {
- width: 5rem;
- fill: var(--red);
- }
- }
-
- .blockHeader {
- display: flex;
- align-items: center;
- justify-content: flex-start;
-
- h4 {
- font-size: 1.4rem;
- font-weight: 600;
- color: var(--black);
- flex-grow: 1;
-
- svg {
- width: 2rem;
- height: 2rem;
- fill: var(--black);
- vertical-align: middle;
- margin-right: 1rem;
- }
- }
-
- button, a {
- background-color: var(--teal);
- width: 3rem;
- height: 3rem;
- border: none;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-left: 1rem;
-
- &.expandButton {
- background-color: var(--red);
- }
-
- svg {
- fill: white;
- width: 1.2rem;
- }
- }
- }
-
-
- $block-padding: 0 2rem;
-
- .List {
- padding: #{$block-padding};
-
- ul {
- list-style: none;
- }
-
- li {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 2rem 0;
-
- &:nth-child(5n - 4) .icon {
- background-color: var(--red);
- }
-
- &:nth-child(5n - 3) .icon {
- background-color: var(--orange);
- }
-
- &:nth-child(5n - 2) .icon {
- background-color: var(--blue);
- }
-
- &:nth-child(5n - 1) .icon {
- background-color: var(--teal);
- }
- }
-
- .icon {
- width: 4rem;
- height: 4rem;
- background-color: var(--grey);
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 50%;
-
- svg {
- fill: white;
- width: 3rem;
- }
- }
-
- .info {
- width: calc(100% - 5rem);
-
- label, span {
- display: block;
- }
-
- label {
- font-size: 1.2rem;
- color: var(--black);
- font-weight: 700;
- }
-
- span {
- font-size: 1rem;
- color: var(--grey);
- }
- }
- }
-
- .Shelf {
- padding: #{$block-padding};
- margin: 2rem 0;
-
- ul {
- list-style: none;
- display: grid;
- grid-template-columns: 1fr 1fr;
- grid-gap: 2rem;
- padding: 2rem 0;
- }
-
- [class*="CircularProgressbar"] {
- width: 100%;
- height: 100%;
- }
-
- .progress {
- position: relative;
- width: 7rem;
- height: 7rem;
-
- .text {
- position: absolute;
- left: 0;
- top: 0;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- text-align: center;
- font-size: 1.4rem;
- color: white;
- font-weight: 600;
- }
- }
-
- li {
- border-radius: 3rem;
- padding: 1.5rem;
-
- &:nth-child(5n - 4) {
- background-color: var(--orange);
- }
-
- &:nth-child(5n - 3) {
- background-color: var(--blue);
- }
-
- &:nth-child(5n - 2) {
- background-color: var(--red);
- }
-
- &:nth-child(5n - 1) {
- background-color: var(--teal);
- }
- }
-
- h5 {
- font-size: 1.2rem;
- color: white;
- font-weight: 600;
- margin-top: 1rem;
- }
-
- p {
- font-size: 1.1rem;
- color: white;
-
- &:last-child {
- margin-top: 1rem;
- }
- }
- }
-
-
- .Grid {
- padding: #{$block-padding};
-
- ul {
- list-style: none;
- display: grid;
- grid-template-columns: 1fr 1fr;
- }
-
- li {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 2rem 0;
-
- &:nth-child(5n - 4) .icon {
- background-color: var(--orange);
- }
-
- &:nth-child(5n - 3) .icon {
- background-color: var(--blue);
- }
-
- &:nth-child(5n - 2) .icon {
- background-color: var(--red);
- }
-
- &:nth-child(5n - 1) .icon {
- background-color: var(--teal);
- }
- }
-
- .icon {
- width: 4.5rem;
- height: 4.5rem;
- background-color: var(--grey);
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 1rem;
-
- svg {
- fill: white;
- width: 2rem;
- }
- }
-
- .info {
- width: calc(100% - 5.5rem);
-
- label, span {
- display: block;
- }
-
- label {
- font-size: 1.2rem;
- color: var(--black);
- font-weight: 700;
- }
-
- span {
- font-size: 1rem;
- color: var(--grey);
- }
- }
- }
|