Refactor scss. Pass scss-lint.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
a32849c79b
commit
cae588a759
@@ -4,46 +4,36 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.progress-bar {
|
.progress-bar {
|
||||||
background-color: transparent;
|
|
||||||
height: 5px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 666000555;
|
background-color: $light-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-name {
|
.file-name {
|
||||||
margin-top:15px;
|
margin-top: $line-height / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-bar {
|
.loading-bar {
|
||||||
height: 5px;
|
height: 5px;
|
||||||
width: 0px;
|
width: 0;
|
||||||
z-index: 666000666;
|
transition: width 500ms ease-out;
|
||||||
-webkit-transition:width 500ms ease-out, height 500ms ease-out;
|
|
||||||
-moz-transition:width 500ms ease-out, height 500ms ease-out;
|
|
||||||
-o-transition:width 500ms ease-out, height 500ms ease-out;
|
|
||||||
transition:width 500ms ease-out, height 500ms ease-out;
|
|
||||||
|
|
||||||
&.uploading {
|
&.uploading {
|
||||||
background-color: #bbb;
|
background-color: $dark-gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.complete {
|
&.complete {
|
||||||
background-color: #0f0;
|
background-color: $success-color;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: $line-height * 2;
|
margin-top: $line-height * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.errors {
|
&.errors {
|
||||||
background-color: #f00;
|
background-color: $alert-color;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-bar.no-transition {
|
.loading-bar.no-transition {
|
||||||
-webkit-transition:none;
|
|
||||||
-moz-transition:none;
|
|
||||||
-o-transition:none;
|
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user