chore: switched to new build system for css.
- added community.bundle.less file to create css bundle - removed the obsolete build.json in favor of new build system - updated the paths in the books - removed the imported urls from css files (the new build system doesn't support that) - removed obsolete lms.css
This commit is contained in:
@@ -18,11 +18,11 @@ app_logo_url = APP_LOGO_URL
|
||||
# ------------------
|
||||
|
||||
# include js, css files in header of desk.html
|
||||
app_include_css = "/assets/community/css/community.css"
|
||||
app_include_js = "/assets/community/js/community.js"
|
||||
# app_include_css = "/assets/community/css/community.css"
|
||||
# app_include_js = "/assets/community/js/community.js"
|
||||
|
||||
# include js, css files in header of web template
|
||||
web_include_css = "/assets/css/community.css"
|
||||
web_include_css = "community.bundle.css"
|
||||
# web_include_css = "/assets/community/css/community.css"
|
||||
# web_include_js = "/assets/community/js/community.js"
|
||||
|
||||
|
||||
@@ -16,12 +16,3 @@
|
||||
is_exercise=True,
|
||||
last_submitted=submission and submission.creation) }}
|
||||
</div>
|
||||
|
||||
<style type="text/css">
|
||||
.exercise-image svg {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
border: 1px solid #ddd;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"css/lms.css": [
|
||||
"public/css/lms.css"
|
||||
],
|
||||
"css/community.css": [
|
||||
"public/css/style.css",
|
||||
"public/css/vars.css",
|
||||
"public/css/style.less"
|
||||
],
|
||||
"js/livecode-canvas.js": [
|
||||
"public/js/livecode-canvas.js"
|
||||
]
|
||||
|
||||
}
|
||||
4
community/public/css/community.bundle.less
Normal file
4
community/public/css/community.bundle.less
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
@import "./style.css";
|
||||
@import "./vars.css";
|
||||
@import "./style.less";
|
||||
@@ -1,26 +0,0 @@
|
||||
|
||||
.heading {
|
||||
background: #eee;
|
||||
padding: 10px;
|
||||
clear: both;
|
||||
color: #212529;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.sketch-header h1 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.sketch-header {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.sketch-card .sketch-title a {
|
||||
font-weight: bold;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -1,5 +1,3 @@
|
||||
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css");
|
||||
@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");
|
||||
|
||||
:root {
|
||||
--c1: #fefae0;
|
||||
@@ -26,7 +24,7 @@
|
||||
--send-message: var(--c7);
|
||||
--received-message: var(--c8);
|
||||
|
||||
--primary-color: #08B74F;
|
||||
--primary-color: #08B74F !important;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
@primary-color: #08B74F;
|
||||
@import url('https://rsms.me/inter/inter.css');
|
||||
|
||||
body {
|
||||
font-family: "Inter", sans-serif;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 20px 0px;
|
||||
|
||||
Reference in New Issue
Block a user