Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 66 additions & 62 deletions app/app.web.view.css.ts
Original file line number Diff line number Diff line change
@@ -1,71 +1,75 @@
namespace $.$$ {
$mol_style_define($optimade_cifplayer_app, {
contain: 'none', // otherwise in fullscreen 'fixed' positions plot relative to parent is not in the viewport

$mol_style_define( $optimade_cifplayer_app, {
'[mol_drop_status]': {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luckylionheart why this is needed? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm, what is that? I didn't change it. let me check again. I changed only absoldix_link section

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blokhin, it's auto-formatted by a plugin. in reality, there is no change in the above. can you kindly check again? And then, what are your recommended format tools for $mol?

drag: {
Menu: {
background: {
color: $mol_theme.hover,
},
},
},
},

contain: 'none', // otherwise in fullscreen 'fixed' positions plot relative to parent is not in the viewport
Start: {
background: {
color: $mol_theme.back,
},
padding: {
top: '6rem',
},
flex: {
grow: 1,
direction: 'column',
},
align: {
items: 'center',
},
},

'[mol_drop_status]': {
drag: {
Menu: {
background: {
color: $mol_theme.hover,
},
},
},
},
Menu: {
Body_content: {
gap: $mol_gap.block,
maxWidth: '25rem',
flex: {
direction: 'row',
},
},
Head: {
justify: {
content: 'flex-start',
},
},
},

Start: {
background: {
color: $mol_theme.back,
},
padding: {
top: '6rem',
},
flex: {
grow: 1,
direction: 'column',
},
align: {
items: 'center',
},
},
Data_text: {
font: {
family: 'inherit',
},
},

Menu: {
Body_content: {
gap: $mol_gap.block,
maxWidth: '25rem',
flex: {
direction: 'row',
},
},
Head: {
justify: {
content: 'flex-start'
},
},
},
Body: {
flex: {
direction: 'column',
grow: 1,
shrink: 1,
},
},

Data_text: {
font: {
family: 'inherit',
},
},

Body: {
flex: {
direction: 'column',
grow: 1,
shrink: 1,
},
},

Player: {
flex: {
grow: 1,
basis: '30rem',
},
},

} )
Player: {
flex: {
grow: 1,
basis: '30rem',
},
},

Absolidix_link: {
position: 'fixed',
bottom: '24px',
right: '24px',
fontSize: '32px',
color: 'green',
},
});
}
4 changes: 4 additions & 0 deletions app/app.web.view.tree
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ $optimade_cifplayer_app $mol_drop
<= Paste_example $mol_button_minor
title \Show example
click? <=> paste_example? null
<= Absolidix_link $mol_link
uri \https://absolidix.com
sub /
<= Icon $mol_icon_play_outline
Loading