{{ message|safe }}
+ {% else %} + {% if message.tags == "info" %} +{{ message|safe }}
+ {% else %} +{{ message|safe }}
+ {% endif %} + {% endif %} + {% endfor %} +diff --git a/__init__.py b/__init__.py index 2ea1b3c..cc9d3e1 100644 --- a/__init__.py +++ b/__init__.py @@ -10,6 +10,7 @@ available_themes = [ ('clear-red', 'Clear Red'), ('clear-green', 'Clear Green'), ('clear-blue', 'Clear Blue'), + ('clear-digits', 'Clear Digits'), ] default_theme = 'default' diff --git a/static/themes/clear-digits/1st-color/0.png b/static/themes/clear-digits/1st-color/0.png new file mode 100644 index 0000000..173fe62 Binary files /dev/null and b/static/themes/clear-digits/1st-color/0.png differ diff --git a/static/themes/clear-digits/1st-color/1.png b/static/themes/clear-digits/1st-color/1.png new file mode 100644 index 0000000..ab41cbe Binary files /dev/null and b/static/themes/clear-digits/1st-color/1.png differ diff --git a/static/themes/clear-digits/1st-color/2.png b/static/themes/clear-digits/1st-color/2.png new file mode 100644 index 0000000..a0692c9 Binary files /dev/null and b/static/themes/clear-digits/1st-color/2.png differ diff --git a/static/themes/clear-digits/1st-color/3.png b/static/themes/clear-digits/1st-color/3.png new file mode 100644 index 0000000..3718e65 Binary files /dev/null and b/static/themes/clear-digits/1st-color/3.png differ diff --git a/static/themes/clear-digits/1st-color/4.png b/static/themes/clear-digits/1st-color/4.png new file mode 100644 index 0000000..da52cec Binary files /dev/null and b/static/themes/clear-digits/1st-color/4.png differ diff --git a/static/themes/clear-digits/1st-color/5.png b/static/themes/clear-digits/1st-color/5.png new file mode 100644 index 0000000..e9ba26b Binary files /dev/null and b/static/themes/clear-digits/1st-color/5.png differ diff --git a/static/themes/clear-digits/1st-color/6.png b/static/themes/clear-digits/1st-color/6.png new file mode 100644 index 0000000..d146bab Binary files /dev/null and b/static/themes/clear-digits/1st-color/6.png differ diff --git a/static/themes/clear-digits/1st-color/7.png b/static/themes/clear-digits/1st-color/7.png new file mode 100644 index 0000000..bd767ec Binary files /dev/null and b/static/themes/clear-digits/1st-color/7.png differ diff --git a/static/themes/clear-digits/1st-color/8.png b/static/themes/clear-digits/1st-color/8.png new file mode 100644 index 0000000..210dc7d Binary files /dev/null and b/static/themes/clear-digits/1st-color/8.png differ diff --git a/static/themes/clear-digits/1st-color/9.png b/static/themes/clear-digits/1st-color/9.png new file mode 100644 index 0000000..e58863c Binary files /dev/null and b/static/themes/clear-digits/1st-color/9.png differ diff --git a/static/themes/clear-digits/1st-color/admin.png b/static/themes/clear-digits/1st-color/admin.png new file mode 100644 index 0000000..073517d Binary files /dev/null and b/static/themes/clear-digits/1st-color/admin.png differ diff --git a/static/themes/clear-digits/1st-color/back.png b/static/themes/clear-digits/1st-color/back.png new file mode 100644 index 0000000..41d2f07 Binary files /dev/null and b/static/themes/clear-digits/1st-color/back.png differ diff --git a/static/themes/clear-digits/1st-color/delete.png b/static/themes/clear-digits/1st-color/delete.png new file mode 100644 index 0000000..06bb60f Binary files /dev/null and b/static/themes/clear-digits/1st-color/delete.png differ diff --git a/static/themes/clear-digits/1st-color/display.png b/static/themes/clear-digits/1st-color/display.png new file mode 100644 index 0000000..d752bad Binary files /dev/null and b/static/themes/clear-digits/1st-color/display.png differ diff --git a/static/themes/clear-digits/1st-color/download.png b/static/themes/clear-digits/1st-color/download.png new file mode 100644 index 0000000..95a1455 Binary files /dev/null and b/static/themes/clear-digits/1st-color/download.png differ diff --git a/static/themes/clear-digits/1st-color/download_flat.png b/static/themes/clear-digits/1st-color/download_flat.png new file mode 100644 index 0000000..54f5262 Binary files /dev/null and b/static/themes/clear-digits/1st-color/download_flat.png differ diff --git a/static/themes/clear-digits/1st-color/edit.png b/static/themes/clear-digits/1st-color/edit.png new file mode 100644 index 0000000..afd4bbd Binary files /dev/null and b/static/themes/clear-digits/1st-color/edit.png differ diff --git a/static/themes/clear-digits/1st-color/edit2.png b/static/themes/clear-digits/1st-color/edit2.png new file mode 100644 index 0000000..82383c7 Binary files /dev/null and b/static/themes/clear-digits/1st-color/edit2.png differ diff --git a/static/themes/clear-digits/1st-color/favourite.png b/static/themes/clear-digits/1st-color/favourite.png new file mode 100644 index 0000000..d5e7ed2 Binary files /dev/null and b/static/themes/clear-digits/1st-color/favourite.png differ diff --git a/static/themes/clear-digits/1st-color/filter.png b/static/themes/clear-digits/1st-color/filter.png new file mode 100644 index 0000000..3652ef9 Binary files /dev/null and b/static/themes/clear-digits/1st-color/filter.png differ diff --git a/static/themes/clear-digits/1st-color/folder.png b/static/themes/clear-digits/1st-color/folder.png new file mode 100644 index 0000000..2160c5c Binary files /dev/null and b/static/themes/clear-digits/1st-color/folder.png differ diff --git a/static/themes/clear-digits/1st-color/gps.png b/static/themes/clear-digits/1st-color/gps.png new file mode 100644 index 0000000..9e94915 Binary files /dev/null and b/static/themes/clear-digits/1st-color/gps.png differ diff --git a/static/themes/clear-digits/1st-color/help.png b/static/themes/clear-digits/1st-color/help.png new file mode 100644 index 0000000..f49b677 Binary files /dev/null and b/static/themes/clear-digits/1st-color/help.png differ diff --git a/static/themes/clear-digits/1st-color/home.png b/static/themes/clear-digits/1st-color/home.png new file mode 100644 index 0000000..7e32f97 Binary files /dev/null and b/static/themes/clear-digits/1st-color/home.png differ diff --git a/static/themes/clear-digits/1st-color/info.png b/static/themes/clear-digits/1st-color/info.png new file mode 100644 index 0000000..2fda157 Binary files /dev/null and b/static/themes/clear-digits/1st-color/info.png differ diff --git a/static/themes/clear-digits/1st-color/is_favourite.png b/static/themes/clear-digits/1st-color/is_favourite.png new file mode 100644 index 0000000..1551be7 Binary files /dev/null and b/static/themes/clear-digits/1st-color/is_favourite.png differ diff --git a/static/themes/clear-digits/1st-color/login.png b/static/themes/clear-digits/1st-color/login.png new file mode 100644 index 0000000..46b078c Binary files /dev/null and b/static/themes/clear-digits/1st-color/login.png differ diff --git a/static/themes/clear-digits/1st-color/logout.png b/static/themes/clear-digits/1st-color/logout.png new file mode 100644 index 0000000..d36dd20 Binary files /dev/null and b/static/themes/clear-digits/1st-color/logout.png differ diff --git a/static/themes/clear-digits/1st-color/permission.png b/static/themes/clear-digits/1st-color/permission.png new file mode 100644 index 0000000..85731ff Binary files /dev/null and b/static/themes/clear-digits/1st-color/permission.png differ diff --git a/static/themes/clear-digits/1st-color/play.png b/static/themes/clear-digits/1st-color/play.png new file mode 100644 index 0000000..58dcd30 Binary files /dev/null and b/static/themes/clear-digits/1st-color/play.png differ diff --git a/static/themes/clear-digits/1st-color/plus.png b/static/themes/clear-digits/1st-color/plus.png new file mode 100644 index 0000000..d645128 Binary files /dev/null and b/static/themes/clear-digits/1st-color/plus.png differ diff --git a/static/themes/clear-digits/1st-color/print.png b/static/themes/clear-digits/1st-color/print.png new file mode 100644 index 0000000..cbc8d94 Binary files /dev/null and b/static/themes/clear-digits/1st-color/print.png differ diff --git a/static/themes/clear-digits/1st-color/register.png b/static/themes/clear-digits/1st-color/register.png new file mode 100644 index 0000000..0ed9ebc Binary files /dev/null and b/static/themes/clear-digits/1st-color/register.png differ diff --git a/static/themes/clear-digits/1st-color/save.png b/static/themes/clear-digits/1st-color/save.png new file mode 100644 index 0000000..8267100 Binary files /dev/null and b/static/themes/clear-digits/1st-color/save.png differ diff --git a/static/themes/clear-digits/1st-color/search.png b/static/themes/clear-digits/1st-color/search.png new file mode 100644 index 0000000..04ab323 Binary files /dev/null and b/static/themes/clear-digits/1st-color/search.png differ diff --git a/static/themes/clear-digits/1st-color/settings.png b/static/themes/clear-digits/1st-color/settings.png new file mode 100644 index 0000000..7f2917f Binary files /dev/null and b/static/themes/clear-digits/1st-color/settings.png differ diff --git a/static/themes/clear-digits/1st-color/shuffle.png b/static/themes/clear-digits/1st-color/shuffle.png new file mode 100644 index 0000000..fbfc328 Binary files /dev/null and b/static/themes/clear-digits/1st-color/shuffle.png differ diff --git a/static/themes/clear-digits/1st-color/sort.png b/static/themes/clear-digits/1st-color/sort.png new file mode 100644 index 0000000..9957b0e Binary files /dev/null and b/static/themes/clear-digits/1st-color/sort.png differ diff --git a/static/themes/clear-digits/1st-color/staging.png b/static/themes/clear-digits/1st-color/staging.png new file mode 100644 index 0000000..c6ba67c Binary files /dev/null and b/static/themes/clear-digits/1st-color/staging.png differ diff --git a/static/themes/clear-digits/1st-color/stop.png b/static/themes/clear-digits/1st-color/stop.png new file mode 100644 index 0000000..6102b53 Binary files /dev/null and b/static/themes/clear-digits/1st-color/stop.png differ diff --git a/static/themes/clear-digits/1st-color/task.png b/static/themes/clear-digits/1st-color/task.png new file mode 100644 index 0000000..a898c5b Binary files /dev/null and b/static/themes/clear-digits/1st-color/task.png differ diff --git a/static/themes/clear-digits/1st-color/upload.png b/static/themes/clear-digits/1st-color/upload.png new file mode 100644 index 0000000..e211734 Binary files /dev/null and b/static/themes/clear-digits/1st-color/upload.png differ diff --git a/static/themes/clear-digits/1st-color/user.png b/static/themes/clear-digits/1st-color/user.png new file mode 100644 index 0000000..537a27c Binary files /dev/null and b/static/themes/clear-digits/1st-color/user.png differ diff --git a/static/themes/clear-digits/1st-color/view.png b/static/themes/clear-digits/1st-color/view.png new file mode 100644 index 0000000..31f1df0 Binary files /dev/null and b/static/themes/clear-digits/1st-color/view.png differ diff --git a/static/themes/clear-digits/2nd-color/0.png b/static/themes/clear-digits/2nd-color/0.png new file mode 100644 index 0000000..c257dd9 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/0.png differ diff --git a/static/themes/clear-digits/2nd-color/1.png b/static/themes/clear-digits/2nd-color/1.png new file mode 100644 index 0000000..0a286e3 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/1.png differ diff --git a/static/themes/clear-digits/2nd-color/2.png b/static/themes/clear-digits/2nd-color/2.png new file mode 100644 index 0000000..a447682 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/2.png differ diff --git a/static/themes/clear-digits/2nd-color/3.png b/static/themes/clear-digits/2nd-color/3.png new file mode 100644 index 0000000..515a019 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/3.png differ diff --git a/static/themes/clear-digits/2nd-color/4.png b/static/themes/clear-digits/2nd-color/4.png new file mode 100644 index 0000000..64e0123 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/4.png differ diff --git a/static/themes/clear-digits/2nd-color/5.png b/static/themes/clear-digits/2nd-color/5.png new file mode 100644 index 0000000..53556d0 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/5.png differ diff --git a/static/themes/clear-digits/2nd-color/6.png b/static/themes/clear-digits/2nd-color/6.png new file mode 100644 index 0000000..82a437b Binary files /dev/null and b/static/themes/clear-digits/2nd-color/6.png differ diff --git a/static/themes/clear-digits/2nd-color/7.png b/static/themes/clear-digits/2nd-color/7.png new file mode 100644 index 0000000..7b4e399 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/7.png differ diff --git a/static/themes/clear-digits/2nd-color/8.png b/static/themes/clear-digits/2nd-color/8.png new file mode 100644 index 0000000..52c6bc5 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/8.png differ diff --git a/static/themes/clear-digits/2nd-color/9.png b/static/themes/clear-digits/2nd-color/9.png new file mode 100644 index 0000000..c0966e8 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/9.png differ diff --git a/static/themes/clear-digits/2nd-color/admin.png b/static/themes/clear-digits/2nd-color/admin.png new file mode 100644 index 0000000..5f6f477 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/admin.png differ diff --git a/static/themes/clear-digits/2nd-color/back.png b/static/themes/clear-digits/2nd-color/back.png new file mode 100644 index 0000000..b6bb073 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/back.png differ diff --git a/static/themes/clear-digits/2nd-color/delete.png b/static/themes/clear-digits/2nd-color/delete.png new file mode 100644 index 0000000..9ec18be Binary files /dev/null and b/static/themes/clear-digits/2nd-color/delete.png differ diff --git a/static/themes/clear-digits/2nd-color/display.png b/static/themes/clear-digits/2nd-color/display.png new file mode 100644 index 0000000..900e0d4 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/display.png differ diff --git a/static/themes/clear-digits/2nd-color/download.png b/static/themes/clear-digits/2nd-color/download.png new file mode 100644 index 0000000..0440c2d Binary files /dev/null and b/static/themes/clear-digits/2nd-color/download.png differ diff --git a/static/themes/clear-digits/2nd-color/download_flat.png b/static/themes/clear-digits/2nd-color/download_flat.png new file mode 100644 index 0000000..5dadc91 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/download_flat.png differ diff --git a/static/themes/clear-digits/2nd-color/edit.png b/static/themes/clear-digits/2nd-color/edit.png new file mode 100644 index 0000000..f946e52 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/edit.png differ diff --git a/static/themes/clear-digits/2nd-color/edit2.png b/static/themes/clear-digits/2nd-color/edit2.png new file mode 100644 index 0000000..b56dac3 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/edit2.png differ diff --git a/static/themes/clear-digits/2nd-color/favourite.png b/static/themes/clear-digits/2nd-color/favourite.png new file mode 100644 index 0000000..1890722 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/favourite.png differ diff --git a/static/themes/clear-digits/2nd-color/filter.png b/static/themes/clear-digits/2nd-color/filter.png new file mode 100644 index 0000000..6646bb6 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/filter.png differ diff --git a/static/themes/clear-digits/2nd-color/folder.png b/static/themes/clear-digits/2nd-color/folder.png new file mode 100644 index 0000000..4dc3141 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/folder.png differ diff --git a/static/themes/clear-digits/2nd-color/gps.png b/static/themes/clear-digits/2nd-color/gps.png new file mode 100644 index 0000000..728061e Binary files /dev/null and b/static/themes/clear-digits/2nd-color/gps.png differ diff --git a/static/themes/clear-digits/2nd-color/home.png b/static/themes/clear-digits/2nd-color/home.png new file mode 100644 index 0000000..2c99e48 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/home.png differ diff --git a/static/themes/clear-digits/2nd-color/info.png b/static/themes/clear-digits/2nd-color/info.png new file mode 100644 index 0000000..98cef14 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/info.png differ diff --git a/static/themes/clear-digits/2nd-color/login.png b/static/themes/clear-digits/2nd-color/login.png new file mode 100644 index 0000000..d53df47 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/login.png differ diff --git a/static/themes/clear-digits/2nd-color/logout.png b/static/themes/clear-digits/2nd-color/logout.png new file mode 100644 index 0000000..1a099de Binary files /dev/null and b/static/themes/clear-digits/2nd-color/logout.png differ diff --git a/static/themes/clear-digits/2nd-color/permission.png b/static/themes/clear-digits/2nd-color/permission.png new file mode 100644 index 0000000..de95261 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/permission.png differ diff --git a/static/themes/clear-digits/2nd-color/play.png b/static/themes/clear-digits/2nd-color/play.png new file mode 100644 index 0000000..db911f3 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/play.png differ diff --git a/static/themes/clear-digits/2nd-color/plus.png b/static/themes/clear-digits/2nd-color/plus.png new file mode 100644 index 0000000..821e4a8 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/plus.png differ diff --git a/static/themes/clear-digits/2nd-color/print.png b/static/themes/clear-digits/2nd-color/print.png new file mode 100644 index 0000000..2da00ea Binary files /dev/null and b/static/themes/clear-digits/2nd-color/print.png differ diff --git a/static/themes/clear-digits/2nd-color/register.png b/static/themes/clear-digits/2nd-color/register.png new file mode 100644 index 0000000..6605314 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/register.png differ diff --git a/static/themes/clear-digits/2nd-color/save.png b/static/themes/clear-digits/2nd-color/save.png new file mode 100644 index 0000000..8fa1407 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/save.png differ diff --git a/static/themes/clear-digits/2nd-color/search.png b/static/themes/clear-digits/2nd-color/search.png new file mode 100644 index 0000000..fffcbbd Binary files /dev/null and b/static/themes/clear-digits/2nd-color/search.png differ diff --git a/static/themes/clear-digits/2nd-color/settings.png b/static/themes/clear-digits/2nd-color/settings.png new file mode 100644 index 0000000..20bcb7b Binary files /dev/null and b/static/themes/clear-digits/2nd-color/settings.png differ diff --git a/static/themes/clear-digits/2nd-color/shuffle.png b/static/themes/clear-digits/2nd-color/shuffle.png new file mode 100644 index 0000000..38ddab2 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/shuffle.png differ diff --git a/static/themes/clear-digits/2nd-color/sort.png b/static/themes/clear-digits/2nd-color/sort.png new file mode 100644 index 0000000..4a51a2c Binary files /dev/null and b/static/themes/clear-digits/2nd-color/sort.png differ diff --git a/static/themes/clear-digits/2nd-color/staging.png b/static/themes/clear-digits/2nd-color/staging.png new file mode 100644 index 0000000..690cd66 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/staging.png differ diff --git a/static/themes/clear-digits/2nd-color/stop.png b/static/themes/clear-digits/2nd-color/stop.png new file mode 100644 index 0000000..6581062 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/stop.png differ diff --git a/static/themes/clear-digits/2nd-color/task.png b/static/themes/clear-digits/2nd-color/task.png new file mode 100644 index 0000000..6e84cd2 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/task.png differ diff --git a/static/themes/clear-digits/2nd-color/upload.png b/static/themes/clear-digits/2nd-color/upload.png new file mode 100644 index 0000000..0cbfc55 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/upload.png differ diff --git a/static/themes/clear-digits/2nd-color/user.png b/static/themes/clear-digits/2nd-color/user.png new file mode 100644 index 0000000..2a6784d Binary files /dev/null and b/static/themes/clear-digits/2nd-color/user.png differ diff --git a/static/themes/clear-digits/2nd-color/view.png b/static/themes/clear-digits/2nd-color/view.png new file mode 100644 index 0000000..cc5e0c4 Binary files /dev/null and b/static/themes/clear-digits/2nd-color/view.png differ diff --git a/static/themes/clear-digits/search.png b/static/themes/clear-digits/search.png new file mode 100644 index 0000000..e85bd55 Binary files /dev/null and b/static/themes/clear-digits/search.png differ diff --git a/static/themes/clear-digits/transparency.png b/static/themes/clear-digits/transparency.png new file mode 100644 index 0000000..8e4faa6 Binary files /dev/null and b/static/themes/clear-digits/transparency.png differ diff --git a/static/themes/white/help.png b/static/themes/white/help.png new file mode 100644 index 0000000..7602195 Binary files /dev/null and b/static/themes/white/help.png differ diff --git a/templates/themes/clear-digits/base.css b/templates/themes/clear-digits/base.css new file mode 100644 index 0000000..7f14a0c --- /dev/null +++ b/templates/themes/clear-digits/base.css @@ -0,0 +1,662 @@ +{% load static %} +/* +* Common +*/ +html { + color: #0A1E2D; + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} + +body { + margin-bottom: 0; +} + +.app-content { + padding-top: 30px; + padding-bottom: 30px; + padding-left: 10px; + padding-right: 10px; +} + +h1 { + padding: 6px; + background-color: #f2f2f2; + border-left:5px solid #0A1E2D; + border-bottom:5px solid #0A1E2D; + font-size: 22px; +} + +.image_bg h1 { + margin: 2px 0px; + margin-bottom: 4px; + border-left:0px; + border-bottom:0px; +} + +h2 { + padding: 6px; + background-color: #f2f2f2; + border-left:3px solid #0A1E2D; + border-bottom:3px solid #0A1E2D; + font-size: 18px; +} + +h3 { + padding: 6px; + background-color: #f2f2f2; + font-size: 14px; +} + +ul { + list-style-type: square; + padding: 10px 30px; +} + +a { + color: #007076; + font-weight: bold; +} + +a:hover { + background: #01D0DA; +} + +table { + opacity: 0.75; + background-color: #ffffff; + border-collapse: collapse; + width: 100%; + margin: 2px 0px; +} + +td, th { + border: 1px solid #dddddd; + text-align: left; + padding: 8px; +} + +tr:nth-child(even) { + background-color: #dddddd; +} +/* +* Forms +*/ +.form { + background-color: #f2f2f2; + padding: 10px 20px; + margin: 5px 10px; + margin-bottom: 10px; +} + +input[type=text], select { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #cccccc; + border-radius: 3px; + box-sizing: border-box; +} + +textarea { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #cccccc; + border-radius: 3px; + box-sizing: border-box; +} + +input[type=password], select { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 3px; + box-sizing: border-box; +} + +input[type=email], select { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #cccccc; + border-radius: 3px; + box-sizing: border-box; +} + +input[type=select], select { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #cccccc; + border-radius: 3px; + box-sizing: border-box; +} + +input[type=file], select { + width: 100%; + padding: 5px 10px; + margin: 4px 0; + display: inline-block; + border: 1px solid #ccc; + border-radius: 3px; + box-sizing: border-box; +} + +p { + margin: 12px 0; +} + +input[type=submit] { + width: 100%; + background-color: #4CAF50; + color: white; + padding: 10px 15px; + margin: 8px 0; + border: none; + border-radius: 3px; + cursor: pointer; +} + +input[type=submit]:hover { + background-color: #45a049; +} + +label { + font-weight: bold; +} + +ul.errorlist { + color: red; +} + +/* +* Navigation- and Menubars +*/ +.titlebar { + overflow: hidden; + background-color: #0A1E2D; + color: #01D0DA; + padding: 14px 16px; + padding-left:75px; + font-size: 22px; + max-height: 50px; +} + +.page-logo { + display: inline; + position: absolute; + top: 0px; + left: 0px; +} + +.page-logo:hover { + background-color: transparent; +} + +.titlebar input[type=text] { + color: #3796f0; + font-weight: bold; + float: right; + width: 34px; + height: 34px; + border: none; + padding: 7px 7px; + padding-left: 5px; + padding-right: 34px; + border-radius: 2px; + margin: 0; + -webkit-transition: width 0.4s ease-in-out; + transition: width 0.4s ease-in-out; + background-color: #4285f4; + background-image: url('{% static 'themes/'|add:settings.page_theme|add:'/search.png' %}'); + background-position: 0px 0px; + background-repeat: no-repeat; +} + +.titlebar input[type=text]/*:focus*/ { + float: right; + display: block; + padding-right: 43px; + text-align: left; + width: 300px; + background-position: 263px 0px; + max-width: 100%; + margin: 0; + background-color: white; +} + +/* +* MENUBAR +*/ +.menubar { + overflow: hidden; + background-color: #0A1E2D; + z-index: 50; +} + +.bottombar { + position: fixed; + bottom: 0; + left: 0; + width: calc(100% - 16px); + margin-left: 8px; + max-height: 53px; +} + +.bottomspace { + min-height: 53px; +} + +.menubar a { + float: left; + font-size: 18px; + color: #01D0DA; + text-align: center; + padding: 4px 15px; + text-decoration: none; + font-weight: normal; +} + + .menubar-slim a { + padding: 2px 2px; + font-weight: normal; +} + +.dropdown { + float: left; + overflow: hidden; +} + +.dropdown .dropbtn { + font-size: 18px; + border: none; + outline: none; + color: #01D0DA; + padding: 4px 15px; + background-color: inherit; + font-family: inherit; + margin: 0; +} + +.dropdown-slim .dropbtn-slim { + padding: 2px 2px; +} + +.menubar a:hover, .dropdown:hover .dropbtn { + background-color: #007076; +} + +.dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 50px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 25; +} + +.dropdown-content a { + float: none; + color: #0A1E2D; + padding: 12px 16px; + text-decoration: none; + display: block; + text-align: left; + font-weight: normal; +} + +.dropdown-content a:hover { + background-color: #ddd; +} + +.dropdown:hover .dropdown-content { + display: block; +} + +/* +* NAVIGATIONBAR +*/ +ul.navigationbar { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #007076; + max-height: 24px; +} + +li.navigationbar { + color: #0A1E2D; + float: left; + font-size: 16px; +} + +li.navigationbar a { + display: block; + color: #0A1E2D; + text-align: center; + padding: 2px 2px; + text-decoration: none; + font-weight: normal; +} + +li.navigationbar a:hover { + background-color: #01D0DA; +} + +.active_menu { + background-color: #007076; +} + +/* When the screen is less than (n*100+250)px wide, reduce content to be shown */ +@media screen and (max-width: calc({{actionbar|length}} * 100px + 250px)) { + .action_menu_hide { + display: none + } +} + +/* When the screen is less than (n*100+250)px wide, reduce content to be shown */ +@media screen and (max-width: calc({{menubar|length}} * 100px + 250px)) { + .menu_hide { + display: none + } +} + +/* When the screen is less than (n*14+75+350)px wide, reduce content to be shown */ +@media screen and (max-width: calc({{title|length}} * 15px + 75px + 350px)) { + .title_hide { + display: none + } +} + +/* +* Flash (Hint, Info, Error) +*/ +.hidden { + display: none; +} + +.fixed { + position: fixed; + top: 30px; + width: 100%; /* so wie flash */ + padding-right:15px; + cursor: cell; +} + +.flash{ + margin: 0px; + display: block; + padding-top: 16px; + padding-bottom: 16px; + padding-left: 10px; + padding-right: 10px; + font-size: 16px; +} + +.flash > a { + text-decoration: none; + font-weight: bold; +} + +.flash > a:hover { + background: none; + text-decoration: underline; +} + +.flash-hint { + color: #205b00; + background-color: rgba(221, 255, 221, 0.9); + border-left: 6px solid #205b00; +} + +.flash-hint > a { + color: #205b00; +} + +.flash-info { + color: #204a87; + background-color: rgba(212, 239, 255, 0.9); + border-left: 6px solid #204a87; +} + +.flash-info > a { + color: #204a87; +} + +.flash-error { + color: #a40000; + background-color: rgba(255, 221, 221, 0.9); + border-left: 6px solid #a40000; +} + +.flash-error > a { + color: #a40000; +} + +.close-flash { + background: #323232; + opacity:1; + color: #FFFFFF; + line-height: 25px; + position: absolute; + top: 12px; + right: 30px; + text-align: center; + width: 24px; + text-decoration: none; + font-weight: bold; + -webkit-border-radius: 12px; + -moz-border-radius: 12px; + border-radius: 12px; + -moz-box-shadow: 1px 1px 3px #000000; + -webkit-box-shadow: 1px 1px 3px #000000; + box-shadow: 1px 1px 3px #000000; +} + +#fixed:hover .close-flash { + background: #a40000; + opacity:1; + color: #FFFFFF; +} +/* +* Items +*/ +div.itemname { + font-weight: bold; + padding: 2px; + font-size: 14px; + text-align: center; +} + +div.datetime { + font-style: italic; + padding: 2px; + font-size: 12px; + text-align: center; +} + +audio { + width: 100%; + margin: 2px 0px; + padding: 1px; + min-width: 300px; + display: block; +} + +* { + box-sizing: border-box; +} + +.container { + position: relative; + z-index: 1; +} + +.tag { + border: 2px solid rgba(255,100,100,.55); + display:block; + position:absolute; +} + +.tag:hover { + border: 3px solid rgba(255,100,100,.85); + background-color: transparent; +} + +.image { + float: left; + margin: 6px; +} + +.image_bg { + background: #0A1E2D; + padding: 6px; +} + +.image_bg:hover { + background: #007076; +} + +.webnail { + max-width: 90vw; + max-height: 90vh; +} + +.clearfix:after { + content: ""; + display: table; + clear: both; +} + +/* +* Modal Dialog +*/ +.modalDialog { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0,0,0,0.8); + z-index: 99999; + opacity:0; + -webkit-transition: opacity 400ms ease-in; + -moz-transition: opacity 400ms ease-in; + transition: opacity 400ms ease-in; + pointer-events: none; +} + +.modalDialog:target { + opacity:1; + pointer-events: auto; +} + +.modalDialog > div { + width:calc(100% - 60px); + height: calc(100vh - 60px); + overflow-y: auto; + position: relative; + margin-top: 30px; + margin-left: 30px; + padding: 5px 20px 13px 20px; + border-radius: 10px; + background: #ffffff; + background: -moz-linear-gradient(#ffffff, #999999); + background: -webkit-linear-gradient(#ffffff, #999999); + background: -o-linear-gradient(#ffffff, #999999); + opacity:0.9; +} + +.close { + background: #606061; + opacity:1; + color: #FFFFFF; + line-height: 25px; + position: absolute; + right: 20px; + text-align: center; + top: 20px; + width: 24px; + text-decoration: none; + font-weight: bold; + -webkit-border-radius: 12px; + -moz-border-radius: 12px; + border-radius: 12px; + -moz-box-shadow: 1px 1px 3px #000000; + -webkit-box-shadow: 1px 1px 3px #000000; + box-shadow: 1px 1px 3px #000000; +} + +.close:hover { + background: #007076; + opacity:1; + color: #FFFFFF; +} + +.modal-info { + margin: 0px; + display: block; + padding-top: 16px; + padding-bottom: 16px; + padding-left: 10px; + padding-right: 10px; + font-size: 16px; + color: #204a87; + background-color: #daefff; + border-left: 6px solid #204a87; +} + +.modal-info > a { + text-decoration: none; + font-weight: bold; + color: #204a87; +} + +.modal-info > a:hover { + background: none; + text-decoration: underline; +} +.image_modal { + display: flex; + vertical-align: middle; +} + +.webnail_modal { + display: block; + max-width: 100%; + max-height: 100%; + margin: auto; + zoom: 2; +} + +/* + * Sticky Header + */ +/* Page content */ +.content { +} + +/* The sticky class is added to the header with JS when it reaches its scroll position */ +.sticky { + position: fixed; + top: 0; + width: calc(100% - 16px); +} + +.sticky-submenu { + position: fixed; +} + +/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */ +.sticky + .content { + padding-top: 30px; +} diff --git a/templates/themes/clear-digits/base.html b/templates/themes/clear-digits/base.html new file mode 100644 index 0000000..fa05dd5 --- /dev/null +++ b/templates/themes/clear-digits/base.html @@ -0,0 +1,115 @@ +{% load static %} +{% load i18n %} + + +
+{{ message|safe }}
+ {% else %} + {% if message.tags == "info" %} +{{ message|safe }}
+ {% else %} +{{ message|safe }}
+ {% endif %} + {% endif %} + {% endfor %} +{{ message|safe }}
+ {% else %} + {% if message.tags == "info" %} +{{ message|safe }}
+ {% else %} +{{ message|safe }}
+ {% endif %} + {% endif %} + {% endfor %} +