summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_dropdown.scss
blob: 620c380c8b86ef3824d8f0031aa61c2839a73ac4 (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
41
42
43
44
45
46
47
48
49
// Make calendar visible over the table
.dropdown-menu {
  z-index: $zindex-dropdown + 1;
  padding: 0;
  border-radius: $border-radius;
}

.dropdown-item {
  padding: $spacer/4.9;
  margin: $spacer/4;
  width: auto;
  border-radius: $border-radius;
  &:hover {
    background-color: $red-hover;
    color: $white;
  }
  &:active {
    background-color: $red-active;
  }
  &:focus {
    outline: none;
    background-color: $red-click;
    box-shadow: inset 0 0 0 2px theme-color("primary");
  }
}

.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");
    }
  }
}