summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Kylie McClain <somasis@exherbo.org> 2015-09-02 08:43:10 -0400
committerAvatar Kylie McClain <somasis@exherbo.org> 2015-09-02 08:43:44 -0400
commit164811ef387d2d9b8a302f5ea92bd86670a4ac21 (patch)
tree563a91e0ff2bb832280bf70db90649ff38c33160
parenta8fd2268bec0bc9beeaf330119cdaa143a5163c3 (diff)
downloadwww-164811ef387d2d9b8a302f5ea92bd86670a4ac21.tar.gz
www-164811ef387d2d9b8a302f5ea92bd86670a4ac21.tar.xz
css/cgit: use more descriptive words on log pager for older and newer commits
Change-Id: Iff3aed558675cef7a1a5c3df1d1667bf3987c5e1
-rw-r--r--cgit/css/cgit.css22
1 files changed, 21 insertions, 1 deletions
diff --git a/cgit/css/cgit.css b/cgit/css/cgit.css
index 2691870..529cd26 100644
--- a/cgit/css/cgit.css
+++ b/cgit/css/cgit.css
@@ -441,8 +441,28 @@ div#cgit a.secondary { font-size: 90%; }
div#cgit table.list td.sublevel-repo { padding-left: 1.5em; }
-div#cgit ul.pager a { border-radius: 2px; }
+div#cgit ul.pager a { border-radius: 4px; }
div#cgit ul.pager .current { font-weight: bold; }
+div#cgit ul.pager li:first-child a {
+ border-radius: 4px 0px 0px 4px;
+ margin-right: -1px;
+}
+div#cgit ul.pager li:last-child a { border-radius: 0px 4px 4px 0px; }
+div#cgit ul.pager li:only-child a { border-radius: 4px; }
+div#cgit ul.pager li a {
+ font-size: 0;
+}
+div#cgit ul.pager li:only-child a::after,
+div#cgit ul.pager li:first-child a::after {
+ content: 'Newer';
+ font-size: 14px;
+}
+div#cgit ul.pager li:only-child a::after,
+div#cgit ul.pager li:last-child a::after {
+ content: 'Older';
+ font-size: 14px;
+}
+div#cgit ul.pager li a:hover { text-decoration: none; }
div#cgit span.age-mins {
font-weight: bold;