Feat: News in the client app (#34392)

This commit is contained in:
Stuart Taylor
2018-11-29 12:12:15 +00:00
committed by Valeriy
parent 28798dc008
commit d327a5c36b
87 changed files with 2334 additions and 1403 deletions

View File

@@ -7,7 +7,6 @@ header {
#top-nav {
background: #006400;
margin-bottom: 0.45rem;
height: 38px;
margin-bottom: 0px;
border-radius: 0;
@@ -42,7 +41,8 @@ header {
justify-content: space-around;
}
#top-right-nav a, #top-right-nav img {
#top-right-nav a,
#top-right-nav img {
max-height: 40px;
}
@@ -62,15 +62,43 @@ header {
justify-content: center;
align-items: center;
height: 100%;
margin: 0 3px;
margin: 0 5px;
}
#top-right-nav li > a, #top-right-nav li > span {
color:#fff;
#top-right-nav li,
#top-right-nav li > a {
color: #fff;
font-size: 17px;
}
#top-right-nav li > a:hover, #top-right-nav li > a:focus {
#top-right-nav li:hover,
#top-right-nav li:hover a,
#top-right-nav li > a:hover,
#top-right-nav li:focus,
#top-right-nav li:focus a,
#top-right-nav li > a:focus {
background-color: #fff;
color: #006400;
}
li.user-state-link,
li.user-state-link:hover,
li.user-state-link:focus,
li.user-state-link > a,
li.user-state-link > a:hover,
li.user-state-link > a:focus {
background-color: #006400 !important;
}
#top-right-nav {
margin-left: 20px;
}
#top-right-nav li:last-child {
margin-right: 30px;
}
#top-right-nav li > a:hover,
#top-right-nav li > a:focus {
text-decoration: none;
}
@@ -92,4 +120,4 @@ header {
}
.ais-Hits {
background-color: #fff;
}
}

View File

@@ -30,6 +30,9 @@ function Header({ disableSettings }) {
</a>
</li>
<li>
<Link to='/news'>News</Link>
</li>
<li className='user-state-link'>
<UserState disableSettings={disableSettings} />
</li>
</ul>