mirror of
https://github.com/moparisthebest/mail
synced 2024-11-12 04:05:13 -05:00
built hamburger button
This commit is contained in:
parent
cac59b07e5
commit
145a971911
@ -3,6 +3,8 @@
|
|||||||
$default-text-color: #333333;
|
$default-text-color: #333333;
|
||||||
$blue-color: #00c6ff;
|
$blue-color: #00c6ff;
|
||||||
$lightgrey-color: #f9f9f9;
|
$lightgrey-color: #f9f9f9;
|
||||||
|
$blue-box-shadow-color: #A4A4A4;
|
||||||
|
$lightgrey-box-shadow-color: #D8D8D8;
|
||||||
|
|
||||||
/* global */
|
/* global */
|
||||||
|
|
||||||
@ -18,13 +20,32 @@ body {
|
|||||||
color: $default-text-color;
|
color: $default-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inbox */
|
/* folder name */
|
||||||
|
|
||||||
.hamburger {
|
.folder-name {
|
||||||
background-image:url('../img/Inbox.png');
|
position: absolute;
|
||||||
background-repeat: no-repeat;
|
padding: 13px 15px;
|
||||||
width: 55px;
|
|
||||||
height: 40px;
|
p {
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.hamburger-btn {
|
||||||
|
float: left;
|
||||||
|
background-color: $lightgrey-color;
|
||||||
|
height: 1em;
|
||||||
|
width: 1.3em;
|
||||||
|
margin-right: 10px;
|
||||||
|
|
||||||
|
.blue-box {
|
||||||
|
float: inherit;
|
||||||
|
background-color: $blue-color;
|
||||||
|
height: 5px;
|
||||||
|
width: 100%;
|
||||||
|
box-shadow: 1px 1px 1px $lightgrey-box-shadow-color;
|
||||||
|
margin-bottom: 0.16em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* message list */
|
/* message list */
|
||||||
@ -54,7 +75,7 @@ body {
|
|||||||
height: 0.9em;
|
height: 0.9em;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: $blue-color;
|
background: $blue-color;
|
||||||
box-shadow: inset 0.5px 1px 1px #A4A4A4;
|
box-shadow: inset 0.5px 1px 1px $blue-box-shadow-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@ -98,7 +119,7 @@ body {
|
|||||||
|
|
||||||
.unread {
|
.unread {
|
||||||
background: $lightgrey-color;
|
background: $lightgrey-color;
|
||||||
box-shadow: inset 1px 1px 1px #D8D8D8;
|
box-shadow: inset 1px 1px 1px $lightgrey-box-shadow-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,16 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<div class="folder-name">
|
||||||
|
<p>
|
||||||
|
<span class="hamburger-btn">
|
||||||
|
<span class="blue-box blue-box-margin"></span>
|
||||||
|
<span class="blue-box blue-box-margin"></span>
|
||||||
|
<span class="blue-box blue-box-margin"></span>
|
||||||
|
</span>
|
||||||
|
Inbox
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
<div class="message-list">
|
<div class="message-list">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="selected">
|
<li class="selected">
|
||||||
@ -18,19 +28,30 @@
|
|||||||
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p class="from">welcome@whiteout.io</p>
|
<div class="unread"></div>
|
||||||
|
<p class="from">Max Mustermann</p>
|
||||||
<p class="subject">Welcome Nico</p>
|
<p class="subject">Welcome Nico</p>
|
||||||
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p class="from">welcome@whiteout.io</p>
|
<p class="from">Max Mustermann</p>
|
||||||
<p class="subject">Welcome Nico</p>
|
<p class="subject">Welcome Nico</p>
|
||||||
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p class="from">welcome@whiteout.io</p>
|
<p class="from">Max Mustermann</p>
|
||||||
<p class="subject">Welcome Nico</p>
|
<p class="subject">Welcome Nico</p>
|
||||||
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy</p>
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="from">Max Mustermann</p>
|
||||||
|
<p class="subject">Welcome Nico</p>
|
||||||
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="from">Max Mustermann</p>
|
||||||
|
<p class="subject">Welcome Nico</p>
|
||||||
|
<p class="text-preview">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy.</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div><!--/.message-list-->
|
</div><!--/.message-list-->
|
||||||
|
Loading…
Reference in New Issue
Block a user