aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-02-18 21:20:43 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-02-18 21:20:43 +0000
commit3ddf7ebe2c94f88be12644d7a7a675f6f8331707 (patch)
tree878e90d5381ce14f9c3d88ab77e998ef6238760d /src/components/status/status.vue
parent26e455bb4cadb90b4351f2a2e8f53eaa15d9e569 (diff)
parent32902e01f80a2ff27e9f4fc5a922c47b63f397fd (diff)
Merge branch 'themes-accent' into 'develop'
Themes v3 Part 1 "2.1" codenamed "One step for themes, a giant burder for code reviewers" Closes #750 and #774 See merge request pleroma/pleroma-fe!1037
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 83f07dac..76b038d9 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -468,7 +468,15 @@ $status-margin: 0.75em;
&_focused {
background-color: $fallback--lightBg;
- background-color: var(--lightBg, $fallback--lightBg);
+ background-color: var(--selectedPost, $fallback--lightBg);
+ color: $fallback--text;
+ color: var(--selectedPostText, $fallback--text);
+ --lightText: var(--selectedPostLightText, $fallback--light);
+ --faint: var(--selectedPostFaintText, $fallback--faint);
+ --faintLink: var(--selectedPostFaintLink, $fallback--faint);
+ --postLink: var(--selectedPostPostLink, $fallback--faint);
+ --postFaintLink: var(--selectedPostFaintPostLink, $fallback--faint);
+ --icon: var(--selectedPostIcon, $fallback--icon);
}
.timeline & {
@@ -596,8 +604,6 @@ $status-margin: 0.75em;
overflow: hidden;
text-overflow: ellipsis;
margin: 0 0.4em 0 0.2em;
- color: $fallback--faint;
- color: var(--faint, $fallback--faint);
}
.replies-separator {
@@ -659,6 +665,11 @@ $status-margin: 0.75em;
line-height: 1.4em;
white-space: pre-wrap;
+ a {
+ color: $fallback--link;
+ color: var(--postLink, $fallback--link);
+ }
+
img, video {
max-width: 100%;
max-height: 400px;