Skip to content
Browse files

Fix the header link background.

  • Loading branch information...
1 parent 0b63b9d commit 6e46600365c2bd0c4216a1dc1a68707d0325cb12 @arcusfelis committed Dec 12, 2012
Showing with 15 additions and 2 deletions.
  1. +9 −2 priv/css_src/relatio.css
  2. +6 −0 priv/js_src/relatio.js
View
11 priv/css_src/relatio.css
@@ -104,8 +104,8 @@ a {
/* http://stackoverflow.com/questions/10272605/align-two-inline-blocks-left-and-right-on-same-line */
.sub-block-header {
text-align: justify;
- line-height: 0;
- margin-bottom: 5px;
+ margin-bottom: -1em;
+ line-height: normal;
/* IE special */
width: 100%;
@@ -122,6 +122,9 @@ a {
line-height: 0;
}
+.header-count-info {
+ margin-right: 10px;
+}
#graph-modules {
width: 500px;
@@ -426,6 +429,10 @@ a:focus {
background: DarkSlateGray;
}
+a:hover {
+ background: DarkSlateBlue;
+}
+
.main-selected #main-selected-mark {
position: absolute;
background: green;
View
6 priv/js_src/relatio.js
@@ -970,6 +970,9 @@ relatio.init = function() {
var openDirectionSidebar = function() {
+ if (isDirectionSidebarOpen())
+ return;
+
wm.activate(dirWindow);
$("body").addClass("directions-active");
activateAutoResizeMonitor($("#graph-directions"));
@@ -995,6 +998,9 @@ relatio.init = function() {
var openSearchSidebar = function() {
+ if (isSearchingSidebarOpen())
+ return;
+
wm.activate(searchingWindow);
$("body").addClass("searching-active");
activateAutoResizeMonitor($("#search-results"));

0 comments on commit 6e46600

Please sign in to comment.
Something went wrong with that request. Please try again.