From 8c7b476bdb6d42d8df1c3fd7528f9d5100d7c9e2 Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Mon, 3 Feb 2020 11:51:48 +0100 Subject: [PATCH 1/2] New layout for participant response --- dist/main.bundle.js | 2 +- dist/styles.css | 5 +-- src/style.css | 5 +-- templates/layout/base.html.tpl | 2 +- templates/responses_add_update.html.tpl | 46 ++++++++++++++++--------- 5 files changed, 38 insertions(+), 22 deletions(-) diff --git a/dist/main.bundle.js b/dist/main.bundle.js index fff3f120..23c67441 100644 --- a/dist/main.bundle.js +++ b/dist/main.bundle.js @@ -137,4 +137,4 @@ $(function () { /***/ }) /******/ ]); -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAgZjk4YjZkYzgyODYwNmE1MzkyNmIiLCJ3ZWJwYWNrOi8vLy4vc3JjL2luZGV4LmpzIiwid2VicGFjazovLy8uL3NyYy9zdHlsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtRQUFBO1FBQ0E7O1FBRUE7UUFDQTs7UUFFQTtRQUNBO1FBQ0E7UUFDQTtRQUNBO1FBQ0E7UUFDQTtRQUNBO1FBQ0E7UUFDQTs7UUFFQTtRQUNBOztRQUVBO1FBQ0E7O1FBRUE7UUFDQTtRQUNBOzs7UUFHQTtRQUNBOztRQUVBO1FBQ0E7O1FBRUE7UUFDQTtRQUNBO1FBQ0E7UUFDQTtRQUNBO1FBQ0E7UUFDQSxLQUFLO1FBQ0w7UUFDQTs7UUFFQTtRQUNBO1FBQ0E7UUFDQSwyQkFBMkIsMEJBQTBCLEVBQUU7UUFDdkQsaUNBQWlDLGVBQWU7UUFDaEQ7UUFDQTtRQUNBOztRQUVBO1FBQ0Esc0RBQXNELCtEQUErRDs7UUFFckg7UUFDQTs7UUFFQTtRQUNBOzs7Ozs7OztBQzdEQTtBQUFBO0FBQUE7QUFBb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XJsID0gdGhpcy5kYXRhc2V0LnVybDtcblx0dmFyIG1vZGFsRWwgPSAkKCcja2FybWVuLW1vZGFsLXJlbW92ZScpO1xuXHRcblx0dmFyIGVsID0gJCh0aGlzKTtcblxuXHRtb2RhbEVsLm1vZGFsKHtiYWNrZHJvcDogJ3N0YXRpYyd9KS5vbmUoJ2NsaWNrJywgJyNrYXJtZW4tbW9kYWwtYnRuLWNvbmZpcm0nLCBmdW5jdGlvbigpIHtcblx0ICAgIFxuXHQgICAgJC5hamF4KHtcblx0XHR1cmw6IHVybCxcblx0XHR0eXBlOiAnREVMRVRFJyxcblx0XHRzdWNjZXNzOiBmdW5jdGlvbihyZXN1bHQpIHtcblx0XHQgICAgbW9kYWxFbC5tb2RhbCgnaGlkZScpO1xuXHRcdCAgICB3aW5kb3cubG9jYXRpb24ucmVwbGFjZShyZXN1bHQucmVkaXJlY3RfdXJsKTtcblx0XHR9XG5cdCAgICB9KTtcblx0ICAgIFxuXHR9KTtcblx0XG5cdHJldHVybiBmYWxzZTtcbiAgICB9O1xuICAgIFxuICAgICQoXCIua2FybWVuLWFqYXgtZGVsZXRlXCIpLm9uKFwiY2xpY2tcIiwgZGVsZXRlSGFuZGxlcik7XG5cbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9zdHlsZS5jc3Ncbi8vIG1vZHVsZSBpZCA9IDFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;charset=utf-8;base64,e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W9kYWxFbC5tb2RhbCgnaGlkZScpO1xuXHRcdCAgICB3aW5kb3cubG9jYXRpb24ucmVwbGFjZShyZXN1bHQucmVkaXJlY3RfdXJsKTtcblx0XHR9XG5cdCAgICB9KTtcblx0ICAgIFxuXHR9KTtcblx0XG5cdHJldHVybiBmYWxzZTtcbiAgICB9O1xuICAgIFxuICAgICQoXCIua2FybWVuLWFqYXgtZGVsZXRlXCIpLm9uKFwiY2xpY2tcIiwgZGVsZXRlSGFuZGxlcik7XG5cbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvaW5kZXguanNcbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9zdHlsZS5jc3Ncbi8vIG1vZHVsZSBpZCA9IDFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ== \ No newline at end of file diff --git a/dist/styles.css b/dist/styles.css index 1bdd0a23..333cbf45 100644 --- a/dist/styles.css +++ b/dist/styles.css @@ -4,6 +4,7 @@ html { body { padding-top: 60px; + position: relative; } div.login { @@ -103,7 +104,7 @@ ul.karmen-related-elements { } .sticky-offset { - top: 56px; + top: 60px; } .oef-anchor-selection:target { @@ -121,7 +122,7 @@ ul.karmen-related-elements { div.oef-anchor { display: block; position: relative; - top: -56px; + top: -60px; visibility: hidden; } diff --git a/src/style.css b/src/style.css index 28d4ac0f..d0f10dbf 100644 --- a/src/style.css +++ b/src/style.css @@ -4,6 +4,7 @@ html { body { padding-top: 60px; + position: relative; } div.login { @@ -103,7 +104,7 @@ ul.karmen-related-elements { } .sticky-offset { - top: 56px; + top: 60px; } .oef-anchor-selection:target { @@ -121,6 +122,6 @@ ul.karmen-related-elements { div.oef-anchor { display: block; position: relative; - top: -56px; + top: -60px; visibility: hidden; } diff --git a/templates/layout/base.html.tpl b/templates/layout/base.html.tpl index bad49591..50844669 100644 --- a/templates/layout/base.html.tpl +++ b/templates/layout/base.html.tpl @@ -23,7 +23,7 @@ Olimpiadi di Economia e Finanza - Piattaforma di gara - +