last remaining core tasks done
This commit is contained in:
parent
339ae3e95e
commit
1640bb61e3
2 changed files with 22 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue