-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dependencies": { | ||
"live-server": "^1.2.1" | ||
}, | ||
"scripts": { | ||
"start": "live-server --mount=/:./src" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link href="/main.css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<div class="box"> | ||
<div class="title_row"> | ||
<button class="edit">Edit</button> | ||
<h4 class="title">Rental agreements</h4> | ||
</div> | ||
<div class="date_row"> | ||
<span class="date">September 01, 2019</span> | ||
<h5 class="title">Tenant since</h5> | ||
</div> | ||
<hr /> | ||
<div class="name_row"> | ||
<div> | ||
<span class="badge">Current</span> | ||
<h5 class="name">Frank Sommer</h5> | ||
<span class="number">+1 123 456 7890</span> | ||
</div> | ||
<button class="send">Send message</button> | ||
</div> | ||
<div class="name_row"> | ||
<div> | ||
<span class="badge">Current</span> | ||
<h5 class="name">Anne-Marie Sommer</h5> | ||
<span class="number">+1 321 654 0987</span> | ||
</div> | ||
<button class="send">Send message</button> | ||
</div> | ||
<h5 class="history">Show rental history ▼</h5> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
* { | ||
font-family: Helvetica; | ||
} | ||
|
||
body { | ||
background: #521CB1; | ||
} | ||
|
||
.box { | ||
background: #fff; | ||
width: 240px; | ||
margin: 40px auto; | ||
padding: 20px; | ||
border-radius: 6px; | ||
} | ||
|
||
.title_row .edit { | ||
background: #fff; | ||
color: #ccc; | ||
border: #eee 1px solid; | ||
padding: 4px 8px; | ||
font-weight: bold; | ||
border-radius: 5px; | ||
float: right; | ||
} | ||
|
||
.title_row .title { | ||
margin: 0; | ||
color: #ccc; | ||
padding: 4px 0; | ||
} | ||
|
||
.date_row .date { | ||
float: right; | ||
font-size: 10px; | ||
font-weight: bold; | ||
color: #999; | ||
} | ||
|
||
.date_row .title { | ||
font-size: 10px; | ||
color: #ccc; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
hr { | ||
border-top: #eee 1px solid; | ||
} | ||
|
||
.name_row { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.name_row .badge { | ||
float: right; | ||
background: #BCF7DF; | ||
color: #37AF7F; | ||
border-radius: 15px; | ||
padding: 2px 8px; | ||
font-size: 12px; | ||
font-weight: bold; | ||
} | ||
|
||
.name_row .name { | ||
margin: 0; | ||
color: #666; | ||
} | ||
|
||
.name_row .number { | ||
font-size: 10px; | ||
color: #999; | ||
} | ||
|
||
.name_row .send { | ||
width: 100%; | ||
background: #F0F1F5; | ||
color: #8F98A2; | ||
border: 0; | ||
padding: 8px; | ||
font-weight: bold; | ||
border-radius: 5px; | ||
font-size: 12px; | ||
margin-top: 8px; | ||
} | ||
|
||
.history { | ||
color: #888; | ||
margin: 0; | ||
margin-top: 20px; | ||
cursor: pointer; | ||
} |