From 1b2576bf18685a84053ba1ff7348076aa06ce851 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 30 Mar 2016 16:44:31 -0400 Subject: add progress bars --- themes/okadmin/public/css/main.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'themes/okadmin/public/css') diff --git a/themes/okadmin/public/css/main.css b/themes/okadmin/public/css/main.css index df0ca43..2f2d376 100644 --- a/themes/okadmin/public/css/main.css +++ b/themes/okadmin/public/css/main.css @@ -216,6 +216,7 @@ button, input[type=submit] { font-family: "Helvetica", sans-serif; } .main.resource form .group { + position: relative; display: block; float: left; width: 31em; @@ -361,6 +362,32 @@ button, input[type=submit] { color: red; } +.progress { + position: absolute; + top: 0; right: -100px; + padding: 10px 10px 0 10px; + margin: 0px; + width: 100px; + pointer-events: none; + background: #eee; + opacity: 0; + transition: opacity 0.3s; +} +.progress .xhr { + height: 10px; + background: black; + margin-bottom: 10px; + transition: all 0.2s; +} +.progress .xhr div { + background: white; + transition: all 0.2s; + height: 100%; +} +.progress.loading { + opacity: 1; +} + /* .remove { display: none; -- cgit v1.2.3-70-g09d2