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 {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
2015-07-22 09:46:15 +08:00
|
|
|
// This sets the space between the application content and the edge of the
|
|
|
|
// screen. This value is required in 'mobile/header.scss' to set the position
|
|
|
|
// of the drop-down menu.
|
|
|
|
$mobile-wrapper-padding: 10px;
|
|
|
|
.wrap {
|
|
|
|
padding: 0 $mobile-wrapper-padding;
|
|
|
|
}
|
|
|
|
|
2013-09-06 03:37:07 +08:00
|
|
|
body {
|
|
|
|
|
|
|
|
.boxed {
|
|
|
|
.contents {
|
2015-09-17 14:48:15 +08:00
|
|
|
padding: 10px 0 0 0;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
&.white {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#main {
|
2015-04-01 23:59:58 +08:00
|
|
|
position: relative;
|
2013-09-06 03:37:07 +08:00
|
|
|
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 14:37:19 +08:00
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-statuses {
|
2015-10-23 07:43:01 +08:00
|
|
|
float: left;
|
2013-09-06 03:37:07 +08:00
|
|
|
.topic-status {
|
|
|
|
i {
|
2014-12-03 06:10:14 +08:00
|
|
|
color: dark-light-diff($secondary, $primary, 40%, -20%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-02 17:39:55 +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%;
|
|
|
|
}
|
2014-10-11 06:43:01 +08:00
|
|
|
|
2015-01-01 16:54:53 +08:00
|
|
|
// somehow the image logo assumption inherits margins from earlier in the CSS stack
|
|
|
|
// we must remove margins for text site titles
|
2014-10-11 06:43:01 +08:00
|
|
|
h2#site-text-logo
|
|
|
|
{
|
2015-08-19 13:02:01 +08:00
|
|
|
margin: 0 0 0 10px;
|
2014-10-11 06:43:01 +08:00
|
|
|
}
|
2015-03-15 17:23:18 +08:00
|
|
|
|
|
|
|
// categories should not be bold on mobile; they fight with the topic title too much
|
|
|
|
.badge-wrapper {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|