summaryrefslogtreecommitdiff
path: root/web/css/progress.css
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
committerDevaev Maxim <[email protected]>2018-10-09 16:20:41 +0300
commita449b39c52392d0d8b043934a15792f21d54e06d (patch)
treec8ff6a67baea441b61ea14f0363ba4b22c0cd116 /web/css/progress.css
parent2c241fab4409eac3b40762d2c23d42ac6e3f8df1 (diff)
refactoring
Diffstat (limited to 'web/css/progress.css')
-rw-r--r--web/css/progress.css23
1 files changed, 23 insertions, 0 deletions
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%;
+}