mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
114 lines
2 KiB
SCSS
114 lines
2 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: $primary_background_color;
|
|
}
|
|
|
|
.container {
|
|
@extend .clearfix;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.full-width {
|
|
margin-left: 12px;
|
|
}
|
|
|
|
body {
|
|
|
|
.boxed {
|
|
height: 100%;
|
|
@include border-radius-all(5px);
|
|
.contents {
|
|
padding: 10px 10px 10px 10px;
|
|
}
|
|
&.white {
|
|
background-color: $primary_background_color;
|
|
}
|
|
}
|
|
#main {
|
|
.fa-star.starred {
|
|
color: $highlight_text_color;
|
|
}
|
|
a.star {
|
|
display: inline-block;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
color: $secondary_text_color;
|
|
&:before {
|
|
font-family: "FontAwesome";
|
|
content: "\f005";
|
|
}
|
|
&.starred {
|
|
color: #fe1;
|
|
text-shadow: 0 0 3px rgba($primary_shadow_color, 0.5);
|
|
@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;
|
|
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;
|
|
color: darken($tertiary_text_color, 60%);
|
|
}
|
|
}
|
|
}
|