diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-25 12:39:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 12:39:09 -0500 |
commit | c6c4631817247c44f788b1ffa2bc1d9f644802eb (patch) | |
tree | f0b637dd762301386bfdb89476eb3b4826be85be /ext/mixed/display-templates.html | |
parent | f7d1d2deb52a6b129c71ec139d3e1e74544d3be6 (diff) |
Display button improvements (#1065)
* Use hidden and disabled properties instead of custom classes
* Enable transitions on buttons
Diffstat (limited to 'ext/mixed/display-templates.html')
-rw-r--r-- | ext/mixed/display-templates.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index 3b8d97a2..2e2cc32c 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -7,9 +7,9 @@ <div class="entry-header2"> <div class="entry-header3"> <div class="actions"> - <button class="action-button action-view-note pending disabled" data-icon="view-note" title="View added note (Alt + V)"></button> - <button class="action-button action-add-note pending disabled" data-icon="add-term-kanji" data-mode="term-kanji" title="Add expression (Alt + E)"></button> - <button class="action-button action-add-note pending disabled" data-icon="add-term-kana" data-mode="term-kana" title="Add reading (Alt + R)"></button> + <button class="action-button action-view-note" hidden disabled data-icon="view-note" title="View added note (Alt + V)"></button> + <button class="action-button action-add-note" hidden disabled data-icon="add-term-kanji" data-mode="term-kanji" title="Add expression (Alt + E)"></button> + <button class="action-button action-add-note" hidden disabled data-icon="add-term-kana" data-mode="term-kana" title="Add reading (Alt + R)"></button> <button class="action-button action-play-audio" data-icon="play-audio" title="Play audio (Alt + P)"></button> </div> <div class="term-expression-list"></div> @@ -60,8 +60,8 @@ <div class="entry-header2"> <div class="entry-header3"> <div class="actions"> - <button class="action-button action-view-note pending disabled" data-icon="view-note" title="View added note (Alt + V)"></button> - <button class="action-button action-add-note pending disabled" data-icon="add-term-kanji" data-mode="kanji" title="Add Kanji (Alt + K)"></button> + <button class="action-button action-view-note" hidden disabled data-icon="view-note" title="View added note (Alt + V)"></button> + <button class="action-button action-add-note" hidden disabled data-icon="add-term-kanji" data-mode="kanji" title="Add Kanji (Alt + K)"></button> </div> <div class="kanji-glyph source-text"></div> </div> |