Icon hinzugefügt + Responsivness angepasst

This commit is contained in:
Xenia Gruenzinger 2019-02-07 22:13:11 +01:00
parent c609a9b8d6
commit c802056b2d
7 changed files with 85 additions and 42 deletions

View File

@ -1,12 +1,44 @@
const BookmarkRouter = { const BookmarkRouter = {
template: ` template: `
<div> <div>
<div class="bookmark-headline"><h3>Gepeicherte Beiträge</h3></div> <div class="bookmark-headline"><h4>Gepeicherte Beiträge</h4></div>
<MsgCard <div class="om-card card">
v-for="(msg, index) in messages" <h6 class="msg-head">
:key="msg.id" <b>Betreff</b>
:msg="msg" <img src="favicon.ico" width=20px height=20px>
></MsgCard> </h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
<div class="om-card card">
<h6 class="msg-head">
<b>Betreff</b>
<img src="favicon.ico" width=20px height=20px>
</h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
<div class="om-card card">
<h6 class="msg-head">
<b>Betreff</b>
<img src="favicon.ico" width=20px height=20px>
</h6>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. <br><br>
<a href="#">#beispiel #tag</a></p>
<div class="om-card-footer"> <div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von User 1</div>
<i class="material-icons">bookmark</i>
</div></div>
</div>
</div>`, </div>`,
data: function () { data: function () {
return { messages: _messages }; return { messages: _messages };

View File

@ -1,7 +1,7 @@
const CreateMsgRouter = { const CreateMsgRouter = {
template: ` template: `
<div class="card om-card"> <div class="card om-card">
<h5>Neue Nachricht erstellen</h5> <h4>Neue Nachricht erstellen</h4>
<form class="new-msg-form" @submit.prevent=createMsg> <form class="new-msg-form" @submit.prevent=createMsg>
<div class="form-group bmd-form-group"> <div class="form-group bmd-form-group">
<label class="bmd-label-floating">Betreff</label> <label class="bmd-label-floating">Betreff</label>

View File

@ -1,7 +1,7 @@
const FileRouter = { const FileRouter = {
template: ` template: `
<div> <div>
<h3>Wichtige Links</h3> <h4>Wichtige Links</h4>
<div class="empty-state"> <div class="empty-state">
<i class="material-icons"> widgets </i><br> <i class="material-icons"> widgets </i><br>
Diese Funktion steht noch nicht bereit. Diese Funktion steht noch nicht bereit.

BIN
public/img/app_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -60,7 +60,7 @@
<div id="api"> <div id="api">
<div class="om-header-container"> <div class="om-header-container">
<div class="om-header"> <div class="om-header">
<a href="index.html"><img src="img/th_nbg_ohmicon_amp.png" width=55px height=55px></a> <a class="logo-img" href="index.html"><img src="img/app_icon.png" width=45px height=45px></a>
<form class="om-searchbar"> <form class="om-searchbar">
<input type="search" placeholder="Search..."> <input type="search" placeholder="Search...">
</form> </form>

View File

@ -11,18 +11,21 @@
display: flex; display: flex;
padding-left: 2%; padding-left: 2%;
padding-right: 2%; padding-right: 2%;
height: 8%; height: 65px;
background-color: #0046a0; background-color: #0046a0;
} }
.logo-img {
padding: 10px;
}
.om-searchbar { .om-searchbar {
display: inline-block; display: inline-block;
padding-bottom: 0%; padding: 0;
margin: 3%; margin: 15px;
} }
.om-content { .om-content {
margin: 10px; margin: 10px;
margin-top: 75px; margin-top: 80px;
margin-bottom: 70px; margin-bottom: 80px;
} }
.om-content a { .om-content a {
color: #0046a0; color: #0046a0;
@ -30,6 +33,16 @@
.om-content a:hover { .om-content a:hover {
color: #0046a0; color: #0046a0;
} }
.om-nav {
position: fixed;
bottom: 0;
height: 65px;
width: 100%;
background-color: #0046a0;
}
.om-nav i {
color: white;
}
.om-card { .om-card {
margin: 10px; margin: 10px;
margin-bottom: 20px; margin-bottom: 20px;
@ -57,18 +70,9 @@
.om-user-line i { .om-user-line i {
margin-right: 2%; margin-right: 2%;
} }
.om-nav {
position: fixed;
bottom: 0;
height: 8%;
width: 100%;
background-color: #0046a0;
}
.om-nav i {
color: white;
}
.bookmark-headline { .bookmark-headline {
margin: 10px; margin: 10px;
padding-bottom: 10px;
} }
.empty-state { .empty-state {
margin: 40px; margin: 40px;

View File

@ -14,27 +14,44 @@
display: flex; display: flex;
padding-left: 2%; padding-left: 2%;
padding-right: 2%; padding-right: 2%;
height: 8%; height: 65px;
background-color: @color; background-color: @color;
} }
.logo-img{
padding:10px;
}
.om-searchbar{ .om-searchbar{
display: inline-block; display: inline-block;
padding-bottom: 0%; padding: 0;
margin: 3%; margin: 15px;
} }
//content //content
.om-content{ .om-content{
margin: 10px; margin: 10px;
margin-top: 75px; margin-top: 80px;
margin-bottom: 70px; margin-bottom: 80px;
a{ a{
color: @color; color: @color;
&:hover{color:@color;} &:hover{color:@color;}
} }
} }
//footer
.om-nav{
position:fixed;
bottom: 0;
height: 65px;
width: 100%;
background-color: @color;
i{
color: white;
}
}
//msg-Card
.om-card{ .om-card{
margin: 10px; margin: 10px;
margin-bottom: 20px; margin-bottom: 20px;
@ -45,6 +62,7 @@
justify-content: space-between; justify-content: space-between;
display: flex; display: flex;
} }
.om-btn{ .om-btn{
background-color: @color; background-color: @color;
color: white; color: white;
@ -66,21 +84,10 @@
} }
} }
//footer
.om-nav{
position:fixed;
bottom: 0;
height: 8%;
width: 100%;
background-color: @color;
i{
color: white;
}
}
// bookmark // bookmark
.bookmark-headline{ .bookmark-headline{
margin: 10px; margin: 10px;
padding-bottom: 10px;
} }
//empty state //empty state