Added alerts functionality + modal UI

This commit is contained in:
NGPixel
2016-08-23 21:09:09 -04:00
parent aa740dea7a
commit 52c9821189
13 changed files with 206 additions and 14 deletions

View File

@@ -5,6 +5,9 @@
@import 'bulma';
@import './libs/twemoji-awesome';
@import './libs/animate.min.css';
@import './components/_alerts';
@import './layout/_header';
@import './layout/_footer';

View File

@@ -0,0 +1,24 @@
#alerts {
position: fixed;
top: 60px;
right: 10px;
width: 350px;
z-index: 2;
text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
.notification {
animation: 0.5s ease slideInRight;
margin-top: 5px;
&.exit {
animation: 0.5s ease fadeOutRight;
}
}
h3 {
font-size: 16px;
font-size: 500;
}
}

View File

@@ -71,6 +71,16 @@ p code {
border-radius: 4px;
}
.modal {
align-items: flex-start;
}
.modal-background {
animation: 0.4s ease fadeIn;
}
.modal-content {
animation: 0.4s ease slideInDown;
}
.card-header {
background-color: $turquoise;
}
@@ -80,4 +90,8 @@ .card-header-title {
font-weight: 400;
font-size: 16px;
padding: 10px 20px;
}
.modal-content .card-footer-item {
font-weight: 500;
}

11
client/scss/libs/animate.min.css vendored Normal file

File diff suppressed because one or more lines are too long