changeset 7008:a654ce23d552

less: simplify .expand_commit selector also - remove unnecessary width style - move to separate block and add comment
author domruf <dominikruf@gmail.com>
date Sat, 28 Oct 2017 19:05:14 +0200
parents ddba357cb1e3
children 80fffda17c55
files kallithea/public/css/style.css kallithea/public/less/style.less
diffstat 2 files changed, 11 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sat Oct 28 18:39:04 2017 +0200
+++ b/kallithea/public/css/style.css	Sat Oct 28 19:05:14 2017 +0200
@@ -108,6 +108,11 @@
   overflow-x: auto;
   min-height: 0.01%;
 }
+/* use pointer cursor for expand_commit */
+.expand_commit .icon-align-left {
+  cursor: pointer;
+  color: #999;
+}
 .form-group > label {
   float: left;
 }
@@ -855,12 +860,6 @@
   font-size: 10px;
   white-space: nowrap;
 }
-#graph_content_pr .compare_view_commits .expand_commit,
-table#changesets tr > td.expand_commit {
-  width: 24px;
-  cursor: pointer;
-  color: #999;
-}
 table#changesets tr > td.mid {
   width: 100%;
   padding: 0;
--- a/kallithea/public/less/style.less	Sat Oct 28 18:39:04 2017 +0200
+++ b/kallithea/public/less/style.less	Sat Oct 28 19:05:14 2017 +0200
@@ -120,6 +120,12 @@
   min-height: 0.01%;
 }
 
+/* use pointer cursor for expand_commit */
+.expand_commit .icon-align-left {
+  cursor: pointer;
+  color: #999;
+}
+
 .form-group > label {
   float: left;
 }
@@ -637,12 +643,6 @@
   font-size: 10px;
   white-space: nowrap;
 }
-#graph_content_pr .compare_view_commits .expand_commit,
-table#changesets tr > td.expand_commit {
-  width: 24px;
-  cursor: pointer;
-  color: #999;
-}
 table#changesets tr > td.mid {
   width: 100%;
   padding: 0;