Skip to content

Commit b0ac67d

Browse files
author
Yeliazar
committed
updated listGroups
1 parent a880e28 commit b0ac67d

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

src/config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,14 @@ export default {
6767
['fifth','#d6dfe6'],
6868
['sixth','#13191d'],
6969
['seventh','#20ae8c'],
70-
['info', '#10CFD0']
70+
['info', '#10CFD0'],
71+
['primary', '#6FB0F9'],
72+
['secondary', '#798892'],
73+
['success', '#26CD5F'],
74+
['warning', '#EBB834'],
75+
['danger', '#FF5574'],
76+
['inverse', '#30324C'],
77+
['default', '#9083F7']
7178
],
7279
chartColors: {
7380
axisColor: '#8EA1AB'

src/pages/Ui/ListGroups/ListGroups.vue

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
in the whole world. Can you? Touch devices supported
3434
</p>
3535
<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">
3737
<DraggableTree class="tree" :data="nestableFirstItems"
3838
draggable="draggable" cross-tree="cross-tree">
3939
<div slot-scope="{data, store}">
@@ -43,15 +43,15 @@
4343
v-if="data.children && data.children.length"
4444
@click="store.toggleOpen(data)"
4545
>
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>
4747
</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,
4949
'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>
5252
</div>
5353
<span class="ml">{{data.text}}</span>
54-
</span>
54+
</div>
5555
</div>
5656
</template>
5757
</div>
@@ -67,15 +67,15 @@
6767
v-if="data.children && data.children.length"
6868
@click="store.toggleOpen(data)"
6969
>
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>
7171
</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,
7373
'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>
7676
</div>
7777
<span class="ml">{{data.text}}</span>
78-
</span>
78+
</div>
7979
</div>
8080
</template>
8181
</div>

0 commit comments

Comments
 (0)