Skip to content

Commit

Permalink
feat: add layout add images add main styles
Browse files Browse the repository at this point in the history
  • Loading branch information
guz86 committed Sep 20, 2024
1 parent 1be3793 commit e939f0f
Show file tree
Hide file tree
Showing 15 changed files with 303 additions and 105 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

Binary file added app/public/assets/arrow-down.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/arrow-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/arrow-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/call.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/icon-calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/incoming.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/assets/outgoing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added app/public/fonts/SF-Pro-Display-Regular.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ function App() {
}

export default App;

32 changes: 18 additions & 14 deletions app/src/index.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #EAF0FA;
color: #333;
line-height: 1.6;
}

margin: 0;
padding: 0;
box-sizing: border-box;
}

@font-face {
font-family: 'SF Pro Display Regular';
src: url('/fonts/SF-Pro-Display-Regular.woff2') format('woff2');
}

body {
margin: 0;
padding: 0;
font-family: 'SF Pro Display Regular', sans-serif;
background-color: #eaf0fa;
color: #333;
line-height: 1.6;
}
179 changes: 137 additions & 42 deletions app/src/pages/AppPage.css
Original file line number Diff line number Diff line change
@@ -1,67 +1,162 @@
.wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
max-width: 1440px;
height: 100vh;
padding: 80px 240px;
gap: 16px;
display: flex;
flex-direction: column;
justify-content: flex-start;
max-width: 1920px;
height: 100vh;
padding: 80px 240px;
gap: 16px;
}

.filters {
display: flex;
align-items: center;
justify-content: space-between;
height: 24px;
display: flex;
align-items: center;
justify-content: space-between;
height: 24px;
}

.type-filter {
color: rgb(94, 119, 147);
font-family: SF Pro Display;
font-size: 14px;
font-weight: 400;
line-height: 148%;
color: rgb(94, 119, 147);
font-size: 14px;
font-weight: 400;
line-height: 148%;
}

.day-filter {
color: rgb(0, 44, 251);
font-family: SF Pro Display;
font-size: 14px;
font-weight: 400;
line-height: 16px;
color: rgb(0, 44, 251);
font-size: 14px;
font-weight: 400;
line-height: 16px;
letter-spacing: 0%;
}

.table {
display: flex;
flex-direction: column;
border-radius: 8px;
box-shadow: 0px 4px 5px 0px rgb(233, 237, 243);
background: rgb(255, 255, 255);
display: flex;
flex-direction: column;
border-radius: 8px;
box-shadow: 0px 4px 5px 0px rgb(233, 237, 243);
background: rgb(255, 255, 255);
}

.headers {
display: flex;
justify-content: space-around;
height: 65px;
align-items: center;
display: flex;
height: 65px;
align-items: center;
color: rgb(94, 119, 147);
font-size: 14px;
font-weight: 400;
line-height: 148%;
padding: 0 23px 0 40px;
}

.row-type {
text-align: left;
width: 3.97%;
}

.row-time {
text-align: left;
width: 6.47%;
}

.row-avatar {
text-align: left;
width: 9.49%;
}

.row-phone {
text-align: left;
width: 23.9%;
}

.row-source {
text-align: left;
width: 15.74%;

color: rgb(94, 119, 147);
font-family: SF Pro Display;
font-size: 14px;
font-weight: 400;
line-height: 148%;
color: rgb(94, 119, 147);
font-size: 15px;
font-weight: 400;
line-height: 140%;
letter-spacing: 0%;
text-align: left;
}

.row-score {
text-align: left;
width: 33.9%;
}

.row-length {
text-align: right;
width: 8.09%;
}

.rows {
display: flex;
flex-direction: column;
display: flex;
flex-direction: column;
}

.row {
display: flex;
justify-content: space-around;
align-items: center;
height: 65px;
}
display: flex;
align-items: center;
height: 65px;
cursor: pointer;
border: 1px solid rgb(234, 240, 250);
padding: 0 23px 0 40px;
}

.row:hover {
background: rgba(212, 223, 243, 0.17);
}

.row-call-image {
padding: 6px;
}

.dropdown-button {
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
color: #5e7793;
font-size: 14px;
font-weight: 400;
line-height: 148%;
}

.arrow-icon {
padding: 0px 4px;
}

.dropdown-menu {
display: none;
}

.day-filter {
display: flex;
align-items: center;
gap: 12px;
}

.day-filter-number {
display: flex;
align-items: center;
gap: 8px;
}

.filter-arrow-icon {
width: 17px;
}

.row-score-element {
padding: 6px 8px 6px 8px;
border: 1px solid rgb(40, 168, 121);
border-radius: 4px;
background: rgb(219, 248, 239);
width: 70px;
color: rgb(0, 167, 117);
font-size: 14px;
font-weight: 400;
line-height: 100%;
text-align: left;
}
Loading

0 comments on commit e939f0f

Please sign in to comment.