From 1b33d973b538c6de3062a4470642ad1e50ae6d81 Mon Sep 17 00:00:00 2001 From: Joshua Taillon Date: Tue, 2 Jun 2015 12:06:04 -0400 Subject: [PATCH] Changed colors of progressbar; updated gitignore --- .gitignore | 4 ++++ README.txt | 38 +++++++++++++++++++------------------- progressbar/progressbar.py | 5 +++++ 3 files changed, 28 insertions(+), 19 deletions(-) create mode 100644 .gitignore mode change 100644 => 100755 progressbar/progressbar.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..acfa92b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.egg-info/ +*.pyc +.idea/ diff --git a/README.txt b/README.txt index c7c456e..5792ea4 100644 --- a/README.txt +++ b/README.txt @@ -1,19 +1,19 @@ -Text progress bar library for Python. - -A text progress bar is typically used to display the progress of a long -running operation, providing a visual cue that processing is underway. - -The ProgressBar class manages the current progress, and the format of the line -is given by a number of widgets. A widget is an object that may display -differently depending on the state of the progress bar. There are three types -of widgets: - - a string, which always shows itself - - - a ProgressBarWidget, which may return a different value every time its - update method is called - - - a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it - expands to fill the remaining width of the line. - -The progressbar module is very easy to use, yet very powerful. It will also -automatically enable features like auto-resizing when the system supports it. +Text progress bar library for Python. + +A text progress bar is typically used to display the progress of a long +running operation, providing a visual cue that processing is underway. + +The ProgressBar class manages the current progress, and the format of the line +is given by a number of widgets. A widget is an object that may display +differently depending on the state of the progress bar. There are three types +of widgets: + - a string, which always shows itself + + - a ProgressBarWidget, which may return a different value every time its + update method is called + + - a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it + expands to fill the remaining width of the line. + +The progressbar module is very easy to use, yet very powerful. It will also +automatically enable features like auto-resizing when the system supports it. diff --git a/progressbar/progressbar.py b/progressbar/progressbar.py old mode 100644 new mode 100755 index 994c3ee..c903274 --- a/progressbar/progressbar.py +++ b/progressbar/progressbar.py @@ -69,6 +69,11 @@ } div.pb_bar { height: 1.5em; + background: #4B4B4B; +} +div.ui-progressbar-value { + height: 1.5em; + background: #923B34; } """.replace('\n', ' ')