509 lines
11 KiB
SCSS
509 lines
11 KiB
SCSS
.error {
|
|
color: #c92a60;
|
|
font-style: italic;
|
|
}
|
|
|
|
.toolkit-card.nav {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.mobile-bar {
|
|
display: none;
|
|
}
|
|
|
|
.nav-body {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
overflow: hidden;
|
|
|
|
&.nav-open {
|
|
display: block;
|
|
}
|
|
&.nav-closed {
|
|
display: none;
|
|
}
|
|
|
|
.nav-background {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.nav-links {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.home-content {
|
|
padding: 32px 0;
|
|
}
|
|
|
|
.profile-box {
|
|
display: flex;
|
|
flex: 1;
|
|
|
|
.profile-box--content {
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-box--body {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.profile-box--all-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.profile-box--replying-to {
|
|
font-style: italic;
|
|
}
|
|
|
|
.profile-box--meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.profile-box--meta--display .toolkit-link {
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-box--icon {
|
|
position: relative;
|
|
height: 64px;
|
|
width: 64px;
|
|
border-radius: 32px;
|
|
border: 3px solid #444;
|
|
background-color: #555;
|
|
overflow: hidden;
|
|
margin-right: 16px;
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.profile-box--meta--display {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.profile-box--meta--handle {
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.profile-view {
|
|
background-color: #444;
|
|
color: #f5f5f5;
|
|
overflow: hidden;
|
|
|
|
&.card-top {
|
|
border-radius: 3px 3px 0 0;
|
|
}
|
|
|
|
&.standalone {
|
|
border-radius: 3px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
.profile-view--banner {
|
|
height: 233px;
|
|
width: 100%;
|
|
}
|
|
|
|
.profile-view--banner--placeholder {
|
|
height: 100%;
|
|
min-height: 100%;
|
|
background-color: #555;
|
|
}
|
|
|
|
.profile-view--content {
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.profile-view--content--top {
|
|
margin-top: -86px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.profile-view--icon {
|
|
position: relative;
|
|
height: 128px;
|
|
width: 128px;
|
|
border-radius: 64px;
|
|
border: 3px solid #444;
|
|
background-color: #555;
|
|
overflow: hidden;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.profile-view--meta {
|
|
padding-top: 20px;
|
|
text-shadow: 1px 1px 1px #222;
|
|
|
|
span {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.profile-view--meta--display {
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.profile-view--meta--handle {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-view--description {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
.text-section,
|
|
.button-section {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.columns {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
|
|
.columns--column {
|
|
flex: 1;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.columns--column + .columns--column {
|
|
margin-right: 16px;
|
|
}
|
|
}
|
|
|
|
.submission-buttons .toolkit-button-group {
|
|
justify-content: center;
|
|
}
|
|
|
|
.comment {
|
|
padding: 16px 0;
|
|
|
|
&:first-child {
|
|
padding-top: 0;
|
|
}
|
|
&:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
& + .comment {
|
|
border-top: 1px solid #555;
|
|
}
|
|
|
|
.comment-body {
|
|
display: flex;
|
|
}
|
|
|
|
.comment-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.comment-children {
|
|
padding-top: 16px;
|
|
|
|
.comment:first-child {
|
|
border-top: 1px solid #555;
|
|
padding-top: 16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
> .comment-children,
|
|
> .comment-children > .comment > .comment-children,
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children,
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children {
|
|
border-left: 4px solid #555;
|
|
padding-left: 16px;
|
|
}
|
|
}
|
|
|
|
.submission-tiles {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
|
|
.submission-icon {
|
|
position: relative;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.toolkit-link {
|
|
display: block;
|
|
height: 100%;
|
|
width: 100%;
|
|
font-style: none;
|
|
font-weight: 500;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
a:active {
|
|
color: #e5e5e5;
|
|
}
|
|
}
|
|
|
|
.submission-icon--unpublished,
|
|
.submission-icon--overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
text-align: center;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.submission-icon--overlay {
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
text-shadow: 1px 1px 1px #000;
|
|
}
|
|
.submission-icon--unpublished {
|
|
background-color: #c92a6066;
|
|
text-shadow: 1px 1px 1px #000;
|
|
}
|
|
|
|
.submission-icon--meta p {
|
|
margin: 0;
|
|
margin-top: 16px;
|
|
}
|
|
}
|
|
|
|
.image-box {
|
|
max-width: 100%;
|
|
background-color: #f5f5f5;
|
|
overflow: hidden;
|
|
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.desktop-bar {
|
|
display: none;
|
|
}
|
|
.mobile-bar {
|
|
display: flex;
|
|
}
|
|
|
|
.columns {
|
|
flex-direction: column;
|
|
|
|
.columns--column + .columns--column {
|
|
margin-left: 0;
|
|
padding-top: 16px;
|
|
}
|
|
}
|
|
|
|
.profile-view {
|
|
&.standalone {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.profile-view--banner {
|
|
height: 33vw;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 660px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 620px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children > .comment > .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 580px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children > .comment > .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children > .comment >
|
|
.comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 540px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
> .comment-children > .comment > .comment-children > .comment > .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
> .comment-children > .comment > .comment-children, {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.comment-box > .comment,
|
|
.comment-box > .comment-children > .comment {
|
|
> .comment-children {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 350px) {
|
|
.profile-view {
|
|
.profile-view--content--top {
|
|
margin-top: -56px;
|
|
display: block;
|
|
}
|
|
|
|
.profile-view--icon {
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.profile-view--meta {
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
}
|