diff --git a/resources/problem.scss b/resources/problem.scss index 0e15d2f..b3a21a1 100644 --- a/resources/problem.scss +++ b/resources/problem.scss @@ -437,7 +437,7 @@ ul.problem-list { margin-right: auto; } -@media screen and (min-width: 11000px) { +@media screen and (min-width: 1100px) { .d-flex-problem { display: -webkit-box; display: -ms-flexbox; diff --git a/resources/vars.scss b/resources/vars.scss index fefbf44..70c30a6 100644 --- a/resources/vars.scss +++ b/resources/vars.scss @@ -5,7 +5,6 @@ $background_gray: #ededed; $background_light_gray: #fafafa; $announcement_red: #ae0000; $theme_color: #9c3706; -$sucess: #28a745; $base_font_size: 14px; $widget_border_radius: 0.5em; diff --git a/resources/widgets.scss b/resources/widgets.scss index 6aebda3..f4472a4 100644 --- a/resources/widgets.scss +++ b/resources/widgets.scss @@ -78,10 +78,10 @@ } &.btn-green { - background: green; + background: #28a745; &:hover { - background: #2c974b; + background: green; } } @@ -806,13 +806,6 @@ a { transition: .3s all ease; } -a:hover, a:focus { - text-decoration: none !important; - outline: none !important; - -webkit-box-shadow: none; - box-shadow: none; -} - button { -webkit-transition: .3s all ease; -o-transition: .3s all ease; @@ -843,63 +836,46 @@ button:hover, button:focus { -webkit-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease; -} - -.btn span { - margin-left: -20px; - -moz-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - -webkit-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.btn:hover, .btn:active, .btn:focus { - outline: none !important; -} - -.btn:hover span, .btn:active span, .btn:focus span { - margin-left: -10px; -} - -.btn .icon { - position: absolute; - top: 0; - right: 0; - width: 45px; - bottom: 0; - background: #fff; -} - -.btn .icon i { - font-size: 20px; -} - -.btn .icon.icon-round { - border-radius: 50%; -} - -.btn.btn-primary { - color: #fff; - background: $sucess; - border-color: $sucess; -} - -.btn.btn-disabled { - color: #fff; - background: gray; - border-color: gray; -} - -.btn.btn-primary:hover, .btn.btn-primary:focus { - border-color: green; - background: green; -} - -.btn.btn-primary .icon i { - color: $sucess; -} - -.btn.btn-round { - border-radius: 40px; -} + span { + margin-left: -20px; + -moz-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + -webkit-transition: all 0.3s ease; + -ms-transition: all 0.3s ease; + transition: all 0.3s ease; + } + .icon { + position: absolute; + top: 0; + right: 0; + width: 45px; + bottom: 0; + background: #fff; + i { + font-size: 20px; + } + } + .icon.icon-round { + border-radius: 50%; + } + &.btn-round { + border-radius: 40px; + } + &:hover, &:active, &:focus { + outline: none; + span { + margin-left: -10px; + } + } + &.btn-primary { + color: #fff; + .icon i { + color: #28a745; + } + } + &.btn-disabled { + color: #fff; + background: gray; + border-color: gray; + } +} \ No newline at end of file diff --git a/templates/problem/problem.html b/templates/problem/problem.html index 178c083..acf56f3 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -143,7 +143,7 @@ {% block info_float %} {% if request.user.is_authenticated and request.in_contest_mode and submission_limit %} {% if submissions_left > 0 %} -