changeset 7074:82e6b481e212

less: move the remaining parts of contextbar.css to style.css
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 17 Dec 2017 02:15:17 +0100
parents 25e079891ff5
children e53c2f16a289
files kallithea/public/css/contextbar.css kallithea/public/less/style.less kallithea/templates/base/root.html kallithea/templates/errors/error_document.html
diffstat 4 files changed, 28 insertions(+), 31 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/contextbar.css	Tue Oct 24 22:01:55 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-/**
- * Stylesheets for the context bar
- */
-.repo-switcher-dropdown.select2-drop.select2-drop-active .select2-results .select2-highlighted,
-ul.dropdown-menu li a:focus,
-nav.navbar #quick li:hover,
-#quick_login > .pull-right .list-group-item:hover,
-#context-pages li:hover,
-nav.navbar #quick li.active,
-nav.navbar #quick li a.menu_link:focus,
-#context-pages li.active {
-  background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
-}
-#quick_login > .pull-right .list-group-item {
-  background-color: #577632;
-  border: 0;
-}
-#content #context-pages .follow .show-following,
-#content #context-pages .following .show-follow {
-  display: none;
-}
-
-nav.navbar #quick > li > a,
-nav.navbar #quick .select2-container .select2-choice .select2-chosen,
-#context-pages > ul > li > a,
-#context-pages .select2-container .select2-choice .select2-chosen {
-  padding: 0px 15px 1px 15px;
-  line-height: 43px;
-}
--- a/kallithea/public/less/style.less	Tue Oct 24 22:01:55 2017 +0200
+++ b/kallithea/public/less/style.less	Sun Dec 17 02:15:17 2017 +0100
@@ -1035,3 +1035,31 @@
   background-color: #FFFFBE !important;
 }
 .linenos a { text-decoration: none; }
+
+/* Stylesheets for the context bar */
+.repo-switcher-dropdown.select2-drop.select2-drop-active .select2-results .select2-highlighted,
+ul.dropdown-menu li a:focus,
+nav.navbar #quick li:hover,
+#quick_login > .pull-right .list-group-item:hover,
+#context-pages li:hover,
+nav.navbar #quick li.active,
+nav.navbar #quick li a.menu_link:focus,
+#context-pages li.active {
+  background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
+}
+#quick_login > .pull-right .list-group-item {
+  background-color: #577632;
+  border: 0;
+}
+#content #context-pages .follow .show-following,
+#content #context-pages .following .show-follow {
+  display: none;
+}
+
+nav.navbar #quick > li > a,
+nav.navbar #quick .select2-container .select2-choice .select2-chosen,
+#context-pages > ul > li > a,
+#context-pages .select2-container .select2-choice .select2-chosen {
+  padding: 0px 15px 1px 15px;
+  line-height: 43px;
+}
--- a/kallithea/templates/base/root.html	Tue Oct 24 22:01:55 2017 +0200
+++ b/kallithea/templates/base/root.html	Sun Dec 17 02:15:17 2017 +0100
@@ -11,7 +11,6 @@
         ## CSS ###
         <link rel="stylesheet" type="text/css" href="${h.url('/css/pygments.css', ver=c.kallithea_version)}"/>
         <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css', ver=c.kallithea_version)}" media="screen"/>
-        <link rel="stylesheet" type="text/css" href="${h.url('/css/contextbar.css', ver=c.kallithea_version)}" media="screen"/>
         <link rel="stylesheet" type="text/css" href="${h.url('/fontello/css/kallithea.css', ver=c.kallithea_version)}">
         <%block name="css_extra"/>
 
--- a/kallithea/templates/errors/error_document.html	Tue Oct 24 22:01:55 2017 +0200
+++ b/kallithea/templates/errors/error_document.html	Sun Dec 17 02:15:17 2017 +0100
@@ -11,7 +11,6 @@
 
         <!-- stylesheets -->
         <link rel="stylesheet" type="text/css" href="${h.url('/css/style.css')}" media="screen"/>
-        <link rel="stylesheet" type="text/css" href="${h.url('/css/contextbar.css')}" media="screen"/>
         <style type="text/css">
          #main_div{
            border: 0px solid #000;