discourse/app/assets/stylesheets/mobile/discourse.scss

109 lines
1.9 KiB
SCSS
Raw Normal View History

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 {
background-color: $secondary;
2013-09-06 03:37:07 +08:00
}
body {
.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 {
background-color: $secondary;
2013-09-06 03:37:07 +08:00
}
}
#main {
2013-12-10 05:27:49 +08:00
.fa-star.starred {
color: $danger;
2013-09-06 03:37:07 +08:00
}
a.star {
display: inline-block;
2014-07-01 16:00:16 +08:00
font-size: 20px;
color: scale-color($primary, $lightness: 75%);
2014-07-01 16:34:44 +08:00
margin-right: 8px;
2014-10-06 23:50:18 +08:00
margin-top: 4px;
2013-09-06 03:37:07 +08:00
&:before {
font-family: "FontAwesome";
content: "\f005";
}
&.starred {
color: $danger;
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;
}
}
}
}
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;
}
2013-09-06 03:37:07 +08:00
}
.topic-statuses {
display: inline-block;
2014-07-01 16:15:16 +08:00
vertical-align: middle;
2013-09-06 03:37:07 +08:00
.topic-status {
i {
2014-07-01 16:15:16 +08:00
font-size: 20px;
color: darken($secondary, 60%);
2013-09-06 03:37:07 +08:00
}
}
}
.topic-statuses:empty {
display: none;
}
2014-06-29 18:26:48 +08:00
// Styles used before the user is logged into discourse. For example, activating their
// account or changing their email.
#simple-container {
width: 90%;
}