Commit 5a985ff3 authored by fred's avatar fred
Browse files

style: remove style switcher

parent 2a780882
......@@ -1210,59 +1210,3 @@ nav#program li {
transform-origin: bottom right;
transform: rotate(270deg);
}
/*******************************/
/**** VARIANTES ****************/
/*******************************/
.style-000000 #Nav
{background:#000000 !important;color:#ffffff !important;}
.style-000000 #Nav .active,
.style-000000 #Nav .active *,
.style-000000 .sectionLabel a,
.style-000000 #metaNav ul li.active,
.style-000000 #metaNav ul li.active a
{background: white !important;color:#000000 !important;}
.style-333333 #Nav,
.style-333333 #metaNav ul li.active,
.style-333333 #metaNav ul li.active a
{background:#333333 !important;color:#ffffff;}
.style-333333 #Nav .active,
.style-333333 #Nav .active *,
.style-333333 .sectionLabel a
{background: white;color:#333333 !important;}
.style-0000ff #Nav,
.style-0000ff #metaNav ul li.active,
.style-0000ff #metaNav ul li.active a
{background:#0000ff !important;color:#ffffff;}
.style-0000ff #Nav .active,
.style-0000ff #Nav .active *,
.style-0000ff .sectionLabel a
{background: white;color:#0000ff !important;}
.style-ff6633 #Nav,
.style-ff6633 #metaNav ul li.active,
.style-ff6633 #metaNav ul li.active a
{background:#ff6633 !important;color:#ffffff;}
.style-ff6633 #Nav .active,
.style-ff6633 #Nav .active *,
.style-ff6633 .sectionLabel a
{background: white;color:#ff6633 !important;}
/*
.style-ffffff #player-container,
.style-ffffff #player-container *{background-color:#ff6633 !important; border-color:#ffffff !important;color:#ffffff !important;}
*/
/*
#Commons,
#Commons *,
#player-container,
#player-container *{background-color:#3333ff !important; border-color:#fff !important;color:#fff !important;}
*/
......@@ -29,23 +29,6 @@
</head>
<body id="{{sectionName}}" class="section-{{sectionName}}">
<div id="StyleSwitcher" class="small" style="display: none; position:fixed;right:2px; top:2em;z-index:3000;text-align:right;">
<button class="small icon-sign-blank" data-class="style-0000ff" style="color:#0000ff;padding:0;margin:0;"></button>
<button class="small icon-sign-blank" data-class="style-000000" style="color:#111111;padding:0;margin:0;"></button>
<button class="small icon-sign-blank" data-class="style-333333" style="color:#333333;padding:0;margin:0;"></button>
<button class="small icon-sign-blank" data-class="style-ff6633" style="color:#ff6633;padding:0;margin:0;"></button>
</div>
<script type="text/javascript">
$(function() {
$('#StyleSwitcher button').on('click',function(e){
e.preventDefault();
$('body').attr('class','').addClass($(this).attr('data-class'));
localStorage['class'] = $(this).attr('data-class');
});
$('#StyleSwitcher button[data-class="'+localStorage['class']+'"]').trigger('click');
});
</script>
<div id="All">
{% block meta %}<div id="metaNav">{% metanav active=sectionName %}</div>{% endblock %}
<div id="Commons" class="cf" >
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment