|
33 | 33 | in the whole world. Can you? Touch devices supported
|
34 | 34 | </p>
|
35 | 35 | <b-row class={s.nestable}>
|
36 |
| - <b-col md="6" xs="12" className="mb-xs"> |
| 36 | + <b-col md="6" xs="12" className="mb-sm-1"> |
37 | 37 | <DraggableTree class="tree" :data="nestableFirstItems"
|
38 | 38 | draggable="draggable" cross-tree="cross-tree">
|
39 | 39 | <div slot-scope="{data, store}">
|
|
43 | 43 | v-if="data.children && data.children.length"
|
44 | 44 | @click="store.toggleOpen(data)"
|
45 | 45 | >
|
46 |
| - <span class="bg-default border circle mr-sm">{{data.open ? '-' : '+'}}</span> |
| 46 | + <span class="bg-secondary border circle me-3 text-white">{{data.open ? '-' : '+'}}</span> |
47 | 47 | </div>
|
48 |
| - <span :class="{ 'px-4 py-3 border list-element d-flex': true, |
| 48 | + <div :class="{ 'px-3 py-3 border list-element d-flex': true, |
49 | 49 | 'no-child': !data.children.length }">
|
50 |
| - <div class="drag bg-default px-4 py-3"> |
51 |
| - <i class="fa fa-bars"></i> |
| 50 | + <div class="drag bg-secondary px-3 py-3"> |
| 51 | + <i class="fa fa-bars text-white"></i> |
52 | 52 | </div>
|
53 | 53 | <span class="ml">{{data.text}}</span>
|
54 |
| - </span> |
| 54 | + </div> |
55 | 55 | </div>
|
56 | 56 | </template>
|
57 | 57 | </div>
|
|
67 | 67 | v-if="data.children && data.children.length"
|
68 | 68 | @click="store.toggleOpen(data)"
|
69 | 69 | >
|
70 |
| - <span class="bg-default border circle mr-sm">{{data.open ? '-' : '+'}}</span> |
| 70 | + <span class="bg-secondary border circle me-3 text-white">{{data.open ? '-' : '+'}}</span> |
71 | 71 | </div>
|
72 |
| - <span :class="{ 'px-4 py-3 border list-element d-flex': true, |
| 72 | + <div :class="{ 'px-3 py-3 border list-element d-flex': true, |
73 | 73 | 'no-child': !data.children.length }">
|
74 |
| - <div class="drag bg-default px-4 py-3"> |
75 |
| - <i class="fa fa-bars"></i> |
| 74 | + <div class="drag bg-secondary px-3 py-3"> |
| 75 | + <i class="fa fa-bars text-white"></i> |
76 | 76 | </div>
|
77 | 77 | <span class="ml">{{data.text}}</span>
|
78 |
| - </span> |
| 78 | + </div> |
79 | 79 | </div>
|
80 | 80 | </template>
|
81 | 81 | </div>
|
|
0 commit comments