2013-09-06 03:37:07 +08:00
|
|
|
// global styles that apply to the Discourse application specifically
|
|
|
|
// BEWARE: changing these styles implies they take effect anywhere they are seen
|
|
|
|
// throughout the Discourse application
|
|
|
|
|
|
|
|
body {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
@extend .clearfix;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a.no-href {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
|
|
|
button.ok {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: $success_background_color;
|
|
|
|
color: $emphasis_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
@include hover {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: darken($success_background_color, 10%);
|
|
|
|
color: $emphasis_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
button.cancel {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: $warning_background_color;
|
|
|
|
color: $emphasis_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
@include hover {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: $warning_background_color;
|
|
|
|
color: $emphasis_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.coldmap-high {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $coldmap-high !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.coldmap-med {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $coldmap-med !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.coldmap-low {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $coldmap-low !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.heatmap-high {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $heatmap-high !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.heatmap-med {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $heatmap-med !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.heatmap-low {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $heatmap-low !important;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
#loading-message {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 30px;
|
|
|
|
text-align: center;
|
|
|
|
top: 120px;
|
|
|
|
left: 500px;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.top-space {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
ul.breadcrumb {
|
2014-03-06 14:14:51 +08:00
|
|
|
margin: 0 10px 0 10px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.boxed {
|
|
|
|
height: 100%;
|
|
|
|
@include border-radius-all(5px);
|
|
|
|
.contents {
|
2013-09-11 11:56:55 +08:00
|
|
|
padding: 10px 10px 10px 10px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
&.white {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#main {
|
2013-12-10 05:27:49 +08:00
|
|
|
.fa-star.starred {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $highlight_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
a.star {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 1;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $secondary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f005";
|
|
|
|
}
|
|
|
|
&.starred {
|
|
|
|
color: #fe1;
|
2014-03-06 14:14:51 +08:00
|
|
|
text-shadow: 0 0 3px rgba($primary_shadow_color, 0.5);
|
2013-09-06 03:37:07 +08:00
|
|
|
@include hover {
|
|
|
|
opacity: 1;
|
|
|
|
&:before {
|
|
|
|
content: "\f005";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.avatar {
|
|
|
|
&.header {
|
|
|
|
width: 45px;
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
&.medium {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
&.small {
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
}
|
|
|
|
&.tiny {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-list {
|
|
|
|
.user {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.message {
|
|
|
|
@include border-radius-all(8px);
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 14px;
|
|
|
|
h2 {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#footer {
|
|
|
|
.container {
|
|
|
|
height: 50px;
|
|
|
|
.contents {
|
|
|
|
padding-top: 10px;
|
|
|
|
a[href] {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.clear-transitions {
|
|
|
|
@include transition(none !important);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
.tip {
|
|
|
|
display: inline-block;
|
|
|
|
&.good {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $success_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
&.bad {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $warning_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
/* 13px left is intentional here to properly align with post quotes */
|
|
|
|
padding: 10px 8px 10px 13px;
|
|
|
|
background-color: $quote-background;
|
|
|
|
border-left: 5px solid darken($quote-background, 20%);
|
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-statuses {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
.topic-status {
|
|
|
|
padding: 5px 2px 0 0;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
i {
|
|
|
|
font-size: 15px;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: darken($tertiary_text_color, 60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#wmd-input {
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagedown-editor {
|
|
|
|
width: 540px;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 0 10px 13px 10px;
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px solid $primary_border_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
.preview {
|
|
|
|
margin-top: 8px;
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px dashed $primary_border_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
padding: 8px 8px 0 8px;
|
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
width: 100px;
|
|
|
|
margin: 0 auto 30px auto;
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $secondary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
@include border-radius-all(10px);
|
|
|
|
padding: 10px 10px 10px 30px;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 23px;
|
|
|
|
text-align: center;
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $tertiary_text_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
background: {
|
|
|
|
image: image-url("spinner_96_w.gif");
|
|
|
|
repeat: no-repeat;
|
|
|
|
position: 10px 8px;
|
|
|
|
size: 25px;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
@include border-radius-all(2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-wrapper {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $primary_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
display: inline-block;
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 1px solid $primary_border_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
@include border-radius-all(5px);
|
|
|
|
img {
|
|
|
|
@include border-radius-all(4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.profiler-results.profiler-left {
|
|
|
|
top: 60px !important;
|
|
|
|
}
|