[PATCH] [Wok] Added disabled and readonly states to Bootstrap Select

From: samhenri <samuel.guimaraes@eldorado.org.br> This patch fixes readonly and disabled states for Bootstrap Select elements initialized by selectpicker() in the UI. You can spot this changes in action when editing a Template if you apply "Fixed minor UI issues when saving edited template". samhenri (1): Added disabled and readonly states to Bootstrap Select ui/css/src/bootstrap-select.custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 1.9.3

From: samhenri <samuel.guimaraes@eldorado.org.br> Signed-off-by: samhenri <samuel.guimaraes@eldorado.org.br> --- ui/css/src/bootstrap-select.custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ui/css/src/bootstrap-select.custom.scss b/ui/css/src/bootstrap-select.custom.scss index 5667dfd..7224883 100644 --- a/ui/css/src/bootstrap-select.custom.scss +++ b/ui/css/src/bootstrap-select.custom.scss @@ -59,6 +59,18 @@ border-left-color: darken($btn-default-border, 25%); } } + > .disabled, + > .disabled:hover, + > .disabled:focus { + opacity: 1; + border-color: $btn-default-border; + background-color: $input-bg-disabled; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + .caret { + border-color: $btn-default-border; + } + } .dropdown-menu { z-index: 2035; } -- 1.9.3

On 04-01-2016 15:18, sguimaraes943@gmail.com wrote:
From: samhenri <samuel.guimaraes@eldorado.org.br>
This patch fixes readonly and disabled states for Bootstrap Select elements initialized by selectpicker() in the UI. You can spot this changes in action when editing a Template if you apply "Fixed minor UI issues when saving edited template".
samhenri (1): Added disabled and readonly states to Bootstrap Select
ui/css/src/bootstrap-select.custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Hi Samuel, I was not able to spot any difference with and without this patch. Could you please describe the expected UI differences? Thanks, -- Lucio Correia Software Engineer IBM LTC Brazil

Sorry, I forgot that the CSS files were removed from .gitignore. Sending a v2. Samuel -----Original Message----- From: kimchi-devel-bounces@ovirt.org [mailto:kimchi-devel-bounces@ovirt.org] On Behalf Of Lucio Correia Sent: segunda-feira, 4 de janeiro de 2016 15:56 To: kimchi-devel@ovirt.org Subject: Re: [Kimchi-devel] [PATCH] [Wok] Added disabled and readonly states to Bootstrap Select On 04-01-2016 15:18, sguimaraes943@gmail.com wrote:
From: samhenri <samuel.guimaraes@eldorado.org.br>
This patch fixes readonly and disabled states for Bootstrap Select elements initialized by selectpicker() in the UI. You can spot this changes in action when editing a Template if you apply "Fixed minor UI issues when saving edited template".
samhenri (1): Added disabled and readonly states to Bootstrap Select
ui/css/src/bootstrap-select.custom.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Hi Samuel, I was not able to spot any difference with and without this patch. Could you please describe the expected UI differences? Thanks, -- Lucio Correia Software Engineer IBM LTC Brazil _______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
participants (3)
-
Lucio Correia
-
Samuel Henrique De Oliveira Guimaraes
-
sguimaraes943@gmail.com