Skip to content

Node.js based forum software built for the modern web

modules/taskbar.less, more cleanup of style

psychobunny9e42cee87c32
diff --git a/public/themes/cerulean/style.less b/public/themes/cerulean/style.less
index 8f256782f6..c32476509f 100644
--- a/public/themes/cerulean/style.less
+++ b/public/themes/cerulean/style.less
@@ -32,4 +32,8 @@ body {
}
}
}
+}
+
+#search-form .btn-link {
+ color: white;
}
\ No newline at end of file
diff --git a/public/themes/vanilla/header.less b/public/themes/vanilla/header.less
index 6a28524870..62d5f53c0a 100644
--- a/public/themes/vanilla/header.less
+++ b/public/themes/vanilla/header.less
@@ -49,58 +49,11 @@
}
-
-
-
-
-
-//needs to go in modules/taskbar.less
-.taskbar {
- display: none;
- -moz-opacity: 0.5;
- opacity: 0.5;
- margin-top: 0;
- -webkit-transition: opacity 250ms ease-in;
- -moz-transition: opacity 250ms ease-in;
- -ms-transition: opacity 250ms ease-in;
- -o-transition: opacity 250ms ease-in;
- transition: opacity 250ms ease-in;
-
- &[data-active="1"] {
- display: block;
- }
-
- &:hover {
- -moz-opacity: 1;
- opacity: 1;
- }
-
+.breadcrumb {
li {
- float: left;
-
- a > span {
- .inline-block;
- max-width: 200px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
-
- img {
- max-width: 24px;
- max-height: 24px;
- margin-right: 1em;
- }
-
- &.pulse {
- -webkit-animation: pulsate 2500ms linear;
- -webkit-animation-iteration-count: infinite;
- }
-
- @-webkit-keyframes pulsate {
- 0% { background: none; }
- 50% { background: #e5e5e5; }
- 100% { background: none; }
- }
+ max-width: 35%;
+ white-space: nowrap;
+ text-overflow:ellipsis;
+ overflow: hidden;
}
-}
\ No newline at end of file
+}
diff --git a/public/themes/vanilla/modules.less b/public/themes/vanilla/modules.less
index be38de91f0..845cf51775 100644
--- a/public/themes/vanilla/modules.less
+++ b/public/themes/vanilla/modules.less
@@ -1 +1,2 @@
-@import "modules/postWindow";
\ No newline at end of file
+@import "modules/postWindow";
+@import "modules/taskbar";
\ No newline at end of file
diff --git a/public/themes/vanilla/modules/taskbar.less b/public/themes/vanilla/modules/taskbar.less
new file mode 100644
index 0000000000..e0cce17d52
--- /dev/null
+++ b/public/themes/vanilla/modules/taskbar.less
@@ -0,0 +1,49 @@
+.taskbar {
+ display: none;
+ -moz-opacity: 0.5;
+ opacity: 0.5;
+ margin-top: 0;
+ -webkit-transition: opacity 250ms ease-in;
+ -moz-transition: opacity 250ms ease-in;
+ -ms-transition: opacity 250ms ease-in;
+ -o-transition: opacity 250ms ease-in;
+ transition: opacity 250ms ease-in;
+
+ &[data-active="1"] {
+ display: block;
+ }
+
+ &:hover {
+ -moz-opacity: 1;
+ opacity: 1;
+ }
+
+ li {
+ float: left;
+
+ a > span {
+ .inline-block;
+ max-width: 200px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ img {
+ max-width: 24px;
+ max-height: 24px;
+ margin-right: 1em;
+ }
+
+ &.pulse {
+ -webkit-animation: pulsate 2500ms linear;
+ -webkit-animation-iteration-count: infinite;
+ }
+
+ @-webkit-keyframes pulsate {
+ 0% { background: none; }
+ 50% { background: #e5e5e5; }
+ 100% { background: none; }
+ }
+ }
+}
\ No newline at end of file
diff --git a/public/themes/vanilla/style.less b/public/themes/vanilla/style.less
index 4116c285f8..e09429996b 100644
--- a/public/themes/vanilla/style.less
+++ b/public/themes/vanilla/style.less
@@ -83,16 +83,6 @@ footer.footer {
word-wrap: break-word;
}
-
-.breadcrumb {
- li {
- max-width: 35%;
- white-space: nowrap;
- text-overflow:ellipsis;
- overflow: hidden;
- }
-}
-
#chat-content {
height:200px;
resize:none;
@@ -103,12 +93,6 @@ footer.footer {
}
-//theme
-#search-form .btn-link {
- color: white;
-}
-
-
//START: FIXES FOR BS3, may need to remove these when we get out of the RC releases
@media (max-width: 979px) {
.hidden-mobile {