- added main layout, sidebar, toolbar;

- started dashboard page, added first widget;
- created new theme 'gepafin' - styles for the app;
This commit is contained in:
Vitalii Kiiko
2024-08-12 16:55:30 +02:00
parent 9eb9dc40d8
commit c09127a675
137 changed files with 12038 additions and 66 deletions

View File

@@ -0,0 +1,22 @@
.appPage {
display: flex;
flex-direction: column;
h1 {
color: var(--primary-color);
font-size: 28px;
font-style: normal;
font-weight: 600;
line-height: normal;
margin: 28px 0;
}
h2 {
color: var(--Black);
font-size: 21px;
font-style: normal;
font-weight: 600;
line-height: normal;
margin: 24px 0;
}
}

View File

@@ -0,0 +1,47 @@
.statsBigBadges {
display: flex;
flex-direction: column;
padding: 24px 0;
}
.statsBigBadges__grid {
display: grid;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
gap: 24px;
}
.statsBigBadges__gridItem {
display: flex;
justify-content: space-between;
padding: 28px;
border-radius: 6px;
border: 1px solid var(--yellow-500);
background: var(--card-full-background-color-2);
align-items: center;
gap: 48px;
span {
color: #FFF;
font-size: 21px;
font-style: normal;
font-weight: 600;
line-height: normal;
}
span:nth-last-of-type(1) {
font-size: 28px;
}
&:nth-of-type(2) {
border: 1px solid var(--yellow-500);
background: var(--card-full-background-color-3);
}
&:nth-of-type(3) {
border: 1px solid var(--yellow-500);
background: var(--card-full-background-color-4);
}
&:nth-of-type(4) {
border: 1px solid var(--yellow-500);
background: var(--card-full-background-color-1);
}
}

View File

@@ -0,0 +1,49 @@
.topBar {
background: var(--horizontalMenu-background)
}
.topBar__endContent {
display: flex;
gap: 24px;
align-items: center;
}
.topBar__profileBtn {
display: flex;
gap: 14px;
}
.topBar__icon {
font-size: 1.3rem;
color: var(--text-color-secondary)
}
.topBar__menuProfileItem {
display: flex;
gap: 7px;
padding: 0.75rem 1rem;
.p-avatar {
width: 40px;
height: 40px;
flex: 0 0 auto;
}
.userInfo {
display: flex;
flex-direction: column;
gap: 4px;
width: 120px;
}
span {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.userName {
font-weight: bold;
}
}
.topBar__menuProfile {
.p-menu-separator {
border-color: var(--menu-borderColor);
}
}