summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch')
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch63
1 files changed, 63 insertions, 0 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch
new file mode 100644
index 0000000000..b50139d13e
--- /dev/null
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0075-IBS-custom-styles-_dropdown.scss.patch
@@ -0,0 +1,63 @@
+From 3b53c5e3193c43aa9cbf5628ef25678e1d102c82 Mon Sep 17 00:00:00 2001
+From: "Andrey V.Kosteltsev" <AKosteltsev@IBS.RU>
+Date: Tue, 28 Jun 2022 06:15:28 +0300
+Subject: [PATCH] IBS: custom styles _dropdown.scss
+
+---
+ src/assets/styles/bmc/custom/_dropdown.scss | 26 +++++++++++++++++----
+ 1 file changed, 22 insertions(+), 4 deletions(-)
+
+diff --git a/src/assets/styles/bmc/custom/_dropdown.scss b/src/assets/styles/bmc/custom/_dropdown.scss
+index 969c4c68..02e4e855 100644
+--- a/src/assets/styles/bmc/custom/_dropdown.scss
++++ b/src/assets/styles/bmc/custom/_dropdown.scss
+@@ -1,18 +1,36 @@
+ // Make calendar visible over the table
+ .dropdown-menu {
+ z-index: $zindex-dropdown + 1;
+- padding: 0;
++ padding: $spacer / 2;
++ border-radius: $border-radius;
+ }
++
+ .dropdown-item {
+- padding-left: $spacer/4;
+- margin-top: -1 * $spacer/4;
++ padding: $spacer / 4 $spacer / 2;
++ 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 {
+@@ -28,4 +46,4 @@
+ box-shadow: inset 0 0 0 2px theme-color("primary");
+ }
+ }
+-}
+\ No newline at end of file
++}
+--
+2.35.1
+