Browse Source

refactoring

zahmis 5 years ago
parent
commit
0b852129fb

+ 4 - 8
src/client/styles/scss/theme/_apply-colors-dark.scss

@@ -264,14 +264,10 @@ ul.pagination {
 
 .grw-btn-slack {
   background-color: black;
-}
-
-.grw-btn-slack:focus {
-  background-color: black;
-}
-
-.grw-btn-slack:hover {
-  background-color: black;
+  &:focus,
+  &:hover {
+    background-color: black;
+  }
 }
 
 .grw-btn-slack-triangle {

+ 4 - 7
src/client/styles/scss/theme/_apply-colors-light.scss

@@ -197,14 +197,11 @@ $table-hover-bg: $bgcolor-table-hover;
 
 .grw-btn-slack {
   background-color: white;
-}
-
-.grw-btn-slack:hover {
-  background-color: white;
-}
 
-.grw-btn-slack:focus {
-  background-color: white;
+  &:hover,
+  &:focus {
+    background-color: white;
+  }
 }
 
 .grw-btn-slack-triangle {