aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-09 16:50:01 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-09 16:50:01 +0300
commitf882392e0933002df280ba69efdfaf57b9c1ff68 (patch)
treec56d0851bc6605b726aedd731cca9e4c6ec76818
parentAdd devel requirements (diff)
downloadgentoo-packages-f882392e0933002df280ba69efdfaf57b9c1ff68.tar.gz
gentoo-packages-f882392e0933002df280ba69efdfaf57b9c1ff68.tar.bz2
gentoo-packages-f882392e0933002df280ba69efdfaf57b9c1ff68.zip
Fix tab focus style in firefox
-rw-r--r--gpackages/static/css/style.css2
-rw-r--r--gpackages/static/js/tab_history.js2
-rw-r--r--gpackages/static/less/packages_b.less4
3 files changed, 4 insertions, 4 deletions
diff --git a/gpackages/static/css/style.css b/gpackages/static/css/style.css
index 64dd3d1..8bac7a3 100644
--- a/gpackages/static/css/style.css
+++ b/gpackages/static/css/style.css
@@ -730,4 +730,4 @@ body{padding-top:60px;}
.bool-no{color:#b94a48;}
.auto-overflow{overflow-x:auto;}
.defcolor{color:inherit;}
-.highlight{padding-top:10px;}
+.nav-tabs>.active>a,.nav-tabs>.active>a:hover{outline:none;}
diff --git a/gpackages/static/js/tab_history.js b/gpackages/static/js/tab_history.js
index 12d4434..9bee454 100644
--- a/gpackages/static/js/tab_history.js
+++ b/gpackages/static/js/tab_history.js
@@ -20,7 +20,7 @@ var HistoryTabs = function(selected_tabs){
obj.real_url = real_url;
objs.tab("show");
obj.href = real_url;
-
+ obj.focus();
}
function activate_tab_by_id(tab_id){
activate_tab($('#' + tab_id));
diff --git a/gpackages/static/less/packages_b.less b/gpackages/static/less/packages_b.less
index 57fb3ef..14b7343 100644
--- a/gpackages/static/less/packages_b.less
+++ b/gpackages/static/less/packages_b.less
@@ -147,6 +147,6 @@ body {
color: inherit;
}
-.highlight {
- padding-top: 10px;
+.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
+ outline:none;
}