From 79ca738d05973ef4ea63424c1a14687dae775e30 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 17 Jul 2015 13:48:01 -0400 Subject: [PATCH] #2655 Fixes vertical basic buttons not aligned correctly --- src/definitions/elements/button.less | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/definitions/elements/button.less b/src/definitions/elements/button.less index 02c2a5d5d..85695fd1b 100755 --- a/src/definitions/elements/button.less +++ b/src/definitions/elements/button.less @@ -1232,7 +1232,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @blackDown inset !important; color: @blackDown !important; } -.ui.buttons > .basic.black.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.black.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -1370,7 +1370,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @greyDown inset !important; color: @greyDown !important; } -.ui.buttons > .basic.grey.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.grey.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -1509,7 +1509,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @brownDown inset !important; color: @brownDown !important; } -.ui.buttons > .basic.brown.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.brown.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -1647,7 +1647,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @blueDown inset !important; color: @blueDown !important; } -.ui.buttons > .basic.blue.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.blue.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -1786,7 +1786,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @greenDown inset !important; color: @greenDown !important; } -.ui.buttons > .basic.green.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.green.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -1924,7 +1924,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @orangeDown inset !important; color: @orangeDown !important; } -.ui.buttons > .basic.orange.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.orange.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2062,7 +2062,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @pinkDown inset !important; color: @pinkDown !important; } -.ui.buttons > .basic.pink.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.pink.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2201,7 +2201,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @violetDown inset !important; color: @violetDown !important; } -.ui.buttons > .basic.violet.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.violet.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2339,7 +2339,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @purpleDown inset !important; color: @purpleDown !important; } -.ui.buttons > .basic.purple.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.purple.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2477,7 +2477,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @redDown inset !important; color: @redDown !important; } -.ui.buttons > .basic.red.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.red.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2616,7 +2616,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @tealDown inset !important; color: @tealDown !important; } -.ui.buttons > .basic.teal.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.teal.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2755,7 +2755,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @oliveDown inset !important; color: @oliveDown !important; } -.ui.buttons > .basic.olive.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.olive.button:not(:first-child) { margin-left: -@basicColoredBorderSize; } @@ -2893,7 +2893,7 @@ box-shadow: 0px 0px 0px @basicColoredBorderSize @yellowDown inset !important; color: @yellowDown !important; } -.ui.buttons > .basic.yellow.button:not(:first-child) { +.ui.buttons:not(.vertical) > .basic.yellow.button:not(:first-child) { margin-left: -@basicColoredBorderSize; }