Changeset 35429 for main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItem.vue
- Timestamp:
- 2021-09-20T10:43:51+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItem.vue
r35413 r35429 10 10 11 11 <div style="position: relative;"> 12 <button @mouseover="showDownloadOptions = true" @mouseout="showDownloadOptions = false" type="button">12 <button class="btn-primary" @mouseover="showDownloadOptions = true" @mouseout="showDownloadOptions = false" type="button"> 13 13 <span class="material-icons">download</span> 14 14 <span>{{ translations.get("TranscriptionItem_Download") }}</span> … … 17 17 <div class="download-popup card" :class="{ 'download-popup-show': showDownloadOptions }" 18 18 @mouseover="showDownloadOptions = true" @mouseout="showDownloadOptions = false"> 19 <button @click="downloadAsText" type="button" class=" theme-flat">19 <button @click="downloadAsText" type="button" class="btn-primary theme-flat"> 20 20 <span class="material-icons">text_snippet</span> 21 21 <span>{{ translations.get("TranscriptionItem_DownloadAsText") }}</span> 22 22 </button> 23 23 24 <button @click="downloadAsJson" type="button" class=" theme-flat">24 <button @click="downloadAsJson" type="button" class="btn-primary theme-flat"> 25 25 <span class="material-icons">integration_instructions</span> 26 26 <span>{{ translations.get("TranscriptionItem_DownloadAsJson") }}</span> 27 27 </button> 28 28 29 <button @click="downloadAsWebvtt" type="button" class=" theme-flat">29 <button @click="downloadAsWebvtt" type="button" class="btn-primary theme-flat"> 30 30 <span class="material-icons">subtitles</span> 31 31 <span>{{ translations.get("TranscriptionItem_DownloadAsWebvtt") }}</span> … … 34 34 </div> 35 35 36 <button class=" theme-error" @click="remove" type="button">36 <button class="btn-primary theme-error" @click="remove" type="button"> 37 37 <span class="material-icons">delete</span> 38 38 <span>{{ translations.get("TranscriptionItem_Remove") }}</span> … … 40 40 </div> 41 41 42 <TranscriptionItemEditor :transcription="transcription" />43 44 42 <hr /> 45 43 46 <button @click="toggleEditor" type="button" class="theme-flat"> 47 <span class="material-icons" :class="{ 'transform-rotate180': showEditor }">expand_more</span> 44 <TranscriptionItemEditor :transcription="transcription" style="margin-bottom: 1em" /> 45 46 <button @click="toggleEditor" type="button" class="btn-primary theme-flat"> 47 <span class="material-icons expander-toggle" :class="{ 'rotate-180': showEditor }">expand_more</span> 48 48 <span>{{ translations.get("TranscriptionItem_ExpandEditor") }}</span> 49 49 </button> … … 57 57 grid-template-columns: auto 1fr auto auto; 58 58 align-items: center; 59 60 margin-bottom: 0.5em;61 }62 63 .transcription__editor-container {64 display: flex;65 flex-direction: column;66 67 padding-top: 1em;68 59 } 69 60 … … 89 80 visibility: visible; 90 81 opacity: 1; 82 } 83 84 .expander-toggle { 85 transition-duration: 0.4s; 86 } 87 88 .rotate-180 { 89 transform: rotate(180deg); 91 90 } 92 91 </style>
Note:
See TracChangeset
for help on using the changeset viewer.