Commit 6c2e09e1fcfaaeb625e3b0943edfee2c48a2f519
1 parent
5220cddb
Exists in
master
and in
2 other branches
trying to avoid the blink effect where restoring high contrast after navigation
Showing
2 changed files
with
7 additions
and
4 deletions
Show diff stats
header.rhtml
1 | +<script type='text/javascript'> | |
2 | +(function($) { | |
3 | + if($.cookie("high_contrast") === 'true'){ | |
4 | + $( "body" ).toggleClass( "contraste" ); | |
5 | + } | |
6 | +})(jQuery); | |
7 | +</script> | |
1 | 8 | <div id="barra-brasil"> |
2 | 9 | <a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Portal do Governo Brasileiro</a> |
3 | 10 | </div> | ... | ... |
theme.js