Skip to content

Node.js based forum software built for the modern web

header updates

psychobunny6fe5a93a73b7
diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index 4f979af747..13db3b7e57 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -31,7 +31,7 @@
</head>
<body>
- <div class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="header-menu">
+ <div class="navbar navbar-inverse navbar-fixed-top header" role="navigation" id="header-menu">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@@ -93,6 +93,4 @@
<input id="csrf_token" type="hidden" template-variable="csrf" value="{csrf}" />
-
- <div class="container" id="content">
-
+ <div class="container" id="content">
\ No newline at end of file
diff --git a/public/themes/cerulean/header.less b/public/themes/cerulean/header.less
index 6fa8b99557..a218b09e46 100644
--- a/public/themes/cerulean/header.less
+++ b/public/themes/cerulean/header.less
@@ -1,27 +1,28 @@
@import "../vanilla/header";
+.header {
+ //glowing animation for active state
+ .dropdown-toggle {
+ i {
+ @-webkit-keyframes glow
+ {
+ from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
+ 50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
+ to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
+ }
+ @keyframes glow
+ {
+ from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
+ 50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
+ to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
+ }
-//glowing animation for active state
-.dropdown-toggle {
- i {
- @-webkit-keyframes glow
- {
- from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
- 50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
- to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
- }
- @keyframes glow
- {
- from {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
- 50% {text-shadow: 0 0 10px #aaf, 0 0 10px #aaf, 0 0 10px #aaf;}
- to {text-shadow: 0 0 5px #aaf, 0 0 5px #aaf, 0 0 5px #aaf;}
- }
-
- &.active {
- color: #558;
- text-shadow: 0 0 1em #aaf, 0 0 1em #aaf, 0 0 1em #aaf;
- -webkit-animation:glow 1.5s infinite linear;
- animation:glow 1.5s infinite linear;
+ &.active {
+ color: #558;
+ text-shadow: 0 0 1em #aaf, 0 0 1em #aaf, 0 0 1em #aaf;
+ -webkit-animation:glow 1.5s infinite linear;
+ animation:glow 1.5s infinite linear;
+ }
}
}
}
diff --git a/public/themes/vanilla/header.less b/public/themes/vanilla/header.less
index 62d5f53c0a..cb34b286ff 100644
--- a/public/themes/vanilla/header.less
+++ b/public/themes/vanilla/header.less
@@ -40,15 +40,18 @@
}
}
-.dropdown-toggle {
- i {
- &.active {
- color: #558;
+.header {
+ .dropdown-toggle {
+ i {
+ &.active {
+ color: #558;
+ }
}
}
}
+
.breadcrumb {
li {
max-width: 35%;