summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-04 23:02:46 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-04 23:02:46 +0200
commitcb85893606c4d7d5db689507d21bb833f22a961d (patch)
tree65db475a4224e3548656c3b75822c80b89e7406d
parentwebif fix (diff)
downloadpyload-cb85893606c4d7d5db689507d21bb833f22a961d.tar.xz
gregy's great webif patch for chrome
-rw-r--r--module/web/media/default/css/default.css17
-rw-r--r--module/web/templates/default/base.html3
2 files changed, 17 insertions, 3 deletions
diff --git a/module/web/media/default/css/default.css b/module/web/media/default/css/default.css
index 398cb03b6..692202bb2 100644
--- a/module/web/media/default/css/default.css
+++ b/module/web/media/default/css/default.css
@@ -903,6 +903,8 @@ ul#page-actions {
color:black;
background-color:#ececec;
list-style-type:none;
+ white-space: nowrap;
+ border-radius:5px;
-moz-border-radius:5px;
}
ul#user-actions {
@@ -913,6 +915,7 @@ ul#user-actions {
background-color:#ececec;
list-style-type:none;
-moz-border-radius:3px;
+ border-radius:3px;
}
ul#page-actions li, ul#user-actions li {
display:inline;
@@ -935,6 +938,7 @@ ul#page-actions2 {
color:black;
background-color:#ececec;
list-style-type:none;
+ border-radius:5px;
-moz-border-radius:5px;
}
ul#user-actions2 {
@@ -944,6 +948,7 @@ ul#user-actions2 {
color:black;
background-color:#ececec;
list-style-type:none;
+ border-radius:3px;
-moz-border-radius:3px;
}
ul#page-actions2 li, ul#user-actions2 li {
@@ -1091,12 +1096,15 @@ a.cog {
border-bottom:0px solid transparent;
padding-bottom:3px;
-moz-border-radius:5px;
+ border-radius:5px;
}
#head-menu ul li a:hover, #head-menu ul li a:focus {
color:#111;
padding-bottom:7px;
border-bottom:0px none transparent;
outline:none;
+ border-bottom-left-radius: 0px;
+ border-bottom-right-radius: 0px;
-moz-border-radius-bottomright:0px;
-moz-border-radius-bottomleft:0px;
}
@@ -1108,6 +1116,8 @@ a.cog {
background:#fff;
padding-bottom:7px;
border-bottom:0px none transparent;
+ border-bottom-left-radius: 0px;
+ border-bottom-right-radius: 0px;
-moz-border-radius-bottomright:0px;
-moz-border-radius-bottomleft:0px;
}
@@ -1118,8 +1128,11 @@ div#head-search-and-login {
float:right;
margin:0 1em 0 0;
background-color:#222;
- padding:4px;
+ padding:7px 7px 5px 5px;
color:white;
+ white-space: nowrap;
+ border-bottom-left-radius: 6px;
+ border-bottom-right-radius: 6px;
-moz-border-radius-bottomright:6px;
-moz-border-radius-bottomleft:6px;
}
@@ -1132,6 +1145,7 @@ div#head-search-and-login form input {
background:#eee;
font-size:14px;
padding:2px;
+ border-radius:3px;
-moz-border-radius:3px;
}
div#head-search-and-login form input:focus {
@@ -1496,6 +1510,7 @@ div.codearea pre span.Preprc {
font-weight: normal;
background-color:#ececec;
-moz-border-radius:5px;
+ border-radius:5px;
}
.progress_bar {
background: #0C0;
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index 4631ec382..112875cc0 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -218,8 +218,7 @@ function AddBox()
{% if user.is_staff %}
<li><a href="/admin" class="action profile" rel="nofollow">{% trans "Administrate" %}</a></li>
{% endif %}
- <li></li>
- <li></li>
+
</ul>
{% else %}
<span style="padding-right: 2px;">{% trans "Please Login!" %}</span>