summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_dropdown.scss
blob: 1c3e48bab4a883fdee6787aeb63eb8ae00841db8 (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
.dropdown-item {
  padding-left: $spacer/2;
}

.b-dropdown-form {
  padding: $spacer/2;
  .form-group {
    margin-bottom: $spacer/2;
  }
}

// Adding component style to global stylesheet because
// single-file component scoped styles aren't
// being applied to dynamically appended elements
// The overflow menu should be above the table

.table-filter {
  .dropdown-menu {
    z-index: $zindex-dropdown + 1;
    padding: 0;
    .dropdown-item {
      &:hover {
        background-color: gray("200");
      }
      &:active {
        background-color: gray("300");
      }
      &:focus {
        outline: none;
        background-color: transparent;
        box-shadow: inset 0 0 0 2px theme-color("primary");
      }
    }
  }
}