Skip to content

Commit

Permalink
css list items are black and adjusted size, close sidebar on login
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Medesan committed Jan 25, 2021
1 parent d5f8c85 commit c061778
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/customizations/components/theme/Anontools/Anontools.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Anontools extends Component {
content: PropTypes.shape({
'@id': PropTypes.string,
}),
handleClick: PropTypes.func,
};

/**
Expand All @@ -51,6 +52,7 @@ class Anontools extends Component {
<Menu pointing secondary floated="right">
<Menu.Item className="sign-in">
<Link
onClick={this.props.handleClick}
aria-label="login"
to={`/login${
this.props.content
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ class Navigation extends Component {
onClick={this.handleClick}
className="languages-title-list"
>
<Icon name="dropdown" />
EEA homepage in your language
</Accordion.Title>
<Accordion.Content active={activeIndex === 0}>
Expand All @@ -290,7 +289,7 @@ class Navigation extends Component {
<div className="tools-search-wrapper">
{!this.props.token && (
<div className="tools">
<Anontools />
<Anontools handleClick={this.closeMobileMenu} />
</div>
)}
<div className="search">
Expand Down
9 changes: 9 additions & 0 deletions theme/site/elements/input.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
padding-left: 0.5em !important;
}

.ui.list > .item a.suggested-item {
font-size: 16px;
color: black;
}

.languages-list {
ul&.ui.list li:before,
&.ui.bulleted.list .list > .item:before,
Expand All @@ -98,6 +103,10 @@
cursor: pointer;
line-height: normal;
font-size: .7rem;

@media only screen and (max-width: @mobileWidth) {
font-size: .9rem;
}
}

@media only screen and (max-width: @mobileWidth) {
Expand Down

0 comments on commit c061778

Please sign in to comment.