Flash style adjustments

This commit is contained in:
Bryan Housel
2017-02-10 21:50:31 -05:00
parent c5383c1f55
commit 5aa519affb
3 changed files with 9 additions and 5 deletions

View File

@@ -566,13 +566,18 @@ button.save.has-count .count::before {
#flash {
position: absolute;
left: 300px;
top: 65px;
z-index: 1;
width: 100%;
display: flex;
flex-flow: column wrap;
}
#flash .content {
margin: 0 auto;
padding: 10px;
max-width: 50%;
border-radius: 3px;
}
/* Header for modals / panes

View File

@@ -10,7 +10,7 @@ export function uiFlash() {
content = content.enter()
.append('div')
.attr('class', 'content')
.attr('class', 'content fillD')
.merge(content);
if (timeout) {
@@ -22,7 +22,7 @@ export function uiFlash() {
.transition()
.duration(250)
.style('opacity', 0)
.style('transform', 'scaleY(.25)')
.style('transform', 'scaleY(.1)')
.on('end', function() {
content.remove();
timeout = null;

View File

@@ -73,8 +73,7 @@ export function uiInit(context) {
content
.append('div')
.attr('id', 'flash')
.attr('class', 'fillD');
.attr('id', 'flash');
content
.append('div')