Skip to content

Commit

Permalink
new ep
Browse files Browse the repository at this point in the history
  • Loading branch information
realtux committed Aug 16, 2020
1 parent d788169 commit 3819934
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 114/package.json
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"
}
}
36 changes: 36 additions & 0 deletions 114/src/index.html
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>
92 changes: 92 additions & 0 deletions 114/src/main.css
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;
}

0 comments on commit 3819934

Please sign in to comment.