diff --git a/resources/base.scss b/resources/base.scss index 9e21b4c..dfadbcb 100644 --- a/resources/base.scss +++ b/resources/base.scss @@ -741,4 +741,41 @@ math { .notification-open #notification { color: green !important; +} + +#contest-info { + font-size: 1.25em; + border: 5px solid $highlight_blue; + border-radius: 0 $widget_border_radius $widget_border_radius 0; + z-index: 100000; + cursor: move; + position: fixed; + left: 20px; + top: 90%; + display: none; +} +#contest-info-main { + border-left: 5px dotted white; + background: rgba(0, 0, 0, 0.77); + padding: 10px 12px; + color: white; + display: inline; +} +#contest-info-toggle { + display: inline; + padding: 10px 12px; + border-radius: 0 10px 10px 0; + cursor: pointer; +} +.contest-info-toggle-mode-on { + background: rgba(0, 205, 0, 0.57); +} +.contest-info-toggle-mode-on:hover { + background: rgba(0, 205, 0, 0.97); +} +.contest-info-toggle-mode-off { + background: rgba(255, 0, 0, 0.57); +} +.contest-info-toggle-mode-off:hover { + background: rgba(255, 0, 0, 0.97); } \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 38005a1..bbd1c9c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -197,44 +197,6 @@ } -