summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_dropdown.scss
blob: 969c4c6824c05e609004a72cee11cc02bffd0869 (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
// Make calendar visible over the table
.dropdown-menu {
  z-index: $zindex-dropdown + 1;
  padding: 0;
}
.dropdown-item {
  padding-left: $spacer/4;
  margin-top: -1 * $spacer/4;
}
.b-dropdown-form {
  padding: $spacer/2;
  .form-group {
    margin-bottom: $spacer/2;
  }
}
// Table filter dropdown clear button style
.table-filter {
  .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");
    }
  }
}