fade away resolved error messages on questions
This commit is contained in:
@ -16,7 +16,10 @@
|
||||
@import 'base'; // bitters
|
||||
@import 'neat';
|
||||
|
||||
@import 'core/**/*';
|
||||
@import 'core/fonts';
|
||||
@import 'core/variables';
|
||||
@import 'core/animations';
|
||||
|
||||
@import 'atoms/**/*';
|
||||
@import 'molecules/**/*';
|
||||
// @import 'organisms/**/*';
|
||||
|
5
app/assets/stylesheets/core/_animations.scss
Normal file
5
app/assets/stylesheets/core/_animations.scss
Normal file
@ -0,0 +1,5 @@
|
||||
@keyframes success-fadeout {
|
||||
0% { opacity: 1; max-height: 40px; }
|
||||
85% { opacity: 0; max-height: 40px; padding: .5rem 0; margin-bottom: .5rem; }
|
||||
100% { opacity: 0; max-height: 0; padding: 0; margin-bottom: 0; }
|
||||
}
|
@ -266,6 +266,13 @@ select {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.resolve-error {
|
||||
animation-name: success-fadeout;
|
||||
animation-duration: 1.5s;
|
||||
animation-delay: 0;
|
||||
animation-fill-mode: forwards;
|
||||
}
|
||||
|
||||
html.no-js {
|
||||
.chars {
|
||||
display: none;
|
||||
|
@ -43,12 +43,6 @@
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
@keyframes success-fadeout {
|
||||
0% { opacity: 1; max-height: 40px; }
|
||||
85% { opacity: 0; max-height: 40px; padding: .5rem 0; margin-bottom: .5rem; }
|
||||
100% { opacity: 0; max-height: 0; padding: 0; margin-bottom: 0; }
|
||||
}
|
||||
|
||||
.success {
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
|
Reference in New Issue
Block a user