aboutsummaryrefslogtreecommitdiff
path: root/assets/css/edit.css
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-10-20 23:21:17 +0200
committern-peugnet <n.peugnet@free.fr>2019-10-21 21:49:12 +0200
commit137f4369c2e1194da3bb733193b8636f7ae4c028 (patch)
tree32205f35e809bb02afd59460f56f0094271b7ade /assets/css/edit.css
parentba671a7c0880f8154a7b86d4cb172b0171e84021 (diff)
downloadwcms-137f4369c2e1194da3bb733193b8636f7ae4c028.tar.gz
wcms-137f4369c2e1194da3bb733193b8636f7ae4c028.zip
include CodeMirror in edit page
- add npm prerequisite - add codemirror through npm - add webpack trough npm to build the js bundles - add first codemirror enhenced textarea
Diffstat (limited to 'assets/css/edit.css')
-rw-r--r--assets/css/edit.css12
1 files changed, 8 insertions, 4 deletions
diff --git a/assets/css/edit.css b/assets/css/edit.css
index 640ee1a..85b1e07 100644
--- a/assets/css/edit.css
+++ b/assets/css/edit.css
@@ -116,6 +116,7 @@ body {
left: 0px;
width: 100%;
height: 100%;
+ display: none;
}
.checkboxtab
@@ -138,15 +139,15 @@ body {
color: #7b97b9;
}
-.checkboxtab:checked ~ label
+.checkboxtab:checked ~label
{
border: solid 1px;
background: white;
}
-.checkboxtab:checked ~ .content
+.checkboxtab:checked ~.content
{
- z-index: 1;
+ display: block;
}
@@ -372,7 +373,10 @@ div#thumbnail img {
padding: 2%;
}
-
+/* Custom CodeMirror CSS */
+.CodeMirror {
+ height: 100% !important;
+}
@media (max-width: 600px) {