|
@@ -1,3 +1,69 @@
|
|
|
|
+// bootstrap colros
|
|
|
|
+$blue: #337ab7;
|
|
|
|
+$light-blue: #5bc0de;
|
|
|
|
+$green: #5cb85c;
|
|
|
|
+$orange: #f0ad4e;
|
|
|
|
+$red: #d9534f;
|
|
|
|
+$gray: #555;
|
|
|
|
+
|
|
|
|
+// main background and font colors
|
|
|
|
+$background-color: #e8f1f2;
|
|
|
|
+$font-color: #5a5a5a;
|
|
|
|
+$border-color: #cad7e1;
|
|
|
|
+
|
|
|
|
+// header colors
|
|
|
|
+$header-title-font-color: #fff;
|
|
|
|
+$header-subtitle-font-color: #E8F1F2;
|
|
|
|
+$header-background-primary: #3276b1;
|
|
|
|
+$header-background-secondary: #285e8e;
|
|
|
|
+
|
|
|
|
+// navigation
|
|
|
|
+$navigation-font-color: #555;
|
|
|
|
+$navigation-hover-color: #e7e7e7;
|
|
|
|
+$navigation-background-color: #f8f8f8;
|
|
|
|
+
|
|
|
|
+// panel colors
|
|
|
|
+$panel-background: #fff; // panel body background
|
|
|
|
+$panel-head-background: #f5f5f5; // panel head background
|
|
|
|
+$panel-meta-background: #e8f1f2; // panel meta background
|
|
|
|
+$panel-meta-border: $border-color; // panel meta (bottom) border
|
|
|
|
+$panel-border: $border-color; // panel border (all over)
|
|
|
|
+
|
|
|
|
+$widget-panel: $panel-background;
|
|
|
|
+$widget-head-background: $panel-head-background;
|
|
|
|
+$widget-meta-background: $panel-meta-background;
|
|
|
|
+$widget-meta-border: $panel-border;
|
|
|
|
+$widget-border: $panel-border;
|
|
|
|
+
|
|
|
|
+$category-panel: $panel-background;
|
|
|
|
+$category-head-background: $panel-head-background;
|
|
|
|
+$category-meta-background: $panel-meta-background;
|
|
|
|
+$category-meta-border: $panel-border;
|
|
|
|
+$category-border: $panel-border;
|
|
|
|
+
|
|
|
|
+$forum-panel: $panel-background;
|
|
|
|
+$forum-head-background: $panel-head-background;
|
|
|
|
+$forum-meta-background: $panel-meta-background;
|
|
|
|
+$forum-meta-border: $panel-border;
|
|
|
|
+$forum-border: $panel-border;
|
|
|
|
+
|
|
|
|
+$topic-head-background: $panel-head-background;
|
|
|
|
+$topic-border: $panel-border;
|
|
|
|
+
|
|
|
|
+// post colors
|
|
|
|
+$post-box-background: $panel-background;
|
|
|
|
+$post-box-border: $border-color;
|
|
|
|
+$post-meta-border: $panel-meta-background;
|
|
|
|
+$post-meta-background: $panel-background;
|
|
|
|
+$post-signature-border: $panel-meta-background;
|
|
|
|
+$post-footer-border: $border-color;
|
|
|
|
+$post-footer-background: $panel-background;
|
|
|
|
+
|
|
|
|
+$author-box-background: #e8ecf1;
|
|
|
|
+$author-online: $green;
|
|
|
|
+$author-offline: $gray;
|
|
|
|
+
|
|
|
|
+
|
|
html {
|
|
html {
|
|
// push footer to bottom
|
|
// push footer to bottom
|
|
position: relative;
|
|
position: relative;
|
|
@@ -5,7 +71,7 @@ html {
|
|
}
|
|
}
|
|
|
|
|
|
body {
|
|
body {
|
|
- background-color: #E8F1F2;
|
|
|
|
|
|
+ background-color: $background-color;
|
|
// Margin bottom by footer height
|
|
// Margin bottom by footer height
|
|
margin-bottom: 60px;
|
|
margin-bottom: 60px;
|
|
}
|
|
}
|
|
@@ -22,19 +88,19 @@ body {
|
|
|
|
|
|
.flaskbb-layout {
|
|
.flaskbb-layout {
|
|
padding-top: 20px;
|
|
padding-top: 20px;
|
|
- color: #5a5a5a;
|
|
|
|
|
|
+ color: $font-color;
|
|
}
|
|
}
|
|
|
|
|
|
.flaskbb-header {
|
|
.flaskbb-header {
|
|
color: #fff;
|
|
color: #fff;
|
|
text-align: left;
|
|
text-align: left;
|
|
text-shadow: 0 1px 0 rgba(0,0,0,.1);
|
|
text-shadow: 0 1px 0 rgba(0,0,0,.1);
|
|
- background-color: #3276b1;
|
|
|
|
- background-image: -webkit-linear-gradient(top, #285e8e 0%, #3276b1 100%);
|
|
|
|
- background-image: linear-gradient(to bottom, #285e8e 0%, #3276b1 100%);
|
|
|
|
|
|
+ background-color: $header-background-primary;
|
|
|
|
+ background-image: -webkit-linear-gradient(top, $header-background-secondary 0%, $header-background-primary 100%);
|
|
|
|
+ background-image: linear-gradient(to bottom, $header-background-secondary 0%, $header-background-primary 100%);
|
|
background-repeat: repeat-x;
|
|
background-repeat: repeat-x;
|
|
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#285e8e', endColorstr='#3276b1', GradientType=0);
|
|
|
|
- border: 1px solid #cad7e1;
|
|
|
|
|
|
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$header-background-secondary', endColorstr='$header-background-primary', GradientType=0);
|
|
|
|
+ border: 1px solid $border-color;
|
|
border-bottom: 0;
|
|
border-bottom: 0;
|
|
border-radius: 0.25em 0.25em 0 0;
|
|
border-radius: 0.25em 0.25em 0 0;
|
|
|
|
|
|
@@ -45,20 +111,20 @@ body {
|
|
|
|
|
|
.flaskbb-meta {
|
|
.flaskbb-meta {
|
|
.flaskbb-title {
|
|
.flaskbb-title {
|
|
- color: #fff;
|
|
|
|
|
|
+ color: $header-title-font-color;
|
|
font-size: 3em;
|
|
font-size: 3em;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
.flaskbb-subtitle {
|
|
.flaskbb-subtitle {
|
|
- color: #e8ecf1;
|
|
|
|
|
|
+ color: $header-subtitle-font-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.forum-navigation {
|
|
.forum-navigation {
|
|
- border: 1px solid #cad7e1;
|
|
|
|
|
|
+ border: 1px solid $border-color;
|
|
border-radius: 0 0 0.25em 0.25em;
|
|
border-radius: 0 0 0.25em 0.25em;
|
|
-
|
|
|
|
|
|
+ background-color: $navigation-background-color;
|
|
.navbar-btn {
|
|
.navbar-btn {
|
|
// fix for button in <a>
|
|
// fix for button in <a>
|
|
&>a.btn-primary {
|
|
&>a.btn-primary {
|
|
@@ -85,14 +151,13 @@ body {
|
|
}
|
|
}
|
|
|
|
|
|
.navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
|
|
.navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
|
|
- color: #555;
|
|
|
|
- background-color: #e7e7e7;
|
|
|
|
|
|
+ color: $navigation-font-color;
|
|
|
|
+ background-color: $navigation-hover-color;
|
|
}
|
|
}
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
.flaskbb-breadcrumb {
|
|
.flaskbb-breadcrumb {
|
|
- border: 1px solid #cad7e1;
|
|
|
|
|
|
+ border: 1px solid $border-color;
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -105,46 +170,52 @@ body {
|
|
|
|
|
|
// default values for the panels
|
|
// default values for the panels
|
|
.category-panel, .forum-panel, .topic-panel, .widget-panel {
|
|
.category-panel, .forum-panel, .topic-panel, .widget-panel {
|
|
- border: 1px solid #cad7e1;
|
|
|
|
|
|
+ border: 1px solid $panel-border;
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
.category-head, .forum-head, .topic-head, .widget-head {
|
|
.category-head, .forum-head, .topic-head, .widget-head {
|
|
|
|
+ background-color: $panel-head-background;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.category-body, .forum-body, .topic-body, .widget-body {
|
|
.category-body, .forum-body, .topic-body, .widget-body {
|
|
padding: 0;
|
|
padding: 0;
|
|
|
|
+ background-color: $panel-background;
|
|
.category-meta, .forum-meta, .topic-meta, .widget-meta {
|
|
.category-meta, .forum-meta, .topic-meta, .widget-meta {
|
|
padding-top: 0.5em;
|
|
padding-top: 0.5em;
|
|
height: 2.5em;
|
|
height: 2.5em;
|
|
- background-color: #e8ecf1;
|
|
|
|
- border-bottom: 1px solid #cad7e1;
|
|
|
|
|
|
+ background-color: $panel-meta-background;
|
|
|
|
+ border-bottom: 1px solid $panel-meta-border;
|
|
}
|
|
}
|
|
.category-row, .forum-row, .topic-row, .widget-row, .post-row {
|
|
.category-row, .forum-row, .topic-row, .widget-row, .post-row {
|
|
margin-top: 0.5em;
|
|
margin-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
&:not(:last-child) {
|
|
&:not(:last-child) {
|
|
- border-bottom: 1px solid #cad7e1;
|
|
|
|
|
|
+ border-bottom: 1px solid $panel-border;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
// Topic
|
|
// Topic
|
|
.topic-body {
|
|
.topic-body {
|
|
.post-row {
|
|
.post-row {
|
|
- background: #e8ecf1;
|
|
|
|
|
|
+ background: $author-box-background;
|
|
margin-top: 0;
|
|
margin-top: 0;
|
|
padding-bottom: 0;
|
|
padding-bottom: 0;
|
|
|
|
+ &:not(:last-child) {
|
|
|
|
+ border-bottom: 1px solid $topic-border;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
.post-box {
|
|
.post-box {
|
|
- background: #fff;
|
|
|
|
- border-left: 1px solid #e8ecf1;
|
|
|
|
|
|
+ background: $post-box-background;
|
|
|
|
+ border-left: 1px solid $post-box-border;
|
|
padding-bottom: 3em;
|
|
padding-bottom: 3em;
|
|
padding-left: 0;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
- min-height: 18em;
|
|
|
|
|
|
+ min-height: 19em;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
// post meta information
|
|
// post meta information
|
|
@@ -153,7 +224,8 @@ body {
|
|
padding-left: 0.5em;
|
|
padding-left: 0.5em;
|
|
padding-right: 0.5em;
|
|
padding-right: 0.5em;
|
|
margin: 0;
|
|
margin: 0;
|
|
- border-bottom: 1px solid #e8ecf1;
|
|
|
|
|
|
+ background-color: $post-meta-background;
|
|
|
|
+ border-bottom: 1px solid $post-meta-border;
|
|
}
|
|
}
|
|
|
|
|
|
// post content
|
|
// post content
|
|
@@ -166,13 +238,18 @@ body {
|
|
.post-signature {
|
|
.post-signature {
|
|
margin-top: 2em;
|
|
margin-top: 2em;
|
|
hr {
|
|
hr {
|
|
|
|
+ height: 1px;
|
|
|
|
+ color: $post-signature-border;
|
|
|
|
+ background-color: $post-signature-border;
|
|
|
|
+ border: none;
|
|
margin: 0;
|
|
margin: 0;
|
|
width: 25%;
|
|
width: 25%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// post footer
|
|
// post footer
|
|
.post-footer {
|
|
.post-footer {
|
|
- border-top: 1px solid #e8ecf1;
|
|
|
|
|
|
+ border-top: 1px solid $post-footer-border;
|
|
|
|
+ background-color: $post-footer-background;
|
|
width: 100%;
|
|
width: 100%;
|
|
left: 0;
|
|
left: 0;
|
|
// push to bottom
|
|
// push to bottom
|
|
@@ -191,6 +268,7 @@ body {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// author
|
|
.author {
|
|
.author {
|
|
.author-name h4 {
|
|
.author-name h4 {
|
|
float: left;
|
|
float: left;
|
|
@@ -223,70 +301,126 @@ body {
|
|
}
|
|
}
|
|
|
|
|
|
.author-online {
|
|
.author-online {
|
|
- background: #5cb85c;
|
|
|
|
|
|
+ background: $author-online;
|
|
}
|
|
}
|
|
|
|
|
|
.author-offline {
|
|
.author-offline {
|
|
- background: #777;
|
|
|
|
|
|
+ background: $author-offline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
// forum specific values
|
|
// forum specific values
|
|
-.forum-body {
|
|
|
|
- .forum-meta {
|
|
|
|
- .topic-name, .topic-stats, .topic-last-post {
|
|
|
|
- font-weight: bold;
|
|
|
|
- }
|
|
|
|
|
|
+.forum-panel {
|
|
|
|
+ border: 1px solid $forum-border;
|
|
|
|
+
|
|
|
|
+ .forum-head {
|
|
|
|
+ background-color: $forum-head-background;
|
|
}
|
|
}
|
|
- .forum-row {
|
|
|
|
- .topic-info {
|
|
|
|
- position: relative;
|
|
|
|
- .topic-status {
|
|
|
|
- float: left;
|
|
|
|
- font-size: 1.5em;
|
|
|
|
- padding-right: 0.5em;
|
|
|
|
-
|
|
|
|
- // why is this?
|
|
|
|
- .topic-locked {
|
|
|
|
- font-size: 1.5em;
|
|
|
|
- }
|
|
|
|
|
|
+ .forum-body {
|
|
|
|
+ background-color: $forum-panel;
|
|
|
|
|
|
- }
|
|
|
|
- .topic-name {
|
|
|
|
|
|
+ .forum-meta {
|
|
|
|
+ background-color: $forum-meta-background;
|
|
|
|
+ border-bottom: 1px solid $forum-meta-border;
|
|
|
|
+
|
|
|
|
+ .topic-name, .topic-stats, .topic-last-post {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
- .topic-pages {
|
|
|
|
- font-size: small;
|
|
|
|
|
|
+ }
|
|
|
|
+ .forum-row {
|
|
|
|
+ &:not(:last-child) {
|
|
|
|
+ border-bottom: 1px solid $forum-border;
|
|
|
|
+ }
|
|
|
|
+ .topic-info {
|
|
|
|
+ position: relative;
|
|
|
|
+ .topic-status {
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: 1.5em;
|
|
|
|
+ padding-right: 0.5em;
|
|
|
|
+
|
|
|
|
+ // why is this?
|
|
|
|
+ .topic-locked {
|
|
|
|
+ font-size: 1.5em;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ .topic-name {
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
|
|
+ .topic-pages {
|
|
|
|
+ font-size: small;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
// category specific values
|
|
// category specific values
|
|
-.category-body {
|
|
|
|
- .category-meta, {
|
|
|
|
- .forum-name, .forum-stats, .forum-last-post {
|
|
|
|
- font-weight: bold;
|
|
|
|
- }
|
|
|
|
|
|
+.category-panel {
|
|
|
|
+ border: 1px solid $category-border;
|
|
|
|
+
|
|
|
|
+ .category-head {
|
|
|
|
+ background-color: $category-head-background;
|
|
}
|
|
}
|
|
- .category-row {
|
|
|
|
- .forum-info {
|
|
|
|
- position: relative;
|
|
|
|
- .forum-status {
|
|
|
|
- float: left;
|
|
|
|
- font-size: 2em;
|
|
|
|
- padding-right: 0.5em;
|
|
|
|
- }
|
|
|
|
- .forum-name {
|
|
|
|
|
|
+ .category-body {
|
|
|
|
+ background-color: $category-panel;
|
|
|
|
+
|
|
|
|
+ .category-meta, {
|
|
|
|
+ background-color: $category-meta-background;
|
|
|
|
+ border-bottom: 1px solid $category-meta-border;
|
|
|
|
+
|
|
|
|
+ .forum-name, .forum-stats, .forum-last-post {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
- .forum-moderators {
|
|
|
|
- font-style: italic;
|
|
|
|
|
|
+ }
|
|
|
|
+ .category-row {
|
|
|
|
+ &:not(:last-child) {
|
|
|
|
+ border-bottom: 1px solid $category-border;
|
|
|
|
+ }
|
|
|
|
+ .forum-info {
|
|
|
|
+ position: relative;
|
|
|
|
+ .forum-status {
|
|
|
|
+ float: left;
|
|
|
|
+ font-size: 2em;
|
|
|
|
+ padding-right: 0.5em;
|
|
|
|
+ }
|
|
|
|
+ .forum-name {
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
|
|
+ .forum-moderators {
|
|
|
|
+ font-style: italic;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .forum-last-post {
|
|
|
|
+ .last-post-title {
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .forum-last-post {
|
|
|
|
- .last-post-title {
|
|
|
|
- font-weight: bold;
|
|
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// widget specific values
|
|
|
|
+.widget-panel {
|
|
|
|
+ border: 1px solid $widget-border;
|
|
|
|
+
|
|
|
|
+ .widgety-head {
|
|
|
|
+ background-color: $widget-head-background;
|
|
|
|
+ }
|
|
|
|
+ .widget-body {
|
|
|
|
+ background-color: $widget-panel;
|
|
|
|
+
|
|
|
|
+ .widget-meta, {
|
|
|
|
+ background-color: $widget-meta-background;
|
|
|
|
+ border-bottom: 1px solid $widget-meta-border;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ .widget-row {
|
|
|
|
+ &:not(:last-child) {
|
|
|
|
+ border-bottom: 1px solid $widget-border;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -334,30 +468,29 @@ p.flaskbb-stats {
|
|
|
|
|
|
.icon-delete:before {
|
|
.icon-delete:before {
|
|
content: "\f014";
|
|
content: "\f014";
|
|
- color: #d9534f;
|
|
|
|
|
|
+ color: $red;
|
|
}
|
|
}
|
|
|
|
|
|
.icon-report:before {
|
|
.icon-report:before {
|
|
content: "\f024";
|
|
content: "\f024";
|
|
- color: #f0ad4e;
|
|
|
|
|
|
+ color: $orange;
|
|
}
|
|
}
|
|
|
|
|
|
.icon-edit:before {
|
|
.icon-edit:before {
|
|
content: "\f040";
|
|
content: "\f040";
|
|
- color: #5cb85c;
|
|
|
|
|
|
+ color: $green;
|
|
}
|
|
}
|
|
|
|
|
|
.icon-reply:before {
|
|
.icon-reply:before {
|
|
content: "\f10e";
|
|
content: "\f10e";
|
|
- color: #337ab7;
|
|
|
|
|
|
+ color: $blue;
|
|
}
|
|
}
|
|
|
|
|
|
.icon-replyall:before {
|
|
.icon-replyall:before {
|
|
content: "\f122";
|
|
content: "\f122";
|
|
- color: #5bc0de;
|
|
|
|
|
|
+ color: $light-blue;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
.dropdown-messages {
|
|
.dropdown-messages {
|
|
min-width: 15em;
|
|
min-width: 15em;
|
|
.message-subject {
|
|
.message-subject {
|
|
@@ -369,7 +502,6 @@ p.flaskbb-stats {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
/* Markdown Editor */
|
|
/* Markdown Editor */
|
|
.editor-box .editor-submit .btn {
|
|
.editor-box .editor-submit .btn {
|
|
margin: 0.75em 0.25em 0 0;
|
|
margin: 0.75em 0.25em 0 0;
|
|
@@ -403,15 +535,15 @@ p.flaskbb-stats {
|
|
}
|
|
}
|
|
|
|
|
|
& >textarea {
|
|
& >textarea {
|
|
- border-top: 1px solid #cad7e1;
|
|
|
|
|
|
+ border-top: 1px solid $border-color;
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
background: #fff;
|
|
background: #fff;
|
|
padding-left: 3px;
|
|
padding-left: 3px;
|
|
}
|
|
}
|
|
|
|
|
|
& >.md-preview {
|
|
& >.md-preview {
|
|
- border-top: 1px solid #cad7e1;
|
|
|
|
- border-right: 1px solid #cad7e1;
|
|
|
|
|
|
+ border-top: 1px solid $border-color;
|
|
|
|
+ border-right: 1px solid $border-color;
|
|
border-bottom: none;
|
|
border-bottom: none;
|
|
background: #eee;
|
|
background: #eee;
|
|
}
|
|
}
|