From a449b39c52392d0d8b043934a15792f21d54e06d Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 9 Oct 2018 16:20:41 +0300 Subject: refactoring --- web/css/progress.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 web/css/progress.css (limited to 'web/css/progress.css') diff --git a/web/css/progress.css b/web/css/progress.css new file mode 100644 index 00000000..37eeb380 --- /dev/null +++ b/web/css/progress.css @@ -0,0 +1,23 @@ +div.progress { + background-color: var(--bg-color-selected); + height: 1.5em; + width: 100%; + position: relative; +} + +div.progress:before { + color: var(--fg-color-intensive); + content: attr(data-label); + font-size: 0.8em; + position: absolute; + text-align: center; + top: 4px; + left: 0; + right: 0; +} + +div.progress span.progress-value { + background-color: var(--bg-color-intensive); + display: inline-block; + height: 100%; +} -- cgit v1.2.3