aboutsummaryrefslogtreecommitdiff
path: root/src/components/status
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status')
-rw-r--r--src/components/status/post.style.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/components/status/post.style.js b/src/components/status/post.style.js
index 7388e2e3..673f72e0 100644
--- a/src/components/status/post.style.js
+++ b/src/components/status/post.style.js
@@ -1,6 +1,9 @@
export default {
name: 'Post',
selector: '.Status',
+ states: {
+ selected: '.-focused'
+ },
validInnerComponents: [
'Text',
'Link',
@@ -14,5 +17,19 @@ export default {
'Attachment',
'PollGraph'
],
- defaultRules: []
+ defaultRules: [
+ {
+ directives: {
+ background: '--bg',
+ opacity: 0
+ }
+ },
+ {
+ state: ['selected'],
+ directives: {
+ background: '--inheritedBackground, 10',
+ opacity: 1
+ }
+ }
+ ]
}