about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorAlda Marteau-Hardi <github@ltch.fr>2017-04-15 13:17:54 +0200
committerEugen <eugen@zeonfederated.com>2017-04-15 13:17:54 +0200
commitbddd36f2602a809e64920292c4bb4382a4b97c1d (patch)
tree0ee18da52a80886392d2c71ef06224079d71b679 /app/assets
parentb857551617707029fb4af3032fbad2ddf76ea673 (diff)
Add a classname to the loading bar (#1826)
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/components/features/ui/index.jsx2
-rw-r--r--app/assets/stylesheets/components.scss8
2 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/index.jsx b/app/assets/javascripts/components/features/ui/index.jsx
index 5c7cc6ef4..d3090ae9b 100644
--- a/app/assets/javascripts/components/features/ui/index.jsx
+++ b/app/assets/javascripts/components/features/ui/index.jsx
@@ -141,7 +141,7 @@ const UI = React.createClass({
         {mountedColumns}
 
         <NotificationsContainer />
-        <LoadingBarContainer style={{ backgroundColor: '#2b90d9', left: '0', top: '0' }} />
+        <LoadingBarContainer className="loading-bar" />
         <ModalContainer />
         <UploadArea active={draggingOver} />
       </div>
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index 1c363ec15..90fada672 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -2056,3 +2056,11 @@ button.icon-button.active i.fa-retweet {
     flex: 0 0 auto;
   }
 }
+
+.loading-bar {
+  background-color: $color4;
+  height: 3px;
+  position: absolute;
+  top: 0;
+  left: 0;
+}