You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/08/20 11:14:34 UTC

[incubator-streampipes] branch dev updated: [STREAMPIPES-198] set background of progress bar to grey color

This is an automated email from the ASF dual-hosted git repository.

wiener pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8b32afa  [STREAMPIPES-198] set background of progress bar to grey color
8b32afa is described below

commit 8b32afa6254dbdf8896201e2feffa24d714531fa
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Thu Aug 20 13:13:53 2020 +0200

    [STREAMPIPES-198] set background of progress bar to grey color
---
 .../components/startup/startup.component.html      |  2 +-
 ui/src/scss/main.scss                              |  1 +
 ui/src/scss/sp/progress-bar.scss                   | 23 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/ui/src/app/login/components/startup/startup.component.html b/ui/src/app/login/components/startup/startup.component.html
index 885739c..c42fdb8 100644
--- a/ui/src/app/login/components/startup/startup.component.html
+++ b/ui/src/app/login/components/startup/startup.component.html
@@ -30,7 +30,7 @@
         </div>
 
         <div fxFlex="100" fxLayoutAlign="center center">
-            <mat-progress-bar style="margin-top:10px;width:800px;" class="md-accent" [mode]="'determinate'" value="{{progress}}"></mat-progress-bar>
+            <mat-progress-bar style="margin-top:10px;width:800px;" [mode]="'determinate'" value="{{progress}}"></mat-progress-bar>
         </div>
     </div>
 
diff --git a/ui/src/scss/main.scss b/ui/src/scss/main.scss
index 84c26f4..9cf4c06 100644
--- a/ui/src/scss/main.scss
+++ b/ui/src/scss/main.scss
@@ -57,6 +57,7 @@
 @import './sp/feedback.ng1';
 @import './sp/pipeline-assembly.scss';
 @import './sp/widgets.scss';
+@import './sp/progress-bar.scss';
 
 @import './sp/input.ng1';
 @import './sp/documentation.ng1';
diff --git a/ui/src/scss/sp/progress-bar.scss b/ui/src/scss/sp/progress-bar.scss
new file mode 100644
index 0000000..50ebac7
--- /dev/null
+++ b/ui/src/scss/sp/progress-bar.scss
@@ -0,0 +1,23 @@
+/*!
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+@import '../_variables';
+
+mat-progress-bar .mat-progress-bar-buffer {
+  background: $sp-color-accent-light;
+}
\ No newline at end of file