changeset 6995:42932bee7a37

less: avoid gaps from rounded corners above the navbar and below the footer
author domruf <dominikruf@gmail.com>
date Sun, 29 Oct 2017 13:36:22 +0100
parents 6f0b598499d8
children 647e7e0ce812
files kallithea/public/css/style.css kallithea/public/less/style.less kallithea/templates/base/root.html
diffstat 3 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sun Oct 29 12:04:01 2017 +0100
+++ b/kallithea/public/css/style.css	Sun Oct 29 13:36:22 2017 +0100
@@ -1905,6 +1905,15 @@
   width: 14px;
   height: 14px;
 }
+/* avoid gaps between the navbar and browser */
+.navbar.mainmenu {
+  border-top-left-radius: 0;
+  border-top-right-radius: 0;
+}
+.navbar.footer {
+  border-bottom-left-radius: 0;
+  border-bottom-right-radius: 0;
+}
 /* bootstrap progress bar has margin-bottom we don't want that in files list */
 .cs_files .progress {
   margin-bottom: 0;
--- a/kallithea/public/less/style.less	Sun Oct 29 12:04:01 2017 +0100
+++ b/kallithea/public/less/style.less	Sun Oct 29 13:36:22 2017 +0100
@@ -1579,6 +1579,16 @@
   height: 14px;
 }
 
+/* avoid gaps between the navbar and browser */
+.navbar.mainmenu {
+  border-top-left-radius: 0;
+  border-top-right-radius: 0;
+}
+.navbar.footer {
+  border-bottom-left-radius: 0;
+  border-bottom-right-radius: 0;
+}
+
 @import "kallithea-diff.less";
 
 /* show some context of link targets - but only works when the link target
--- a/kallithea/templates/base/root.html	Sun Oct 29 12:04:01 2017 +0100
+++ b/kallithea/templates/base/root.html	Sun Oct 29 13:36:22 2017 +0100
@@ -113,7 +113,7 @@
         <%block name="head_extra"/>
     </head>
     <body>
-      <nav class="navbar navbar-inverse">
+      <nav class="navbar navbar-inverse mainmenu">
           <div class="navbar-header" id="logo">
             <a class="navbar-brand" href="${h.url('home')}">
                 <img class="pull-left" src="${h.url('/images/kallithea-logo.svg')}" alt="Kallithea"/>