Display svg elements as image
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
p Add those elements!
|
if svg_element.isLoading
|
||||||
ul
|
span.fa.fa-2x.fa-spinner.fa-spin
|
||||||
each svg_element in svg_elements
|
else
|
||||||
li: a{action "addSectionElement" svg_element}= svg_element.name
|
ul.add-section-element-list
|
||||||
|
each svg_element in svg_elements
|
||||||
|
li: a{action "addSectionElement" svg_element}= svg svg_element.svg
|
||||||
hr
|
hr
|
||||||
button.modal-close{action "close"}=t 'section.add_section.modal.close_button'
|
button.modal-close{action "close"}=t 'section.add_section.modal.close_button'
|
||||||
|
|||||||
@@ -4,3 +4,4 @@ $qbrown-active: lighten($qbrown, 20%)
|
|||||||
$wood: image-url('textures/theme1.jpg')
|
$wood: image-url('textures/theme1.jpg')
|
||||||
$background-brown: #57351f
|
$background-brown: #57351f
|
||||||
$current-color: #fc3
|
$current-color: #fc3
|
||||||
|
$active-color: #fc3
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
.add-section-element-list
|
||||||
|
list-style: none
|
||||||
|
li
|
||||||
|
list-style: none
|
||||||
|
float: left
|
||||||
|
margin-right: 10px
|
||||||
|
margin-bottom: 10px
|
||||||
|
width: 80px
|
||||||
|
border: 2px outset #aaa
|
||||||
|
&:hover
|
||||||
|
border-color: $active-color
|
||||||
Reference in New Issue
Block a user