summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss')
-rw-r--r--src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss b/src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss
new file mode 100644
index 000000000..ee0704211
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/src/styles/ceph-custom/_dropdown.scss
@@ -0,0 +1,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;
+}