mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 17:02:17 -05:00
add read bubble
This commit is contained in:
parent
145a971911
commit
62ff544934
@ -67,17 +67,33 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.unread {
|
||||
@mixin read-bubble {
|
||||
position: absolute;
|
||||
margin-top: 1.85em;
|
||||
margin-left: 0.5em;
|
||||
width: 0.9em;
|
||||
height: 0.9em;
|
||||
border-radius: 50%;
|
||||
}
|
||||
@mixin read-bubble-grey {
|
||||
background: $lightgrey-color;
|
||||
box-shadow: inset 1px 1px 1px $lightgrey-box-shadow-color;
|
||||
}
|
||||
@mixin read-bubble-blue {
|
||||
background: $blue-color;
|
||||
box-shadow: inset 0.5px 1px 1px $blue-box-shadow-color;
|
||||
}
|
||||
|
||||
.unread {
|
||||
@include read-bubble;
|
||||
@include read-bubble-blue;
|
||||
}
|
||||
|
||||
.read {
|
||||
@include read-bubble;
|
||||
@include read-bubble-grey;
|
||||
}
|
||||
|
||||
li {
|
||||
background-color: white;
|
||||
margin: 8px 0;
|
||||
@ -118,8 +134,7 @@ body {
|
||||
@include marked;
|
||||
|
||||
.unread {
|
||||
background: $lightgrey-color;
|
||||
box-shadow: inset 1px 1px 1px $lightgrey-box-shadow-color;
|
||||
@include read-bubble-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,21 +34,25 @@
|
||||
<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>
|
||||
<div class="read"></div>
|
||||
<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>
|
||||
<div class="read"></div>
|
||||
<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>
|
||||
<div class="read"></div>
|
||||
<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>
|
||||
<div class="read"></div>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user