mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-01-24 04:49:55 -05:00
128 lines
2.1 KiB
SCSS
128 lines
2.1 KiB
SCSS
|
@import "../../colors";
|
||
|
@import "../../frameless";
|
||
|
|
||
|
#view {
|
||
|
background-color: $ui-light-gray;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.title-banner.mod-messages {
|
||
|
background-color: $ui-blue;
|
||
|
color: $type-white;
|
||
|
}
|
||
|
|
||
|
.flex-row.mod-messages-title {
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.title-banner-h1.mod-messages {
|
||
|
margin: 0;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
.form-control {
|
||
|
color: $type-gray;
|
||
|
}
|
||
|
|
||
|
.help-block {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.messages-admin,
|
||
|
.messages-social {
|
||
|
margin-bottom: 3rem;
|
||
|
}
|
||
|
|
||
|
.messages-admin-list,
|
||
|
.messages-social-list {
|
||
|
padding: 0;
|
||
|
list-style-type: none;
|
||
|
}
|
||
|
|
||
|
.admin-message {
|
||
|
border: 1px solid darken($ui-gray, 10);
|
||
|
border-radius: 5px;
|
||
|
background-color: lighten($ui-blue, 40);
|
||
|
padding: 1rem;
|
||
|
}
|
||
|
|
||
|
.admin-message-header {
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.admin-message-content {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.admin-message-date {
|
||
|
font-size: .8rem;
|
||
|
}
|
||
|
|
||
|
.button.mod-scratcher-invite-dismiss,
|
||
|
.button.mod-admin-message-dismiss {
|
||
|
box-shadow: none;
|
||
|
padding: .25rem;
|
||
|
line-height: .8rem;
|
||
|
|
||
|
&:hover {
|
||
|
box-shadow: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.messages-social-title-unread {
|
||
|
margin-left: 1rem;
|
||
|
border-radius: 1rem;
|
||
|
background-color: $ui-orange;
|
||
|
padding: .25rem .5rem;
|
||
|
color: $type-white;
|
||
|
}
|
||
|
|
||
|
.messages-social-list {
|
||
|
border: 1px solid $ui-border;
|
||
|
border-bottom-width: 0;
|
||
|
border-radius: 5px;
|
||
|
background-color: $ui-white;
|
||
|
}
|
||
|
|
||
|
.comment-message-info {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
.comment-text {
|
||
|
background-color: $ui-white;
|
||
|
}
|
||
|
|
||
|
.flex-row.mod-comment-message {
|
||
|
margin-bottom: .25rem;
|
||
|
align-items: flex-start;
|
||
|
}
|
||
|
|
||
|
.comment-message-info-img {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
}
|
||
|
|
||
|
.messages-social-loadmore {
|
||
|
display: block;
|
||
|
margin: 1rem auto;
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-width: $mobile - 1) {
|
||
|
.flex-row.admin-message-header,
|
||
|
.flex-row.mod-comment-message {
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
|
||
|
.comment-text {
|
||
|
max-width: 60%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) {
|
||
|
.flex-row.admin-message-header,
|
||
|
.flex-row.mod-comment-message {
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
}
|