[Pkg-mozext-commits] [wot] 197/226: Proper vertical align of the link "View scorecard"
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit d6f9aa0fd0a799454ae7890586f0a22e4fcde9b8
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Thu Mar 6 13:57:57 2014 +0200
Proper vertical align of the link "View scorecard"
---
content/rw/ratingwindow.html | 4 +---
content/rw/ratingwindow.js | 2 +-
skin/ratingwindow.css | 15 ++++++---------
3 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/content/rw/ratingwindow.html b/content/rw/ratingwindow.html
index 1eda209..a875fba 100644
--- a/content/rw/ratingwindow.html
+++ b/content/rw/ratingwindow.html
@@ -145,9 +145,7 @@
<div id="main-area" class="view-mode">
<div id="reputation-info">
<div id="wot-rating-header-wot" class="title"></div>
- <div id="wot-scorecard-content">
- <span id="wot-scorecard-visit" class="wot-scorecard-text link"></span>
- </div>
+ <div id="wot-scorecard-visit" class="wot-scorecard-text link"></div>
<div class="rep-info-sections">
<div id="rep-block">
diff --git a/content/rw/ratingwindow.js b/content/rw/ratingwindow.js
index 0ca5f7b..ca1d1b2 100644
--- a/content/rw/ratingwindow.js
+++ b/content/rw/ratingwindow.js
@@ -1077,7 +1077,7 @@ $.extend(wot, { ratingwindow: {
_rw.hide();
});
- $("#wot-scorecard-content").bind("click", function() {
+ $("#wot-scorecard-visit").bind("click", function() {
if (wot.ratingwindow.current.target) {
wot.ratingwindow.navigate(wot.urls.scorecard +
encodeURIComponent(wot.ratingwindow.current.target),
diff --git a/skin/ratingwindow.css b/skin/ratingwindow.css
index f3c4936..1630091 100644
--- a/skin/ratingwindow.css
+++ b/skin/ratingwindow.css
@@ -743,22 +743,18 @@ textarea {
/*width: 200px;*/
}
-#wot-scorecard-content {
- display: inline-block;
- max-width: 250px;
- max-height: 1.3em; /* Diff in FF */
- overflow: hidden;
-}
-
.wot-scorecard-text {
font-size: 12px;
font-weight: bold;
}
#wot-scorecard-visit {
- margin-bottom: 0px;
- margin-top: 9px;
+ display: inline;
+ max-width: 250px;
+ max-height: 1.3em; /* Diff in FF */
+ overflow: hidden;
}
+
#wot-scorecard-comment-container {
display: block;
margin: 0;
@@ -1322,6 +1318,7 @@ textarea {
}
#wg-viewer-frame {
+ display: none;
border: none;
width: 400px;
height: 305px;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list