Author: sevein
Date: Sat Apr 7 07:50:11 2012
New Revision: 11423
Log:
Issue 2288. Treeview, indentation
Modified:
branches/2.0/js/dominion.js
branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less
branches/2.0/plugins/qtDominionPlugin/css/less/main.css
Modified: branches/2.0/js/dominion.js
==============================================================================
--- branches/2.0/js/dominion.js Sat Apr 7 00:03:04 2012 (r11422)
+++ branches/2.0/js/dominion.js Sat Apr 7 07:50:11 2012 (r11423)
@@ -293,28 +293,28 @@
showAll: function ($element)
{
$.ajax({
- url: this.url,
- context: this,
- dataType: 'html',
- data: { show: 'all' },
- beforeSend: function ()
- {
- this.loading = true;
- },
- success: function (data)
- {
- $element
- .hide()
- .nextAll().remove().end()
- .after(data).end();
- },
- complete: function ()
- {
- this.loading = false;
- },
- error: function ()
- {
- }
+ url: this.url,
+ context: this,
+ dataType: 'html',
+ data: { show: 'all' },
+ beforeSend: function ()
+ {
+ this.loading = true;
+ },
+ success: function (data)
+ {
+ $element
+ .hide()
+ .nextAll().remove().end()
+ .after(data).end();
+ },
+ complete: function ()
+ {
+ this.loading = false;
+ },
+ error: function ()
+ {
+ }
});
return this;
@@ -323,28 +323,28 @@
showItem: function($element)
{
$.ajax({
- url: this.url,
- context: this,
- dataType: 'html',
- data: { show: 'item', id: $element.data('id') },
- beforeSend: function ()
- {
- this.loading = true;
- },
- success: function (data)
- {
- this.$showAllButton
- .show()
- .nextAll().remove().end()
- .after(data);
- },
- complete: function ()
- {
- this.loading = false;
- },
- error: function ()
- {
- }
+ url: this.url,
+ context: this,
+ dataType: 'html',
+ data: { show: 'item', id: $element.data('id') },
+ beforeSend: function ()
+ {
+ this.loading = true;
+ },
+ success: function (data)
+ {
+ this.$showAllButton
+ .show()
+ .nextAll().remove().end()
+ .after(data);
+ },
+ complete: function ()
+ {
+ this.loading = false;
+ },
+ error: function ()
+ {
+ }
});
return this;
Modified: branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less Sat Apr
7 00:03:04 2012 (r11422)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/_treeview.less Sat Apr
7 07:50:11 2012 (r11423)
@@ -54,10 +54,7 @@
&.active {
background-color: @white;
-
- a {
- color: @orange;
- }
+ color: @orange;
}
Modified: branches/2.0/plugins/qtDominionPlugin/css/less/main.css
==============================================================================
--- branches/2.0/plugins/qtDominionPlugin/css/less/main.css Sat Apr 7
00:03:04 2012 (r11422)
+++ branches/2.0/plugins/qtDominionPlugin/css/less/main.css Sat Apr 7
07:50:11 2012 (r11423)
@@ -908,7 +908,7 @@
#treeview ul li.expand{padding-left:2px !important;}
#treeview ul li.ancestor{border-bottom:1px solid #ffffff;padding-left:2px
!important;background:none;}
#treeview ul li.back{border-bottom:1px solid #ffffff;padding-left:2px
!important;background:none;}
-#treeview ul li.active{background-color:#ffffff;}#treeview ul li.active
a{color:#f6ac00;}
+#treeview ul li.active{background-color:#ffffff;color:#f6ac00;}
#treeview ul li.ancestor i,#treeview ul li.back i,#treeview ul li.expand
i{display:inline-block;width:10px;height:10px;vertical-align:middle;margin-right:3px;background-image:url(../../images/arrow-sprites.png);background-position:10px
10px;background-repeat:no-repeat;*margin-right:.3em;}#treeview ul li.ancestor
i:last-child,#treeview ul li.back i:last-child,#treeview ul li.expand
i:last-child{*margin-left:0;}
#treeview ul li.ancestor i:last-child,#treeview ul li.back
i:last-child,#treeview ul li.expand i:last-child{*margin-left:0;}
#treeview ul li.ancestor i{background-position:0 -10px;}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.