changeset 6976:ed5f5dd98823

less: clean up unnecessary diff line-no styling - less spacing still leave room to show the comment bubble with hiding the line number - looks good w/o letter-spacing - bootstrap already sets box-sizing: border-box; - it is a <a> no need for cursor: pointer - width: 100% makes no difference
author domruf <dominikruf@gmail.com>
date Thu, 26 Oct 2017 00:36:34 +0200
parents b297ba29d93e
children 6db2e693ee1e
files kallithea/public/css/style.css kallithea/public/less/kallithea-diff.less
diffstat 2 files changed, 4 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Wed Oct 25 22:47:16 2017 +0200
+++ b/kallithea/public/css/style.css	Thu Oct 26 00:36:34 2017 +0200
@@ -2090,13 +2090,9 @@
 table.code-difftable .lineno a {
   color: #aaa !important;
   font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important;
-  letter-spacing: -1px;
-  padding-left: 10px;
-  padding-right: 8px;
-  box-sizing: border-box;
-  cursor: pointer;
+  padding-left: 6px;
+  padding-right: 6px;
   display: block;
-  width: 100%;
 }
 table.code-difftable .line:hover .lineno a {
   color: #333 !important;
--- a/kallithea/public/less/kallithea-diff.less	Wed Oct 25 22:47:16 2017 +0200
+++ b/kallithea/public/less/kallithea-diff.less	Thu Oct 26 00:36:34 2017 +0200
@@ -155,13 +155,9 @@
 table.code-difftable .lineno a {
   color: #aaa !important;
   font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important;
-  letter-spacing: -1px;
-  padding-left: 10px;
-  padding-right: 8px;
-  box-sizing: border-box;
-  cursor: pointer;
+  padding-left: 6px;
+  padding-right: 6px;
   display: block;
-  width: 100%;
 }
 table.code-difftable .line:hover .lineno a {
   color: #333 !important;