From ef529b3a1db8d769bba30ff0891d9d4a4669aacb Mon Sep 17 00:00:00 2001 From: Alberto Maturano Date: Thu, 27 Aug 2015 19:07:04 -0500 Subject: [PATCH] Grouping selectors --- src/definitions/elements/input.less | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/definitions/elements/input.less b/src/definitions/elements/input.less index cd1fb954e1..42b7ffca0a 100755 --- a/src/definitions/elements/input.less +++ b/src/definitions/elements/input.less @@ -339,21 +339,26 @@ } /* Regular Label on Right */ -.ui[class*="right labeled"].input > input, -.ui[class*="both sides labeled"].input > input { +.ui[class*="right labeled"].input > input { border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; } -.ui[class*="right labeled"].input > .label, -.ui.both.sides.labeled.input > input + .label { +.ui[class*="right labeled"].input > .label { border-top-left-radius: 0px; border-bottom-left-radius: 0px; } -/* Both Sides Labeled (redo right label radius) */ +/* Regular Labels on Both Sides */ +.ui.both.sides.labeled.input > input { + border-top-right-radius: 0px; + border-bottom-right-radius: 0px; +} .ui.both.sides.labeled.input > input + .label { - border-top-right-radius: @borderRadius !important; - border-bottom-right-radius: @borderRadius !important; + border-top-left-radius: 0px; + border-bottom-left-radius: 0px; + /* Redo input's radius removed by the "left label" */ + border-top-right-radius: @borderRadius; + border-bottom-right-radius: @borderRadius; } /* Corner Label */