summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorChristian Fowler <cfowler2@wcpss.net>2014-08-01 15:05:00 -0400
committerChristian Fowler <cfowler2@wcpss.net>2014-08-01 15:05:00 -0400
commit3ca5645a5be3e4c971a432821bd0bbb2f397f5f7 (patch)
tree704ab3c57ea252d1ccd146f74021271c1017757f /css
parente96797473a77a81bfc7153e881247c5548180fd6 (diff)
downloadthemes-3ca5645a5be3e4c971a432821bd0bbb2f397f5f7.tar.gz
themes-3ca5645a5be3e4c971a432821bd0bbb2f397f5f7.tar.bz2
themes-3ca5645a5be3e4c971a432821bd0bbb2f397f5f7.zip
mass reworking of structure editing using acisortable
Diffstat (limited to 'css')
-rw-r--r--css/base.css35
1 files changed, 30 insertions, 5 deletions
diff --git a/css/base.css b/css/base.css
index 4c391ca..f1bd785 100644
--- a/css/base.css
+++ b/css/base.css
@@ -76,12 +76,37 @@ ul {padding-left:15px;}
.module ol li {margin:0 0 0 3em; padding:0;}
.module ul li,
.menu li,
-ul.toc li {list-style:none;font-weight:normal;font-size:10pt;}
-ul.toc li .numbering {margin-left:-1em;}
-ul.toc ul {margin-left:1em; padding:0 0 5px 0;}
-html[dir='rtl'] ul.toc ul {margin-right:1em;}
+ol.structure-toc { counter-reset: item; padding-left:0px; }
+ol.structure-toc>li { display: block }
+ol.structure-toc>li:before { content: counters(item, ".") " "; counter-increment: item }
+ol.structure-toc li {font-weight:normal;font-size:10pt;margin-left:15px;}
+ol.structure-toc li .numbering {margin-left:-1em;}
+ol.strucutre-toc ol {margin-left:1em; padding:0 0 5px 0;}
+html[dir='rtl'] ol.structure-toc ol {margin-right:1em;}
+.boxcontent > ol.structure-toc > li {font-weight:bold;font-size:130%}
+/* this is just as example, implement your own CSS to match the aciSortable init options */
+.edit.structure ol.structure-toc li {padding-top:5px; padding-bottom:5px;}
+.aciSortablePlaceholder {
+ height:4px;
+ line-height:4px;
+}
+
+.aciSortablePlaceholder div {
+ height:4px;
+ background-color:black;
+ width:100px;
+}
-.boxcontent > ul.toc > li {font-weight:bold;font-size:130%}
+.structure-sort-helper {
+ position:absolute;
+ max-width:300px;
+ background-color:#ccc;
+ border:1px solid #000;
+ padding:4px;
+ color:#000;
+ /* uncomment below to offset from the mouse cursor */
+ /*margin:20px 0 0 20px;*/
+}
.bold {font-weight:bold;}