summaryrefslogtreecommitdiff
path: root/src/components/_sila/Global/PopoverInfo.vue
blob: 4b1b0b0dba30bd4caf0ac4deaa7dc7557ff1fcb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
  <b-popover :target="id" triggers="hover" placement="top">
    <span class="regular-12px">{{ description }}</span>
  </b-popover>
</template>

<script>
export default {
  props: {
    description: {
      type: String,
      default: '',
    },
    id: {
      type: String,
      default: '',
    },
  },
};
</script>
<style lang="scss" scoped>
.popover::v-deep {
  background-color: #040a0f;
  width: 168px;
  height: 76px;
}

.popover::v-deep .arrow {
  visibility: visible;
}

.popover::v-deep .arrow::after {
  border-top-color: #040a0f;
  border-bottom-color: #040a0f;
}

.regular-12px {
  color: $white;
}
</style>