From 96d7a97d80f882111e435e98c6965ad999596b52 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 2 Mar 2016 15:22:19 +0100 Subject: Minor HTML and CSS cleanups --- css/codeq.css | 39 +-------------------------------------- index.html | 8 ++++---- js/codeq/problem_list.js | 2 +- 3 files changed, 6 insertions(+), 43 deletions(-) diff --git a/css/codeq.css b/css/codeq.css index 9b87baa..0603984 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -134,7 +134,7 @@ div#disabled { /* modal screens*/ #screen-login, #screen-signup, #screen-change-password, #screen-settings, #screen-upgrade-to-aai { - padding: 15px 0; + padding: 1em 0; } /* screen language */ @@ -142,9 +142,6 @@ div#disabled { margin-top: 4em; margin-bottom: 4em; } -#screen-language .col-lg-4 { - cursor: pointer; -} #screen-language .col-lg-4 a { color: inherit; text-decoration: none; @@ -287,11 +284,6 @@ h2.group-title a.view-solutions { opacity: 0.75; } -.block > .scrollable-content-container { - padding-left: 1em; - padding-right: 1em; -} - /***** responsiveness *****/ /* md & ld */ @media (min-width: 992px) { @@ -375,10 +367,6 @@ h2.group-title a.view-solutions { } /* python */ - .quadrants.square-layout#screen-python.prof2 > * > .block { - overflow: auto; - min-height: 100%; height: 100%; - } /* instructions+hints */ .square-layout#screen-python .block-left { min-width: 33%; width: 33%; @@ -399,10 +387,6 @@ h2.group-title a.view-solutions { } /* robot */ - .quadrants.square-layout#screen-robot.prof2 > * > .block { - overflow: auto; - min-height: 100%; height: 100%; - } /* instructions+hints */ .square-layout#screen-robot .block-left { min-width: 33%; width: 33%; @@ -423,7 +407,6 @@ h2.group-title a.view-solutions { } /* END layouts */ - .block-left, .block-right { min-height: 100%; height: 100%; } @@ -432,12 +415,6 @@ h2.group-title a.view-solutions { border-right: 1px solid #ddd; } - /* info */ - .block > .scrollable-content-container { - height: 100%; - overflow-y: auto; - } - /* code_editor */ .block > .code_editor { min-height: 100%; @@ -517,16 +494,6 @@ h2.group-title a.view-solutions { background: rgba(255,255,255,0.9);; } -/* status bar */ -ul.dropdown-menu a { - cursor: pointer; -} - -/* main screen */ -#screen-language a { - cursor: pointer; -} - /* problem index screen */ #screen-problem-list .language-description { margin-bottom: 1em; @@ -549,10 +516,6 @@ ul.dropdown-menu a { list-style-type: none; } -#screen-problem-list a { - cursor: pointer; -} - #screen-problem-list ul.group-problems a::before { color: gray; content: '○  '; /* non-breaking spaces */ diff --git a/index.html b/index.html index 0123903..b26db02 100644 --- a/index.html +++ b/index.html @@ -152,7 +152,7 @@
- +
@@ -509,10 +509,10 @@ pattern="^(([0-9a-f]{0,4}:){1,7}[0-9a-f]{1,4}|([0-9]{1,3}\.){3}[0-9]{1,3})$" />
- Layout + Layout
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index 268276f..7f1343d 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -318,7 +318,7 @@ along with this program. If not, see . */ problem_ids = groups[group].filter(function (pid) { return pid in attempts }), link; if (problem_ids.length > 0) { - var link = $('') + var link = $('') .on('click', function (e) { e.preventDefault(); codeq.globalStateMachine.transition('solutions', problem_ids); -- cgit v1.2.1