[PATCH] [Wok] Fixed underline text-decoration with .btn-link classes

From: Samuel Guimarães <sguimaraes943@gmail.com> This patch removes an empty underline when putting the mouse over .btn-link buttons with icons. Samuel Guimarães (1): Fixed underline text-decoration with .btn-link classes ui/css/bootstrap.custom.css | 6 +++--- ui/css/src/modules/_buttons.scss | 9 +++++++++ ui/css/wok.css | 8 ++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) -- 1.9.3

From: Samuel Guimarães <sguimaraes943@gmail.com> This commit removes an empty underline when putting the mouse over .btn-link buttons with icons. Signed-off-by: Samuel Guimarães <sguimaraes943@gmail.com> --- ui/css/bootstrap.custom.css | 6 +++--- ui/css/src/modules/_buttons.scss | 9 +++++++++ ui/css/wok.css | 8 ++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ui/css/bootstrap.custom.css b/ui/css/bootstrap.custom.css index 950e41b..c69939c 100644 --- a/ui/css/bootstrap.custom.css +++ b/ui/css/bootstrap.custom.css @@ -3460,9 +3460,9 @@ tbody.collapse.in { display: table-cell; } -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { +.input-group-addon:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child), +.input-group-btn:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child), +.input-group .form-control:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child) { border-radius: 0; } diff --git a/ui/css/src/modules/_buttons.scss b/ui/css/src/modules/_buttons.scss index 077a21f..a8f9efa 100644 --- a/ui/css/src/modules/_buttons.scss +++ b/ui/css/src/modules/_buttons.scss @@ -31,6 +31,15 @@ font-size: 11.5pt; } + +.btn-link:hover { + text-decoration: none; +} + +.btn-link:hover > span { + text-decoration: underline; +} + .btn-login { @include button-variant($btn-login-color, $btn-login-bg, $btn-login-border); } \ No newline at end of file diff --git a/ui/css/wok.css b/ui/css/wok.css index b0f2908..55308c0 100644 --- a/ui/css/wok.css +++ b/ui/css/wok.css @@ -344,6 +344,14 @@ body { font-size: 11.5pt; } +.btn-link:hover { + text-decoration: none; +} + +.btn-link:hover > span { + text-decoration: underline; +} + .btn-login { color: #fff; background-color: #008abf; -- 1.9.3

Reviewed-by: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com> On Wed, May 04, 2016 at 06:09:05PM -0300, sguimaraes943@gmail.com wrote:
From: Samuel Guimarães <sguimaraes943@gmail.com>
This commit removes an empty underline when putting the mouse over .btn-link buttons with icons.
Signed-off-by: Samuel Guimarães <sguimaraes943@gmail.com> --- ui/css/bootstrap.custom.css | 6 +++--- ui/css/src/modules/_buttons.scss | 9 +++++++++ ui/css/wok.css | 8 ++++++++ 3 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/ui/css/bootstrap.custom.css b/ui/css/bootstrap.custom.css index 950e41b..c69939c 100644 --- a/ui/css/bootstrap.custom.css +++ b/ui/css/bootstrap.custom.css @@ -3460,9 +3460,9 @@ tbody.collapse.in { display: table-cell; }
-.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { +.input-group-addon:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child), +.input-group-btn:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child), +.input-group .form-control:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child) { border-radius: 0; }
diff --git a/ui/css/src/modules/_buttons.scss b/ui/css/src/modules/_buttons.scss index 077a21f..a8f9efa 100644 --- a/ui/css/src/modules/_buttons.scss +++ b/ui/css/src/modules/_buttons.scss @@ -31,6 +31,15 @@ font-size: 11.5pt; }
+ +.btn-link:hover { + text-decoration: none; +} + +.btn-link:hover > span { + text-decoration: underline; +} + .btn-login { @include button-variant($btn-login-color, $btn-login-bg, $btn-login-border); } \ No newline at end of file diff --git a/ui/css/wok.css b/ui/css/wok.css index b0f2908..55308c0 100644 --- a/ui/css/wok.css +++ b/ui/css/wok.css @@ -344,6 +344,14 @@ body { font-size: 11.5pt; }
+.btn-link:hover { + text-decoration: none; +} + +.btn-link:hover > span { + text-decoration: underline; +} + .btn-login { color: #fff; background-color: #008abf; -- 1.9.3
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
participants (3)
-
Aline Manera
-
joserz@linux.vnet.ibm.com
-
sguimaraes943@gmail.com