Alexandre Julliard : patches: Switch to the new tab design.
Alexandre Julliard
julliard at winehq.org
Wed May 2 15:30:37 CDT 2018
Module: tools
Branch: master
Commit: 578ec575a2cb4e42a4dd7b26d9f4033e754bd7de
URL: https://source.winehq.org/git/tools.git/?a=commit;h=578ec575a2cb4e42a4dd7b26d9f4033e754bd7de
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed May 2 21:19:40 2018 +0200
patches: Switch to the new tab design.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
patches/patches.css | 58 ++++++++++++++++++----------------------------
patches/update | 2 +-
patches/update-regressions | 2 +-
3 files changed, 24 insertions(+), 38 deletions(-)
diff --git a/patches/patches.css b/patches/patches.css
index 4d6df8b..f2240d9 100644
--- a/patches/patches.css
+++ b/patches/patches.css
@@ -3,7 +3,7 @@
body {
background-color: #000000;
color: #000000;
- background-image: url("//winehq.org/images/bg.jpg");
+ background-image: url("https://dl.winehq.org/share/images/bg.jpg");
background-repeat: no-repeat;
font-family: "bitstream vera sans", "verdana", "arial", "helvetica", sans-serif;
margin: 0;
@@ -43,52 +43,38 @@ a:hover { text-decoration: underline; }
z-index: 4;
}
-#tabs {
- margin: 0px;
- padding: 0px;
- position: absolute;
- right: 10px;
- top: 0px;
- z-index: 6;
+/* top tabs */
+#whq-tabs {
+ float: right;
+ margin-right: 1em;
}
-#tabs ul {
+#whq-tabs .whq-tabs-menu { display: none; }
+
+#whq-tabs UL {
list-style: none;
- margin: 0;
padding: 0;
+ margin: 0;
}
-
-#tabs li {
- background-image: url("//winehq.org/images/tab_u.png");
- background-repeat: no-repeat;
+#whq-tabs LI {
float: left;
height: 28px;
margin: 0px 2px 0px 2px;
- padding: 0;
+ padding: 0px;
text-align: center;
- width: 112px;
-}
-
-#tabs li.s {
- background-image: url("//winehq.org/images/tab_s.png");
-}
-
-#tabs li.s a {
- font-weight: bold;
-}
-
-#tabs li:hover {
- background-image: url("//winehq.org/images/tab_h.png");
-}
-
-#tabs a {
- color: white;
+ background-color: #848484;
+ border-bottom-right-radius: 6px;
+ border-bottom-left-radius: 6px;
+}
+#whq-tabs LI.s { background-color: #cf3939; }
+#whq-tabs LI.s A { font-weight: bold; }
+#whq-tabs LI:hover { background-color: #832c2c; }
+#whq-tabs LI A {
display: block;
- font-size: 16px;
+ min-width: 110px;
height: 23px;
- padding-top: 3px;
- text-decoration: none;
- width: 108px;
+ padding: 3px 5px 3px 5px;
+ font-size: 16px; color: white; text-decoration: none;
}
#main_content {
diff --git a/patches/update b/patches/update
index 3ff7bd6..e45bad9 100755
--- a/patches/update
+++ b/patches/update
@@ -134,7 +134,7 @@ print INDEX start_html(-title=>"Patches list",
print INDEX "<div id=\"logo_glass\"><a href=\"/patches/\"><img src=\"https://dl.winehq.org/share/images/winehq_logo_glass_sm.png\" alt=\"\"></a></div>\n";
print INDEX "<div id=\"logo_text\"><a href=\"/patches/\"><img src=\"https://dl.winehq.org/share/images/winehq_logo_text.png\" alt=\"WineHQ\" title=\"WineHQ\"></a></div>\n";
-print INDEX "<div id=\"tabs\"><ul>",
+print INDEX "<div id=\"whq-tabs\"><ul>",
"<li><a href=\"//www.winehq.org/\">WineHQ</a></li>",
"<li><a href=\"//wiki.winehq.org/\">Wiki</a></li>",
"<li><a href=\"//appdb.winehq.org/\">AppDB</a></li>",
diff --git a/patches/update-regressions b/patches/update-regressions
index 83c9ecb..f617b98 100755
--- a/patches/update-regressions
+++ b/patches/update-regressions
@@ -123,7 +123,7 @@ print OUTPUT start_html(-title=>"Regressions",
print OUTPUT "<div id=\"logo_glass\"><a href=\"/regressions\"><img src=\"https://dl.winehq.org/share/images/winehq_logo_glass_sm.png\" alt=\"\"></a></div>\n";
print OUTPUT "<div id=\"logo_text\"><a href=\"/regressions\"><img src=\"https://dl.winehq.org/share/images/winehq_logo_text.png\" alt=\"WineHQ\" title=\"WineHQ\"></a></div>\n";
-print OUTPUT "<div id=\"tabs\"><ul>",
+print OUTPUT "<div id=\"whq-tabs\"><ul>",
"<li><a href=\"//www.winehq.org/\">WineHQ</a></li>",
"<li><a href=\"//wiki.winehq.org/\">Wiki</a></li>",
"<li><a href=\"//appdb.winehq.org/\">AppDB</a></li>",
More information about the wine-cvs
mailing list