-
Notifications
You must be signed in to change notification settings - Fork 400
Add restart UI #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add restart UI #568
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,34 +80,6 @@ $addon-padding: 20px; | |
flex-grow: 1; | ||
position: relative; | ||
|
||
> .error { | ||
align-content: stretch; | ||
align-items: center; | ||
background: #c33c32 url('../img/warning.svg') no-repeat calc(100% - 40px) 50%; | ||
bottom: 0; | ||
color: #fff; | ||
display: flex; | ||
flex-direction: row; | ||
left: 0; | ||
padding: 15px 20px; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
z-index: 10; | ||
|
||
.message { | ||
flex-grow: 1; | ||
} | ||
|
||
.close { | ||
bottom: 10px; | ||
color: #fff; | ||
display: block; | ||
left: 15px; | ||
padding: 5px; | ||
position: absolute; | ||
} | ||
} | ||
|
||
.copy { | ||
padding: 30px 20px; | ||
|
@@ -120,4 +92,40 @@ $addon-padding: 20px; | |
} | ||
} | ||
|
||
.notification { | ||
align-content: stretch; | ||
align-items: center; | ||
bottom: 0; | ||
color: #fff; | ||
display: flex; | ||
flex-direction: row; | ||
left: 0; | ||
padding: 15px 20px; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
|
||
&.error { | ||
background: #c33c32 url('../img/warning.svg') no-repeat calc(100% - 40px) 50%; | ||
z-index: 20; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is the error higher than needs restart? So you see an error if it is in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, it's very unlikely to be the case that both would be displayed at the same time, but I figured that an error should trump the restart notification. |
||
} | ||
|
||
&.restart { | ||
background: #70CF5B url('../img/restart.svg') no-repeat calc(100% - 40px) 50%; | ||
z-index: 10; | ||
} | ||
|
||
.message { | ||
flex-grow: 1; | ||
} | ||
|
||
.close { | ||
bottom: 10px; | ||
color: #fff; | ||
display: block; | ||
left: 15px; | ||
padding: 5px; | ||
position: absolute; | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will webpack inline these or do they need to be
require
d?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it should inline it automagically since it's tiny.