summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss
blob: ee07042111586aa8de9f863aaea1b49eabcf6c76 (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
@use './src/styles/vendor/variables' as vv;

/* Dropdown */
.dropdown-menu {
  min-width: 50px;
  z-index: 999999;

  button.dropdown-item:focus {
    outline: none;
  }
}

.dropdown-menu > li > a {
  cursor: pointer;
}

.dropdown-menu > li > a > i.fa {
  /** Add space between icon and text */
  margin-right: 5px;
}

.dropdown-menu > .active > a {
  background-color: vv.$primary;
  color: vv.$gray-200;

  &,
  &:hover,
  &:focus {
    background-color: darken(vv.$primary, 10);
  }
}

.dataTables_wrapper .dropdown-menu > li.dropdown-divider {
  cursor: auto;
}