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 {
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2015-07-21 21:46:15 -04: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-05 15:37:07 -04:00
|
|
|
body {
|
|
|
|
|
|
|
|
.boxed {
|
|
|
|
.contents {
|
2015-09-17 02:48:15 -04:00
|
|
|
padding: 10px 0 0 0;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
&.white {
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#main {
|
2015-04-01 11:59:58 -04:00
|
|
|
position: relative;
|
2013-09-05 15:37:07 -04: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 02:37:19 -04:00
|
|
|
p:last-of-type {
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.topic-statuses {
|
2015-11-03 17:59:42 -05:00
|
|
|
display: inline-block;
|
2013-09-05 15:37:07 -04:00
|
|
|
.topic-status {
|
|
|
|
i {
|
2014-12-02 17:10:14 -05:00
|
|
|
color: dark-light-diff($secondary, $primary, 40%, -20%);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-02 05:39:55 -04:00
|
|
|
.topic-statuses:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-29 06:26:48 -04: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-10 18:43:01 -04:00
|
|
|
|
2015-01-01 03:54:53 -05:00
|
|
|
// somehow the image logo assumption inherits margins from earlier in the CSS stack
|
|
|
|
// we must remove margins for text site titles
|
2014-10-10 18:43:01 -04:00
|
|
|
h2#site-text-logo
|
|
|
|
{
|
2015-08-19 01:02:01 -04:00
|
|
|
margin: 0 0 0 10px;
|
2014-10-10 18:43:01 -04:00
|
|
|
}
|
2015-03-15 05:23:18 -04:00
|
|
|
|
|
|
|
// categories should not be bold on mobile; they fight with the topic title too much
|
|
|
|
.badge-wrapper {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2016-02-12 01:51:08 -05:00
|
|
|
|
|
|
|
.user-table {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-view .mobile-nav {
|
|
|
|
&.messages-nav, &.notifications-nav, &.activity-nav {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: -55px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-view .mobile-nav {
|
|
|
|
a .fa {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -65%);
|
|
|
|
list-style: none;
|
|
|
|
overflow: visible;
|
|
|
|
position: relative;
|
2016-03-28 02:39:56 -04:00
|
|
|
width: 45%;
|
2016-02-12 01:51:08 -05:00
|
|
|
|
|
|
|
> li > a {
|
|
|
|
padding: 8px 10px;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2016-02-12 11:02:23 -05:00
|
|
|
box-sizing: border-box;
|
2016-02-12 01:51:08 -05:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.fa-caret-down {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drop {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.drop.expanded {
|
|
|
|
left: 0;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10000000;
|
|
|
|
background-color: $secondary;
|
2016-02-12 11:02:23 -05:00
|
|
|
width: 100%;
|
2016-02-12 01:51:08 -05:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid #eaeaea;
|
2016-02-12 11:02:23 -05:00
|
|
|
box-sizing: border-box;
|
2016-02-12 01:51:08 -05:00
|
|
|
li {
|
|
|
|
margin: 5px 0;
|
|
|
|
padding: 0;
|
|
|
|
a {
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-02-25 03:20:44 -05:00
|
|
|
|
|
|
|
/* page not found styles */
|
|
|
|
h1.page-not-found {
|
|
|
|
line-height: 24px;
|
|
|
|
margin: 5px 0 -5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-not-found-topics a.badge-wrapper {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.popular-topics-title {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2.recent-topics-title {
|
|
|
|
margin-bottom: 6px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-not-found-search h2 {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|