From 599834af2f655717374d398f87d5b5e05279aa03 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 21 Feb 2017 19:15:05 +0800 Subject: ADD: Progress element experimental support --- dist/spectre.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'dist/spectre.css') diff --git a/dist/spectre.css b/dist/spectre.css index cbba43b..af8b4ad 100644 --- a/dist/spectre.css +++ b/dist/spectre.css @@ -1137,6 +1137,30 @@ textarea.form-input { small.label { font-size: 80%; } +.progress { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border: 0; + color: #5764c6; + height: .6rem; + width: 100%; +} +.progress::-webkit-progress-bar { + background: #efefef; + border-radius: .2rem; +} +.progress::-webkit-progress-value { + background: #5764c6; + border-radius: .2rem; +} +.progress::-moz-progress-bar { + background: #5764c6; + border-radius: .2rem; +} +.progress.progress-lg::after { + content: attr(value) "%"; +} .img-responsive { display: block; height: auto; -- cgit v1.3.1-26-gb76a