2013-09-05 15:37:07 -04: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-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
|
|
|
.boxed {
|
|
|
|
height: 100%;
|
|
|
|
.contents {
|
2014-11-02 00:21:16 -04:00
|
|
|
padding: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
&.white {
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#main {
|
2013-12-09 16:27:49 -05:00
|
|
|
.fa-star.starred {
|
2014-05-10 02:09:04 -04:00
|
|
|
color: $danger;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
a.star {
|
|
|
|
display: inline-block;
|
2014-07-01 04:00:16 -04:00
|
|
|
font-size: 20px;
|
2014-05-10 02:09:04 -04:00
|
|
|
color: scale-color($primary, $lightness: 75%);
|
2014-07-01 04:34:44 -04:00
|
|
|
margin-right: 8px;
|
2014-10-06 11:50:18 -04:00
|
|
|
margin-top: 4px;
|
2013-09-05 15:37:07 -04:00
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f005";
|
|
|
|
}
|
|
|
|
&.starred {
|
2014-05-10 02:09:04 -04:00
|
|
|
color: $danger;
|
2013-09-05 15:37:07 -04: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
/* 13px left is intentional here to properly align with post quotes */
|
|
|
|
padding: 10px 8px 10px 13px;
|
|
|
|
p {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
2014-05-13 02:37:19 -04:00
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-statuses {
|
|
|
|
display: inline-block;
|
2014-07-01 04:15:16 -04:00
|
|
|
vertical-align: middle;
|
2013-09-05 15:37:07 -04:00
|
|
|
.topic-status {
|
|
|
|
i {
|
2014-07-01 04:15:16 -04:00
|
|
|
font-size: 20px;
|
2014-12-02 17:10:14 -05:00
|
|
|
color: dark-light-diff($secondary, $primary, 40%, -20%);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-02 05:39:55 -04:00
|
|
|
.topic-statuses:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-29 06:26:48 -04:00
|
|
|
|
|
|
|
// Styles used before the user is logged into discourse. For example, activating their
|
|
|
|
// account or changing their email.
|
|
|
|
|
|
|
|
#simple-container {
|
|
|
|
width: 90%;
|
|
|
|
}
|
2014-10-10 18:43:01 -04:00
|
|
|
|
|
|
|
// if the logo is text, it can't be too big or small width devices have issues
|
|
|
|
h2#site-text-logo
|
|
|
|
{
|
|
|
|
max-width: 135px;
|
|
|
|
max-height: 1em;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
2014-10-10 19:02:14 -04:00
|
|
|
margin: 5px 0 0 0;
|
2014-10-10 18:48:50 -04:00
|
|
|
text-overflow: clip;
|
|
|
|
white-space: nowrap;
|
2014-10-10 18:43:01 -04:00
|
|
|
}
|