From 480774755fc6b3581aeef8c7822154da509059ce Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Tue, 9 Mar 2021 11:50:45 +0000 Subject: [PATCH] Moved the css to assets --- community/public/build.json | 5 +++ community/public/css/lms.css | 57 +++++++++++++++++++++++++ community/www/courses/topic.html | 71 +------------------------------- 3 files changed, 63 insertions(+), 70 deletions(-) create mode 100644 community/public/build.json create mode 100644 community/public/css/lms.css diff --git a/community/public/build.json b/community/public/build.json new file mode 100644 index 00000000..14ac7230 --- /dev/null +++ b/community/public/build.json @@ -0,0 +1,5 @@ +{ + "css/lms.css": [ + "public/css/lms.css" + ] +} diff --git a/community/public/css/lms.css b/community/public/css/lms.css new file mode 100644 index 00000000..67b08a94 --- /dev/null +++ b/community/public/css/lms.css @@ -0,0 +1,57 @@ + +.canvas-wrapper { + position: relative; + padding: 10px; +} + +.canvas-editor canvas { + position: relative; + z-index: 0; + border: 1px solid #ddd; + height: 300px; + width: 300px; +} +.canvas-wrapper .output { + position: absolute; + z-index: 1; + width: 100%; + left: 0px; + top: 0px; + background-color: rgba(255, 255, 255, 0); + margin: 15px; +} + +.canvas-editor .code { + width: 100%; + padding: 5px; + min-height: 330px; + resize: none; +} +.canvas-editor .output { + padding: 5px; +} + +.heading { + background: #eee; + padding: 10px; + clear: both; + color: #212529; + border: 1px solid #ddd; +} + +.canvas-editor h2 { + font-size: 1.2em; + text-transform: uppercase; + margin: 0px; + font-weight: normal; +} + +.canvas-editor .run { + float: right; +} + +.canvas-editor .col-sm { + border: 1px solid #ddd; +} + + diff --git a/community/www/courses/topic.html b/community/www/courses/topic.html index b527a444..040b5a1c 100644 --- a/community/www/courses/topic.html +++ b/community/www/courses/topic.html @@ -7,6 +7,7 @@ + @@ -89,73 +90,3 @@ }) {%- endblock %} - -{%- block style %} - {{ super() }} - - -{%- endblock %}