From a5b5294c8278f83e21c9f16177cbe6be3b289e61 Mon Sep 17 00:00:00 2001 From: Siddharth Varshney Date: Wed, 25 Mar 2020 05:36:49 +0530 Subject: [PATCH] css: Use SCSS nesting for `.team input` in portico.scss. --- static/styles/portico/portico.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/styles/portico/portico.scss b/static/styles/portico/portico.scss index a77808965a..6cd1738ddb 100644 --- a/static/styles/portico/portico.scss +++ b/static/styles/portico/portico.scss @@ -799,6 +799,12 @@ a.bottom-signup-button { .team input { display: none; + + &:checked + label { + border: 1px solid hsl(0, 0%, 93%); + border-top: 2px solid hsl(80, 61%, 50%); + border-bottom-color: hsl(0, 0%, 100%); + } } .team label { @@ -813,12 +819,6 @@ a.bottom-signup-button { } } -.team input:checked + label { - border: 1px solid hsl(0, 0%, 93%); - border-top: 2px solid hsl(80, 61%, 50%); - border-bottom-color: hsl(0, 0%, 100%); -} - .contributors-list { margin-left: -40px; width: calc(100% + 80px);