Mercurial > code > home > repos > light9
annotate web/timeline/inline-attrs.html @ 2376:4556eebe5d73
topdir reorgs; let pdm have its src/ dir; separate vite area from light9/
author | drewp@bigasterisk.com |
---|---|
date | Sun, 12 May 2024 19:02:10 -0700 |
parents | light9/web/timeline/inline-attrs.html@d6b7567e8d19 |
children |
rev | line source |
---|---|
1717 | 1 <link rel="import" href="/lib/polymer/polymer-element.html"> |
2 <link rel="import" href="../light9-color-picker.html"> | |
3 <link rel="import" href="../edit-choice.html"> | |
4 | |
5 <!-- sometimes we draw attrs within the shape of a note. --> | |
6 <dom-module id="light9-timeline-note-inline-attrs"> | |
7 <template> | |
8 <style> | |
1743
92104dcd33e2
finish mouse event routing. inlineAttrs display again.
Drew Perttula <drewp@bigasterisk.com>
parents:
1717
diff
changeset
|
9 :host { |
1717 | 10 position: absolute; |
1743
92104dcd33e2
finish mouse event routing. inlineAttrs display again.
Drew Perttula <drewp@bigasterisk.com>
parents:
1717
diff
changeset
|
11 |
92104dcd33e2
finish mouse event routing. inlineAttrs display again.
Drew Perttula <drewp@bigasterisk.com>
parents:
1717
diff
changeset
|
12 display: block; |
1717 | 13 overflow: hidden; |
14 background: rgba(19, 19, 19, 0.65); | |
15 border-radius: 6px; | |
16 border: 1px solid #313131; | |
17 padding: 3px; | |
18 z-index: 2; | |
1743
92104dcd33e2
finish mouse event routing. inlineAttrs display again.
Drew Perttula <drewp@bigasterisk.com>
parents:
1717
diff
changeset
|
19 color: white; |
1717 | 20 } |
21 </style> | |
1743
92104dcd33e2
finish mouse event routing. inlineAttrs display again.
Drew Perttula <drewp@bigasterisk.com>
parents:
1717
diff
changeset
|
22 |
1717 | 23 <div>note [[noteLabel]] <button on-click="onDel">del</button></div> |
24 <table> | |
1746
84adc69fdf8a
fix inlineattrs setup and effect editing
Drew Perttula <drewp@bigasterisk.com>
parents:
1745
diff
changeset
|
25 <tr><th>effect:</th><td><edit-choice id="effect" graph="{{graph}}" uri="{{effectStr}}"></edit-choice></td></tr> |
1717 | 26 <tr><th>colorScale:</th><td> |
27 <light9-color-picker color="{{colorScale}}"></light9-color-picker> | |
28 </td></tr> | |
29 </table> | |
1962
d6b7567e8d19
testing image effect graphics on timeline
Drew Perttula <drewp@bigasterisk.com>
parents:
1746
diff
changeset
|
30 <img src="/show/dance2019/anim/rainbow1.png"> |
1717 | 31 </template> |
32 <script src="inline-attrs.js"></script> | |
33 </dom-module> |