changeset 7018:e6c0425f5833

less: simplify .panel-heading - drop some gradients and shadows
author domruf <dominikruf@gmail.com>
date Sun, 29 Oct 2017 01:31:02 +0200
parents 7e149192a0e9
children 065690dba16b
files kallithea/public/css/style.css kallithea/public/less/style.less kallithea/templates/changeset/changeset.html
diffstat 3 files changed, 6 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sun Oct 29 01:31:02 2017 +0200
+++ b/kallithea/public/css/style.css	Sun Oct 29 01:31:02 2017 +0200
@@ -132,35 +132,18 @@
   margin: 0px 1px 0px 3px;
 }
 div.panel-primary {
-  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
   border: none;
 }
 div.panel div.panel-heading {
   background-color: #577632;
-  background-repeat: repeat-x;
-  background-image: linear-gradient(to bottom, #577632, #577632);
-  border-radius: 4px 4px 0 0;
-}
-#content div.panel div.panel-heading ul.links li {
-  list-style: none;
-  float: left;
-  margin: 0;
-  padding: 0;
-}
-div.panel.panel-default {
-  border: 1px solid #ccc;
-  box-shadow: none;
-  border-radius: 6px 6px 0px 0px;
-  margin-bottom: 15px;
+  font-size: 14px;
+  font-weight: 700;
 }
 div.panel.panel-default:last-child {
   margin-bottom: 0;
 }
 div.panel.panel-default > div.panel-heading {
   background: #eee;
-  border-bottom: 1px solid #ccc;
-  font-size: 14px;
-  font-weight: 700;
 }
 #content div.panel div.panel-heading .pull-left {
   margin-right: 10px;
--- a/kallithea/public/less/style.less	Sun Oct 29 01:31:02 2017 +0200
+++ b/kallithea/public/less/style.less	Sun Oct 29 01:31:02 2017 +0200
@@ -147,36 +147,20 @@
   vertical-align: -2px;
   margin: 0px 1px 0px 3px;
 }
+
 div.panel-primary {
-  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
   border: none;
 }
 div.panel div.panel-heading {
   background-color: #577632;
-  background-repeat: repeat-x;
-  background-image: linear-gradient(to bottom, #577632, #577632);
-  border-radius: 4px 4px 0 0;
-}
-#content div.panel div.panel-heading ul.links li {
-  list-style: none;
-  float: left;
-  margin: 0;
-  padding: 0;
-}
-div.panel.panel-default {
-  border: 1px solid #ccc;
-  box-shadow: none;
-  border-radius: 6px 6px 0px 0px;
-  margin-bottom: 15px;
+  font-size: 14px;
+  font-weight: 700;
 }
 div.panel.panel-default:last-child {
   margin-bottom: 0;
 }
 div.panel.panel-default > div.panel-heading {
   background: #eee;
-  border-bottom: 1px solid #ccc;
-  font-size: 14px;
-  font-weight: 700;
 }
 #content div.panel div.panel-heading .pull-left {
   margin-right: 10px;
@@ -184,6 +168,7 @@
 #content div.panel div.panel-heading .pull-right {
   margin-left: 10px;
 }
+
 #content div.panel div.form div.form-group {
   border-bottom: 1px solid #DDD;
   clear: both;
--- a/kallithea/templates/changeset/changeset.html	Sun Oct 29 01:31:02 2017 +0200
+++ b/kallithea/templates/changeset/changeset.html	Sun Oct 29 01:31:02 2017 +0200
@@ -32,7 +32,6 @@
         <div class="panel-heading clearfix">
             ${self.parent_child_navigation()}
 
-            <div class="pull-left">
                 <div class="pull-left" title="${_('Changeset status')}">
                     %if c.statuses:
                         <i class="icon-circle changeset-status-${c.statuses[0]}"></i>
@@ -52,7 +51,6 @@
                   ${c.ignorews_url(request.GET)}
                   ${c.context_url(request.GET)}
                 </div>
-            </div>
         </div>
         <div class="panel-body">
             <div class="form-group changeset_content_header clearfix">