[PATCH 3 of 4] gitweb: remove unused css classes
Anton Shestakov
av6 at dwimlabs.net
Sat Nov 25 03:50:40 EST 2017
# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1511595744 -28800
# Sat Nov 25 15:42:24 2017 +0800
# Node ID 06cbefc6daccd825dac7d0ca4a8aba103fec973a
# Parent b538ecc131988ca3c2c07fc8bcb9c87768c5731c
# EXP-Topic hgweb-cleanup
gitweb: remove unused css classes
Looks like they were unused since the very introduction of gitweb theme in
385b8872b8e3.
diff --git a/mercurial/templates/static/style-gitweb.css b/mercurial/templates/static/style-gitweb.css
--- a/mercurial/templates/static/style-gitweb.css
+++ b/mercurial/templates/static/style-gitweb.css
@@ -61,8 +61,6 @@ td.indexlinks a {
}
td.indexlinks a:hover { background-color: #6666aa; }
div.pre { font-family:monospace; font-size:12px; white-space:pre; }
-div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
-div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
.search {
margin-right: 8px;
diff --git a/tests/test-hgweb.t b/tests/test-hgweb.t
--- a/tests/test-hgweb.t
+++ b/tests/test-hgweb.t
@@ -340,7 +340,7 @@ static file
$ get-with-headers.py --twice localhost:$HGPORT 'static/style-gitweb.css' - date etag server
200 Script output follows
- content-length: 9374
+ content-length: 9185
content-type: text/css
body { font-family: sans-serif; font-size: 12px; border:solid #d9d8d1; border-width:1px; margin:10px; background: white; color: black; }
@@ -406,8 +406,6 @@ static file
}
td.indexlinks a:hover { background-color: #6666aa; }
div.pre { font-family:monospace; font-size:12px; white-space:pre; }
- div.diff_info { font-family:monospace; color:#000099; background-color:#edece6; font-style:italic; }
- div.index_include { border:solid #d9d8d1; border-width:0px 0px 1px; padding:12px 8px; }
.search {
margin-right: 8px;
More information about the Mercurial-devel
mailing list