mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Displaying expando glyphs in STW model browsing
--HG-- branch : dev
This commit is contained in:
@@ -265,10 +265,10 @@
|
||||
|
||||
// add the expand/collapse logic to the shape model
|
||||
// var glyph = $('<span class="expando-glyph-container closed"><span class="expando-glyph"></span>​</span>');
|
||||
shapeTracingWindowContent.find('h3').parent(':has(li)').prepend(glyph);
|
||||
shapeTracingWindowContent.find('.model li:has(ul)').prepend(glyph);
|
||||
|
||||
// collapse all sub uls
|
||||
shapeTracingWindowContent.find('ul ul').toggle(false);
|
||||
shapeTracingWindowContent.find('.model ul ul').toggle(false);
|
||||
|
||||
// tabs events
|
||||
shapeTracingWindowContent.find('.shape-tracing-tabs > li').click(function () {
|
||||
|
||||
@@ -221,4 +221,25 @@
|
||||
}
|
||||
#shape-tracing-window-content .shape-tracing-tabs li.selected a {
|
||||
color: #3A822E;
|
||||
}
|
||||
|
||||
#shape-tracing-window-content .model ul ul {
|
||||
margin:0 0 0 18px;
|
||||
padding:0 0 0 10px;
|
||||
list-style-type:none;
|
||||
}
|
||||
|
||||
#shape-tracing-window-content .model div {
|
||||
float:left;
|
||||
display:block;
|
||||
}
|
||||
|
||||
#shape-tracing-window-content .model div.type, #shape-tracing-window-content .model div.value {
|
||||
left:300px;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
|
||||
#shape-tracing-window-content .model li {
|
||||
clear:both;
|
||||
}
|
||||
Reference in New Issue
Block a user