Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Daron
panikweb
Commits
5a985ff3
Commit
5a985ff3
authored
Oct 16, 2013
by
fred
Browse files
style: remove style switcher
parent
2a780882
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/static/css/specifics.css
View file @
5a985ff3
...
@@ -1210,59 +1210,3 @@ nav#program li {
...
@@ -1210,59 +1210,3 @@ nav#program li {
transform-origin
:
bottom
right
;
transform-origin
:
bottom
right
;
transform
:
rotate
(
270deg
);
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;}
*/
panikweb_templates/templates/base.html
View file @
5a985ff3
...
@@ -29,23 +29,6 @@
...
@@ -29,23 +29,6 @@
</head>
</head>
<body
id=
"{{sectionName}}"
class=
"section-{{sectionName}}"
>
<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"
>
<div
id=
"All"
>
{% block meta %}
<div
id=
"metaNav"
>
{% metanav active=sectionName %}
</div>
{% endblock %}
{% block meta %}
<div
id=
"metaNav"
>
{% metanav active=sectionName %}
</div>
{% endblock %}
<div
id=
"Commons"
class=
"cf"
>
<div
id=
"Commons"
class=
"cf"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment