mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-20 12:32:39 -05:00
119 lines
2.1 KiB
SCSS
119 lines
2.1 KiB
SCSS
// 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 {
|
|
background-color: $secondary;
|
|
}
|
|
|
|
body {
|
|
|
|
.boxed {
|
|
height: 100%;
|
|
.contents {
|
|
padding: 10px;
|
|
}
|
|
&.white {
|
|
background-color: $secondary;
|
|
}
|
|
}
|
|
#main {
|
|
.fa-star.starred {
|
|
color: $danger;
|
|
}
|
|
a.star {
|
|
display: inline-block;
|
|
font-size: 20px;
|
|
color: scale-color($primary, $lightness: 75%);
|
|
margin-right: 8px;
|
|
margin-top: 4px;
|
|
&:before {
|
|
font-family: "FontAwesome";
|
|
content: "\f005";
|
|
}
|
|
&.starred {
|
|
color: $danger;
|
|
@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;
|
|
}
|
|
p:last-of-type {
|
|
margin-bottom:0;
|
|
}
|
|
}
|
|
|
|
.topic-statuses {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
.topic-status {
|
|
i {
|
|
font-size: 20px;
|
|
color: darken($secondary, 60%);
|
|
}
|
|
}
|
|
}
|
|
.topic-statuses:empty {
|
|
display: none;
|
|
}
|
|
|
|
// Styles used before the user is logged into discourse. For example, activating their
|
|
// account or changing their email.
|
|
|
|
#simple-container {
|
|
width: 90%;
|
|
}
|
|
|
|
// 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;
|
|
margin: 5px 0 0 0;
|
|
text-overflow: clip;
|
|
white-space: nowrap;
|
|
}
|