fixes to alerts and soft deleting

This commit is contained in:
KodeStar
2018-02-03 15:46:14 +00:00
parent 25bbf6f99a
commit 19cd1be85a
13 changed files with 286 additions and 23 deletions

77
public/css/app.css vendored
View File

@@ -357,11 +357,65 @@ body {
.message-container {
width: 100%;
padding: 10px 20px;
}
.message-container .alert {
margin: 30px;
.message-container2 {
width: 100%;
padding: 10px 20px;
}
.alert {
margin: 30px auto;
text-align: center;
max-width: 800px;
background: #f1f4f7;
padding: 5px 20px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-left: 80px;
-webkit-box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.3);
}
.alert.alert-success,
.alert.alert-danger {
position: relative;
}
.alert.alert-success:before,
.alert.alert-danger:before {
content: "\F00C";
font-family: 'Font Awesome 5 Pro';
font-weight: 900;
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 60px;
background: #1cd41c;
text-align: center;
color: white;
line-height: 57px;
font-size: 24px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.alert.alert-danger:before {
content: "\F00D";
background: #c00;
}
#app.header .appheader {
@@ -658,9 +712,22 @@ div.create .input input {
margin-right: 10px;
}
.sidenav {
position: relative;
}
.sidenav .close-sidenav {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
color: #ccc;
}
.sidenav h2 {
font-weight: 300;
padding: 20px;
margin: 0;
}
.sidenav ul {
@@ -687,6 +754,12 @@ div.create .input input {
color: #46b0e6;
}
.trashed {
font-size: 11px;
color: #91a1b3;
margin-left: 20px;
}
/*! Huebee v2.0.0
http://huebee.buzz
---------------------------------------------- */

18
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{
"/css/app.css": "/css/app.css?id=9826be622435e2ba23ee",
"/js/app.js": "/js/app.js?id=c40626c00c299e2aeed0"
"/css/app.css": "/css/app.css?id=70beb203b1a0bdd09b29",
"/js/app.js": "/js/app.js?id=aa9e426dc7b92d42d3b2"
}