chevrons-downs, settings
This commit is contained in:
parent
8b3a7ae8c0
commit
e8650d3409
14 changed files with 97 additions and 20 deletions
|
@ -2,6 +2,20 @@ import ColorInput from '../color_input/color_input.vue'
|
|||
import OpacityInput from '../opacity_input/opacity_input.vue'
|
||||
import { getCssShadow } from '../../services/style_setter/style_setter.js'
|
||||
import { hex2rgb } from '../../services/color_convert/color_convert.js'
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
faTimes,
|
||||
faChevronDown,
|
||||
faChevronUp,
|
||||
faPlus
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
library.add(
|
||||
faChevronDown,
|
||||
faChevronUp,
|
||||
faTimes,
|
||||
faPlus
|
||||
)
|
||||
|
||||
const toModel = (object = {}) => ({
|
||||
x: 0,
|
||||
|
|
|
@ -78,35 +78,35 @@
|
|||
{{ $t('settings.style.shadows.shadow_id', { value: index }) }}
|
||||
</option>
|
||||
</select>
|
||||
<i class="icon-down-open" />
|
||||
<FAIcon icon="chevron-down" class="icon-down-open" />
|
||||
</label>
|
||||
<button
|
||||
class="btn btn-default"
|
||||
:disabled="!ready || !present"
|
||||
@click="del"
|
||||
>
|
||||
<i class="icon-cancel" />
|
||||
<FAIcon fixed-width icon="times" />
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-default"
|
||||
:disabled="!moveUpValid"
|
||||
@click="moveUp"
|
||||
>
|
||||
<i class="icon-up-open" />
|
||||
<FAIcon fixed-width icon="chevron-up" />
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-default"
|
||||
:disabled="!moveDnValid"
|
||||
@click="moveDn"
|
||||
>
|
||||
<i class="icon-down-open" />
|
||||
<FAIcon fixed-width icon="chevron-down" />
|
||||
</button>
|
||||
<button
|
||||
class="btn btn-default"
|
||||
:disabled="usingFallback"
|
||||
@click="add"
|
||||
>
|
||||
<i class="icon-plus" />
|
||||
<FAIcon fixed-width icon="plus" />
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue