Explorar o código

Helios:
- CSS improvement
- Fixed HLListWidget >> activateFirstListItem

Nicolas Petton %!s(int64=11) %!d(string=hai) anos
pai
achega
d51e8e343f
Modificáronse 4 ficheiros con 8 adicións e 4 borrados
  1. 4 0
      css/helios.css
  2. 1 1
      js/Helios-Core.deploy.js
  3. 2 2
      js/Helios-Core.js
  4. 1 1
      st/Helios-Core.st

+ 4 - 0
css/helios.css

@@ -97,6 +97,10 @@ i {
     text-shadow: 0 1px 0 #ddd;
 }
 
+.nav > li > a:hover {
+    background: transparent;
+}
+
 .navbar .nav > .active > a, 
 .navbar .nav > .active > a:hover, 
 .navbar .nav > .active > a:focus {

+ 1 - 1
js/Helios-Core.deploy.js

@@ -569,7 +569,7 @@ selector: "activateFirstListItem",
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-_st(self)._activateListItem_(_st(window)._jQuery_(_st(_st(_st(self["@wrapper"])._asJQuery())._find_("li"))._get_((0))));
+_st(self)._activateListItem_(_st(window)._jQuery_(_st(_st(_st(self["@wrapper"])._asJQuery())._find_("li.inactive"))._get_((0))));
 return self}, function($ctx1) {$ctx1.fill(self,"activateFirstListItem",{},smalltalk.HLListWidget)})},
 messageSends: ["activateListItem:", "jQuery:", "get:", "find:", "asJQuery"]}),
 smalltalk.HLListWidget);

+ 2 - 2
js/Helios-Core.js

@@ -765,10 +765,10 @@ category: 'actions',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-_st(self)._activateListItem_(_st(window)._jQuery_(_st(_st(_st(self["@wrapper"])._asJQuery())._find_("li"))._get_((0))));
+_st(self)._activateListItem_(_st(window)._jQuery_(_st(_st(_st(self["@wrapper"])._asJQuery())._find_("li.inactive"))._get_((0))));
 return self}, function($ctx1) {$ctx1.fill(self,"activateFirstListItem",{},smalltalk.HLListWidget)})},
 args: [],
-source: "activateFirstListItem\x0a\x09self activateListItem: (window jQuery: ((wrapper asJQuery find: 'li') get: 0))",
+source: "activateFirstListItem\x0a\x09self activateListItem: (window jQuery: ((wrapper asJQuery find: 'li.inactive') get: 0))",
 messageSends: ["activateListItem:", "jQuery:", "get:", "find:", "asJQuery"],
 referencedClasses: []
 }),

+ 1 - 1
st/Helios-Core.st

@@ -275,7 +275,7 @@ selectedItem: anObject
 !HLListWidget methodsFor: 'actions'!
 
 activateFirstListItem
-	self activateListItem: (window jQuery: ((wrapper asJQuery find: 'li') get: 0))
+	self activateListItem: (window jQuery: ((wrapper asJQuery find: 'li.inactive') get: 0))
 !
 
 activateItem: anObject