comparison client/src/components/map/layers/Layers.vue @ 1274:dc3fb8ad8f86

further improved box header style
author Markus Kottlaender <markus@intevation.de>
date Thu, 22 Nov 2018 07:23:14 +0100
parents bc55ffaeb639
children e9fb72fa6bae
comparison
equal deleted inserted replaced
1273:a76a06dd2f1e 1274:dc3fb8ad8f86
1 <template> 1 <template>
2 <div :class="['box ui-element rounded bg-white mb-auto text-nowrap', { expanded: showLayers }]"> 2 <div :class="['box ui-element rounded bg-white mb-auto text-nowrap', { expanded: showLayers }]">
3 <div style="width: 20rem"> 3 <div style="width: 20rem">
4 <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center bg-info text-white"> 4 <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center">
5 <i class="fa fa-th-list mr-2"></i> 5 <i class="fa fa-th-list mr-2"></i>
6 Layers 6 Layers
7 <i class="fa fa-times ml-auto" @click="$store.commit('application/showLayers', false)"></i> 7 <i class="fa fa-times ml-auto text-muted" @click="$store.commit('application/showLayers', false)"></i>
8 </h6> 8 </h6>
9 <div class="d-flex flex-column p-3 small"> 9 <div class="d-flex flex-column p-3 small">
10 <Layerselect 10 <Layerselect
11 v-for="(layer, index) in layersForLegend" 11 v-for="(layer, index) in layersForLegend"
12 :layerindex="index" 12 :layerindex="index"