Skip to content

Node.js based forum software built for the modern web

header, footer,.. started cleaning up style (the big 'un)

psychobunny732c8b1f7faf
diff --git a/public/themes/cerulean/header.less b/public/themes/cerulean/header.less
index 8dcb99ce42..6fa8b99557 100644
--- a/public/themes/cerulean/header.less
+++ b/public/themes/cerulean/header.less
@@ -1 +1,27 @@
-@import "../vanilla/header";
\ No newline at end of file
+@import "../vanilla/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;}
+ }
+
+ &.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/cerulean/style.less b/public/themes/cerulean/style.less
index f50e77d92d..b93b0ebd5e 100644
--- a/public/themes/cerulean/style.less
+++ b/public/themes/cerulean/style.less
@@ -1 +1,11 @@
-@import "../vanilla/style";
\ No newline at end of file
+@import "../vanilla/style";
+
+body {
+ background: #fdfdfd;
+}
+
+.jumbotron {
+ background: #56BCDA;
+ color: white;
+ padding: 30px;
+}
\ No newline at end of file
diff --git a/public/themes/vanilla/footer.less b/public/themes/vanilla/footer.less
index 45a00b728a..faabd4122a 100644
--- a/public/themes/vanilla/footer.less
+++ b/public/themes/vanilla/footer.less
@@ -9,7 +9,6 @@
line-height: 25px;
}
-
.pointer;
}
padding-top: 15px;
diff --git a/public/themes/vanilla/header.less b/public/themes/vanilla/header.less
index 36ca50ca74..6a28524870 100644
--- a/public/themes/vanilla/header.less
+++ b/public/themes/vanilla/header.less
@@ -1,12 +1,9 @@
-
-#user_label { //belongs in header.less
+#user_label {
img {
border: 1px solid #454;
- margin-right: 8px;
- margin-top: -2px;
- float: left;
- width:24px;
- height:24px;
+ margin: -2px 8px 0 0;
+ width: 24px;
+ height: 24px;
}
span {
@@ -16,22 +13,48 @@
}
}
-
-
.pagination-block {
position: absolute;
background: rgb(34, 34, 34);
right: 0px;
top: 50px;
color: white;
- padding: 10px;
- padding-bottom: 5px;
- padding-top: 5px;
+ padding: 5px 10px 5px 10px;
font-size: 15px;
display: none;
}
+#notif-list {
+ li {
+ font-size: 12px;
+ width: 300px;
+ text-align: left;
+
+ a {
+ white-space: normal;
+ }
+
+ &.unread {
+ background: #eceff5;
+ }
+ }
+}
+
+.dropdown-toggle {
+ i {
+ &.active {
+ color: #558;
+ }
+ }
+}
+
+
+
+
+
+
+//needs to go in modules/taskbar.less
.taskbar {
display: none;
-moz-opacity: 0.5;
@@ -80,51 +103,4 @@
100% { background: none; }
}
}
-}
-
-#notif-list {
- li {
- font-size: 12px;
- width: 300px;
- text-align: left;
-
- a {
- white-space: normal;
- }
-
- &.unread {
- background: #eceff5;
- }
- }
-}
-
-
-
-.dropdown-toggle {
- i {
- font-size: 12px;
-
- @-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;
- }
-
- }
-}
+}
\ No newline at end of file
diff --git a/public/themes/vanilla/style.less b/public/themes/vanilla/style.less
index ba2adbcaaa..c66ef788b2 100644
--- a/public/themes/vanilla/style.less
+++ b/public/themes/vanilla/style.less
@@ -5,7 +5,6 @@ html {
}
body {
- /*background: #fdfdfd;*/ // port to default theme when it is implemented.
-webkit-transition: margin-bottom 250ms ease;
-moz-transition: margin-bottom 250ms ease;
-ms-transition: margin-bottom 250ms ease;
@@ -111,10 +110,6 @@ footer.footer {
}
.jumbotron {
- // goes into theme
- background: #56BCDA;
- color: white;
- padding: 30px;
word-wrap: break-word;
}