Browse Source

Fix social nav hover colors.

Jeff Ong 4 years ago
parent
commit
26db0b5daa
4 changed files with 5 additions and 10 deletions
  1. 1 2
      spearhead/assets/sass/_header.scss
  2. 2 4
      spearhead/style-rtl.css
  3. 2 4
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 1 - 2
spearhead/assets/sass/_header.scss

@@ -126,8 +126,7 @@ $site-branding-height: 68px;
 			}
 		}
 
-		li:first-of-type > a,
-		a {
+		.menu-item > a {
 			padding: 0;
 
 			&:hover {

+ 2 - 4
spearhead/style-rtl.css

@@ -314,13 +314,11 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	}
 }
 
-.site-header .social-navigation li:first-of-type > a,
-.site-header .social-navigation a {
+.site-header .social-navigation .menu-item > a {
 	padding: 0;
 }
 
-.site-header .social-navigation li:first-of-type > a:hover,
-.site-header .social-navigation a:hover {
+.site-header .social-navigation .menu-item > a:hover {
 	border-color: transparent;
 	color: var(--global--color-primary);
 }

+ 2 - 4
spearhead/style.css

@@ -314,13 +314,11 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	}
 }
 
-.site-header .social-navigation li:first-of-type > a,
-.site-header .social-navigation a {
+.site-header .social-navigation .menu-item > a {
 	padding: 0;
 }
 
-.site-header .social-navigation li:first-of-type > a:hover,
-.site-header .social-navigation a:hover {
+.site-header .social-navigation .menu-item > a:hover {
 	border-color: transparent;
 	color: var(--global--color-primary);
 }

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff