changeset 1594:a1e8a1d104e8

Modernized theme current selected link styling
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 02 Aug 2012 23:22:47 +0530
parents 0f40eefb12ba
children c849f76c2ea7
files MoinMoin/templates/itemviews.html MoinMoin/templates/layout.html MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/color_palette.styl MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 5 files changed, 15 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/itemviews.html	Thu Aug 02 22:57:57 2012 +0530
+++ b/MoinMoin/templates/itemviews.html	Thu Aug 02 23:22:47 2012 +0530
@@ -1,5 +1,5 @@
 {% set exists = storage.has_item(item_name) %}
-<ul class="moin-itemviews">
+<ul class="moin-itemviews panel">
     {%- for endpoint, label, title, check_exists in cfg.item_views if not endpoint in cfg.endpoints_excluded %}
         {%- if not check_exists or check_exists and exists %}
             {%- if endpoint in [
--- a/MoinMoin/templates/layout.html	Thu Aug 02 22:57:57 2012 +0530
+++ b/MoinMoin/templates/layout.html	Thu Aug 02 23:22:47 2012 +0530
@@ -124,7 +124,7 @@
 
     {% set navibar_items = theme_supp.navibar(item_name) %}
     {% if navibar_items %}
-        <ul id="moin-navibar">
+        <ul id="moin-navibar" class="panel">
         {% for cls, url, text, title in navibar_items %}
             <li class="{{ cls }}">
                 <a href="{{ url }}" {% if title %}title="{{ title }}"{% endif %}>{{ text }}</a>
--- a/MoinMoin/themes/modernized/static/css/common.css	Thu Aug 02 22:57:57 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Thu Aug 02 23:22:47 2012 +0530
@@ -397,7 +397,7 @@
 .moin-index-separator{clear:both;border-top:1px solid #4e7da9;width:80%;display:none}
 #moin-upload-cont{min-height:10px}
 #file_upload{margin-top:2em}
-form.upload_file{background-color:#708090;border:1px solid boredr_color;color:#e6e6e6;cursor:pointer;direction:ltr;font-weight:bold;height:2.5em;line-height:2.5em;overflow:hidden;position:relative;text-align:center;width:15em;box-shadow:0 0 5px #708090}
+form.upload_file{background-color:#708090;border:1px solid boredr_color;color:#cfcfcf;cursor:pointer;direction:ltr;font-weight:bold;height:2.5em;line-height:2.5em;overflow:hidden;position:relative;text-align:center;width:15em;box-shadow:0 0 5px #708090}
 form.upload_file:hover{color:#fff}
 form.upload_file input{-moz-transform:translate(-800px,0) scale(10);border:300px solid transparent;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;right:0;top:0}
 form.upload_file input{height:auto}
@@ -411,7 +411,7 @@
 #popup{background:transparent url("../img/moin-transparent-bg.png") repeat;padding:5px;width:40%;position:absolute;top:10%;left:30%;display:none;z-index:10}
 .popup-header{background-color:#708090;color:#fff;font-size:1em;padding:10px;margin:0}
 .popup-closer{color:#fff;font-size:1em;padding:1px 4px;margin:0;float:right;cursor:pointer;border:1px solid #4e7da9}
-.popup-closer:hover{background-color:#1f9ae0;color:#e6e6e6}
+.popup-closer:hover{background-color:#1f9ae0;color:#cfcfcf}
 .popup-body{clear:both;background-color:#fff;color:#000;padding:10px;margin:0}
 .popup-body label{margin:5px;display:block;font-weight:bold}
 .popup-body input{margin:8px 5px;padding:3px;border:1px solid #4e7da9}
@@ -447,6 +447,7 @@
 a:hover,a:active{text-decoration:underline;color:#1f9ae0}
 a.moin-nonexistent:link{color:#939393}
 a.moin-nonexistent:hover{color:#1f9ae0;text-decoration:underline}
+.current-link{color:inherit !important}
 #moin-header{margin:0;padding:0 0 10px 0;background:#708090;color:#fff;line-height:1.12em;border-bottom-left-radius:9px;border-bottom-right-radius:9px}
 #moin-searchform{margin:8px .5em;padding:0;font-size:.82em;float:right;text-align:right}
 #moin-searchform input{font-size:100%;vertical-align:middle;background-color:#fff;border:1px solid #4e7da9}
@@ -467,16 +468,16 @@
 #moin-pagetrail{margin:0 .88em .25em 12px;padding:0;font-size:.88em;}
 #moin-pagetrail a{color:#fff}
 .moin-pagepath a{color:#fff !important}
-#moin-navibar{clear:both;display:block;margin:0;padding:0 10px;font-size:.82em}
+#moin-navibar{clear:both;display:block;margin:0;padding:0 10px;font-size:.82em;color:#008b8b}
 #moin-navibar li{float:left;display:inline;margin:0 2px;padding:2px 5px;border:1px solid #4e7da9;border-bottom:none;white-space:nowrap;font-size:.88em;border-top-left-radius:5px;border-top-right-radius:5px}
 #moin-navibar li.wikilink{background:#eef1f6}
 #moin-navibar li.userlink{background:#eef1f6}
 #moin-navibar a,#moin-navibar a:visited{color:#000;text-decoration:none}
 #moin-navibar li:hover{background:#d8dfe9}
 #moin-pageline{clear:both;margin:auto;padding:0;width:98%;height:1px;border-bottom:1px solid #fff;border-top:1px solid #fff;background:#fff}
-.moin-itemviews{clear:both;display:block;margin:0 0 -8px 0;padding:2px 8px;background:#708090;font-size:.8em;border-bottom:1px solid #4e7da9;border-top:1px solid #4e7da9;border-radius:9px}
+.moin-itemviews{clear:both;display:block;margin:0 0 -8px 0;padding:2px 8px;background:#708090;font-size:.8em;border-bottom:1px solid #4e7da9;border-top:1px solid #4e7da9;border-radius:9px;color:#fff}
 .moin-itemviews li{display:inline-block;padding:0;margin:4px 6px;line-height:1em}
-.moin-itemviews a,.moin-itemviews a:visited{color:#e6e6e6;}
+.moin-itemviews a,.moin-itemviews a:visited{color:#cfcfcf;}
 .moin-itemviews a:hover,.moin-itemviews a:visited:hover{color:#fff}
 .moin-itemviews a:hover{text-decoration:underline}
 .moin-itemviews form,.moin-itemviews form div{display:inline;margin:0}
--- a/MoinMoin/themes/modernized/static/css/stylus/color_palette.styl	Thu Aug 02 22:57:57 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/color_palette.styl	Thu Aug 02 23:22:47 2012 +0530
@@ -8,7 +8,7 @@
 footer_color = #737373
 heading_color = #ffffff
 panel_color = #708090
-panel_item_color = #e6e6e6
+panel_item_color = #cfcfcf
 border_color = #4e7da9
 shadow_color = #9d9d9b
 table_bg_color = #eef1f6
@@ -19,5 +19,5 @@
 visited_color = #008B8B
 nonexistent_link_color = #939393
 nonexistent_hover_color = #1f62ad
-selected_link_color = #F82A2A
+selected_link_color = #ffffff
 error_color = #ff2727
\ No newline at end of file
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Aug 02 22:57:57 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Aug 02 23:22:47 2012 +0530
@@ -1149,6 +1149,9 @@
     color hover_color 
     text-decoration underline
 
+.current-link
+    color inherit !important
+    
 #moin-header
     margin 0px
     padding 0px 0px 10px 0px
@@ -1255,6 +1258,7 @@
     margin 0
     padding 0 10px
     font-size 0.82em
+    color visited_color
 
 #moin-navibar li
     float left
@@ -1302,6 +1306,7 @@
     border-bottom border_style
     border-top border_style
     border-radius 9px
+    color selected_link_color
 
 .moin-itemviews li
     display inline-block