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

120 lines
2.1 KiB
SCSS
Raw Normal View History

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 {
background-color: $secondary;
2013-09-05 15:37:07 -04:00
}
.container {
@extend .clearfix;
margin-right: auto;
margin-left: auto;
}
.full-width {
margin-left: 12px;
}
body {
.boxed {
height: 100%;
@include border-radius-all(5px);
.contents {
2014-05-13 08:53:11 -04:00
float: left;
2013-09-10 23:56:55 -04:00
padding: 10px 10px 10px 10px;
2014-05-13 08:53:11 -04:00
h3 {
float: left;
}
2013-09-05 15:37:07 -04:00
}
&.white {
background-color: $secondary;
2013-09-05 15:37:07 -04:00
}
}
#main {
2013-12-09 16:27:49 -05:00
.fa-star.starred {
color: $danger;
2013-09-05 15:37:07 -04:00
}
a.star {
display: inline-block;
font-size: 15px;
line-height: 1;
color: scale-color($primary, $lightness: 75%);
margin-right: 3px;
2013-09-05 15:37:07 -04:00
&:before {
font-family: "FontAwesome";
content: "\f005";
}
&.starred {
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;
}
}
}
2013-09-05 15:37:07 -04:00
}
blockquote {
/* 13px left is intentional here to properly align with post quotes */
padding: 10px 8px 10px 13px;
2014-05-06 15:38:11 -04:00
background-color: scale-color($primary, $lightness: 95%);
border-left: 5px solid scale-color($primary, $lightness: 75%);
2013-09-05 15:37:07 -04:00
p {
margin: 0 0 10px 0;
}
p:last-of-type {
margin-bottom:0;
}
2013-09-05 15:37:07 -04:00
}
.topic-statuses {
display: inline-block;
margin: 0;
padding: 0;
.topic-status {
margin: 0;
display: inline-block;
i {
font-size: 15px;
color: darken($secondary, 60%);
2013-09-05 15:37:07 -04:00
}
}
}