changeset 7083:61c99cdbbfff

less: cleanup footer navbar style - use default font weight for footer - it doesn't need special attention and doesn't have to be bold - use class selector for the footer instead of ID selector - add comment for the styling that is removing margin below footer
author domruf <dominikruf@gmail.com>
date Fri, 27 Oct 2017 20:13:39 +0200
parents a385bbbae672
children 8ba69bf9236e
files kallithea/public/less/style.less kallithea/templates/base/base.html
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/less/style.less	Wed Jan 03 03:41:21 2018 +0100
+++ b/kallithea/public/less/style.less	Fri Oct 27 20:13:39 2017 +0200
@@ -190,12 +190,10 @@
   color: #515151;
 }
 
-#footer {
+/* remove margin below footer */
+.navbar.footer {
   margin-bottom: 0;
 }
-#footer > span {
-  font-weight: 700;
-}
 
 .user-menu {
   padding: 0 !important;
--- a/kallithea/templates/base/base.html	Wed Jan 03 03:41:21 2018 +0100
+++ b/kallithea/templates/base/base.html	Fri Oct 27 20:13:39 2017 +0200
@@ -11,7 +11,7 @@
 <!-- END CONTENT -->
 
 <!-- FOOTER -->
-<div id="footer" class="footer navbar navbar-inverse">
+<div class="footer navbar navbar-inverse">
     <span class="navbar-text pull-left">
         ${_('Server instance: %s') % c.instance_id if c.instance_id else ''}
     </span>