annotate client/src/staging/Staging.vue @ 1213:9d93968db2cd

replaced custom css with bootstrap classes
author Markus Kottlaender <markus@intevation.de>
date Mon, 19 Nov 2018 14:13:01 +0100
parents 8df4ebbc5c3f
children 5a8e8ee9034d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1208
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 <template>
1213
9d93968db2cd replaced custom css with bootstrap classes
Markus Kottlaender <markus@intevation.de>
parents: 1208
diff changeset
2 <div v-if="showStagingArea" class="staging-card bg-white mx-auto rounded position-relative">
9d93968db2cd replaced custom css with bootstrap classes
Markus Kottlaender <markus@intevation.de>
parents: 1208
diff changeset
3 <div class="p-3">
1208
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
4 <div
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
5 @click="$store.commit('application/showStagingArea', !showStagingArea);"
1213
9d93968db2cd replaced custom css with bootstrap classes
Markus Kottlaender <markus@intevation.de>
parents: 1208
diff changeset
6 class="ui-element close-showStagingArea position-absolute"
1208
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
7 >
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
8 <i class="fa fa-close"></i>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
9 </div>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
10 <div class="card-title mb-4 headline">
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
11 <h4>Staging area</h4>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
12 <hr>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
13 </div>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
14 <div class="d-flex flex-row input-group mb-4"></div>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
15 </div>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
16 </div>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
17 </template>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
18
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
19 <script>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
20 import { mapState } from "vuex";
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
21 export default {
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
22 computed: {
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
23 ...mapState("application", ["showStagingArea"])
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
24 }
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
25 };
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
26 </script>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
27
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
28 <style lang="sass" scoped>
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
29 .close-showStagingArea
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
30 z-index: 2
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
31 right: 0
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
32 top: 7px
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
33 height: $icon-width
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
34 width: $icon-height
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
35
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
36 .staging-card
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
37 width: 30rem
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
38 height: 28rem
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
39 opacity: $slight-transparent
8df4ebbc5c3f staging area
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
40 </style>