[WIP] Use FontAwesome Component for Vue (#3127)
* wip * Rename * Clean up * Clean up * wip * wip * Enable tree shaking * ✌️ * ✌️ * wip * wip * Clean up
This commit is contained in:
@@ -8,8 +8,12 @@
|
||||
>
|
||||
<h1><slot name="header"></slot></h1>
|
||||
<div>
|
||||
<button class="popout" v-if="popoutUrl" @mousedown.stop="() => {}" @click="popout" title="%i18n:@popout%">%fa:R window-restore%</button>
|
||||
<button class="close" v-if="canClose" @mousedown.stop="() => {}" @click="close" title="%i18n:@close%">%fa:times%</button>
|
||||
<button class="popout" v-if="popoutUrl" @mousedown.stop="() => {}" @click="popout" title="%i18n:@popout%">
|
||||
<i><fa :icon="['far', 'window-restore']"/></i>
|
||||
</button>
|
||||
<button class="close" v-if="canClose" @mousedown.stop="() => {}" @click="close" title="%i18n:@close%">
|
||||
<i><fa icon="times"/></i>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
<div class="content">
|
||||
@@ -612,7 +616,8 @@ export default Vue.extend({
|
||||
&:active
|
||||
color var(--faceTextButtonActive)
|
||||
|
||||
> [data-fa]
|
||||
> i
|
||||
display inline-block
|
||||
padding 0
|
||||
width $header-height
|
||||
line-height $header-height
|
||||
|
Reference in New Issue
Block a user