Changeset 539
- Timestamp:
- 08/14/07 16:53:53 (1 year ago)
- Files:
-
- pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/accounts.css (modified) (2 diffs)
- pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/tree.css (modified) (2 diffs)
- pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/accounts.js (modified) (3 diffs)
- pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/site_tree.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/accounts.css
r525 r539 16 16 text-align: left; 17 17 padding: 0.25em 0; 18 }19 20 .column .count strong {21 background: #3465a4 url('../images/tab-active.png') repeat-x left top;22 color: #fff;23 padding: 1px 2px;24 18 } 25 19 … … 70 64 .column li.inactive { 71 65 background: #dcf2fa; 66 opacity: 0.3; 67 } 68 69 .column li.inactive:hover { 70 opacity: 0.75; 72 71 } 73 72 pagoda/trunk/Pagoda/pagoda/widgets/admin/static/css/tree.css
r525 r539 74 74 } 75 75 76 .tree-menu button:hover .x-menu-item-icon { 77 opacity: 1.0; 78 } 79 76 80 /* Tree Menu should be horizontal (not vertical, which is the default) */ 77 .tree-menu li, 78 .tree-menu button { 81 .tree-menu li { 79 82 display: inline; 80 color: #adf;81 83 } 82 84 … … 92 94 /* Buttons in Tree Menu should look very flat */ 93 95 .tree-menu button { 96 display: inline; 94 97 background: transparent; 95 98 margin: 0 0.5em 0 0; 96 99 border: 0; 97 100 padding: 3px 0; 101 color: #adf; 98 102 } 99 103 100 104 .tree-menu .x-menu-item-icon { 101 105 margin-right: 0.5em; 106 opacity: 0.75; 102 107 } pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/accounts.js
r521 r539 10 10 } 11 11 12 var inactiveHover = function() { 13 this.fxanim({opacity: {from: 0.3, to: 0.75}}); 14 } 15 16 var inactiveFade = function() { 17 this.fxanim({opacity: {to: 0.3}}); 18 } 19 12 20 var filterFalse = function(el) { 13 21 el.removeClass('active'); 14 el.fxanim({opacity: {to: 0.3}}); 15 el.addClass('inactive'); 22 el.fxanim({opacity: {to: 0.3}}, {afterCls: 'inactive'}); 16 23 } 17 24 … … 37 44 allItems.removeClass(['active', 'inactive', 'selected']); 38 45 item.addClass('selected'); 39 setup.form.el.select('.count').update(String.format(40 "All {0} {1}{2}", allItems.elements.length, setup.form.id.slice(0, -1), "s "[Number(allItems.elements.length == 1)]41 ));42 46 // Now apply the filters 43 47 for (var i = 0; i < setup.filters.length; i++) { … … 49 53 applyFilter(values, value, this); 50 54 }); 51 var activeLength = filter.form.el.select('.active').elements.length;52 filter.form.el.select('.count').update(String.format(53 "<strong>{0}'s</strong> {1} {2}{3}", name, activeLength, filter.form.id.slice(0, -1), "s "[Number(activeLength == 1)]54 ));55 55 } 56 56 return false; pagoda/trunk/Pagoda/pagoda/widgets/admin/static/javascript/site_tree.js
r525 r539 48 48 items: [ 49 49 new Ext.menu.ButtonItem({ 50 text: "Edit", 51 icon: Ext.BLANK_IMAGE_URL, 52 itemCls: 'edit' 53 }), 54 new Ext.menu.ButtonItem({ 50 55 text: "Add", 51 56 icon: Ext.BLANK_IMAGE_URL, 52 57 itemCls: 'add' 53 }),54 new Ext.menu.ButtonItem({55 text: "Edit",56 icon: Ext.BLANK_IMAGE_URL,57 itemCls: 'edit'58 58 }), 59 59 new Ext.menu.ButtonItem({
