diff MoinMoin/themes/basic/static/custom-less/theme.less @ 2727:32ab08637a4e

Replaced important hex color values with variables in basic theme's theme.less
author Ajitesh Gupta <ajgupta93@gmail.com>
date Fri, 15 Aug 2014 21:53:42 +0530
parents 48df5adceec7
children 3cf58438633e
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Fri Aug 15 18:58:14 2014 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Fri Aug 15 21:53:42 2014 +0530
@@ -87,10 +87,10 @@
 
 .list-group-item {
   padding: 5px 15px;
-  background-color: #c8ddf1;
-  border: 1px solid #c8ddf1;
+  background-color: @search_option_bar_text_color;
+  border: 1px solid @search_option_bar_text_color;
   > a {
-    color: #c8ddf1;
+    color: @search_option_bar_text_color;
   }
 }
 
@@ -98,7 +98,7 @@
   background-color: @navbar-bg;
   border: 1px solid @navbar-bg;
   font-variant: small-caps;
-  color: #c8ddf1;
+  color: @search_option_bar_text_color;
 }
 
 .moin-diff-added {
@@ -175,12 +175,12 @@
 .moin-quicklink {
   position: relative;
   padding: 5px 15px 5px 15px;
-  background-color: #c8ddf1;
-  border: 1px solid #c8ddf1;
+  background-color: @search_option_bar_text_color;
+  border: 1px solid @search_option_bar_text_color;
   margin-bottom: -1px;
 
   > a {
-    color: #1b436d;
+    color: @search_option_bar_color;
   }
 
   &:last-child {
@@ -283,13 +283,13 @@
 }
 
 a.wikilink{
-  color: #1b436d;
+  color: @search_option_bar_color;
 }
 .moin-bcs-subitems{
   z-index: 500;
 }
 ul.moin-breadcrumb ul.moin-bcs-subitems{
-  background-color: #1b436d;
+  background-color: @search_option_bar_color;
 }
 ul.moin-breadcrumb,ul.moin-breadcrumb ul.moin-bcs-subitems{
   padding: 0;
@@ -303,7 +303,7 @@
 ul.moin-breadcrumb li ul.moin-bcs-subitems li a{
   padding: 10px;
   display: inline-block;
-  color: #ffffff;
+  color: @white;
 }
 ul.moin-breadcrumb li {
   position: relative;
@@ -323,11 +323,11 @@
 }
 // CSS definitions for Index UI borrowed from foobar and modernized theme
 #filter-btn { 
-  background-color: #428bca;
+  background-color: @bootstrap_default_blue;
   border-radius: 3px;
   display: inline;
   padding: 10px;
-  color: #ffffff;
+  color: @white;
   margin-bottom: 10px;
 }
 .moin-contenttypes-wrapper { 
@@ -411,7 +411,7 @@
   span {
     padding: 4px;
     background-color: #007cef;
-    color: #ffffff;
+    color: @white;
     border: 1px solid #ccc;
     border-radius: 5px;
   }
@@ -450,12 +450,12 @@
 }
 .popup-container {
   margin: 0;
-  border: 5px solid #428bca;
+  border: 5px solid @bootstrap_default_blue;
   border-radius: 6px 6px 0 0;
 }
 .popup-header {
-  background-color: #428bca;
-  color: #ffffff;
+  background-color: @bootstrap_default_blue;
+  color: @white;
   padding: 10px;
   margin: 0;
 }
@@ -529,9 +529,9 @@
     padding: 4px 5px;
 
     &:hover,&.selected {
-      background: #428bca;
+      background: @bootstrap_default_blue;
       border-radius: 5px;
-      color: #ffffff;
+      color: @white;
       text-decoration: none
     }
   }
@@ -689,7 +689,7 @@
   font-family: monospace;
 }
 .ticket-query-button {
-  background: #ffffff;
+  background: @white;
   padding: 1px 7px;
   text-shadow: 0 1px 0 #fff;
   border: 1px solid transparent;
@@ -805,7 +805,7 @@
 .tickets-sort-button .dropdown-menu li form button {
   display: block;
   border: none;
-  background-color: #ffffff;
+  background-color: @white;
   padding: 3px 20px;
   clear: both;
   font-weight: normal;