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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

90 lines
1.4 KiB
SCSS
Raw Normal View History

.post-info a {
color: var(--primary-medium);
}
2013-09-06 03:37:07 +08:00
.topic-meta-data-inside {
float: right;
margin-top: -38px;
margin-right: 5px;
2013-09-06 03:37:07 +08:00
}
.post-info {
display: inline-block;
2013-09-06 03:37:07 +08:00
}
#topic-title {
h1 {
font-size: var(--font-up-3);
line-height: var(--line-height-medium);
2014-07-01 16:15:16 +08:00
a {
color: var(--primary);
2014-07-01 16:15:16 +08:00
vertical-align: middle;
2016-01-13 14:40:36 +08:00
word-wrap: break-word;
2014-07-01 16:15:16 +08:00
}
}
.title-category-wrapper {
margin-top: 5px;
}
}
2013-09-06 03:37:07 +08:00
.progress-back-container {
top: -100%; // above parent container + some extra space
}
.topic-error {
2014-06-17 02:25:33 +08:00
padding: 18px;
width: 90%;
margin-left: auto;
margin-right: auto;
font-size: var(--font-up-4);
line-height: var(--line-height-medium);
2014-06-17 02:25:33 +08:00
.topic-retry {
2014-06-17 02:25:33 +08:00
display: block;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
}
sup sup,
sub sup,
sup sub,
sub sub {
top: 0;
}
// inline editing of title on mobile
#topic-title .title-wrapper {
position: relative;
float: none;
width: 100%;
input#edit-title {
width: 100%;
}
.select-kit.combo-box.category-chooser {
width: 100%;
margin-top: 0;
}
.topic-category {
margin-top: 0.25em;
}
}
// make mobile timeline top and bottom dates easier to select
.topic-timeline {
.start-date,
.now-date {
padding: 0.5em 0;
}
.timeline-scrollarea-wrapper .timeline-date-wrapper {
@include ellipsis;
}
.topic-category {
margin-bottom: 0.5rem;
}
}