Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Improve styling of URL attachment menuitem in side menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ottosichert committed Oct 5, 2017
1 parent 531f07c commit 979696c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions src/assets/css/attachments.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
.subheader-attachurl {
cursor: pointer;
position: relative;
width: 100%;
display: block;
padding: .75rem 1.25rem;
text-decoration: none !important;
background-color: $brand-light-color;
color: $brand-font-color;
}

.subheader-attachurl:hover {
background-color: $brand-color-primary;
color: #fff;
}

.subheader-attachurl:focus {
background-color: $brand-color-primary;
color: #fff;
}

.subheader-attachurl i {
margin-right: 5px;
}

.panel-attachurl {
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/Attachments.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Attachments extends Component {

return (
<div
className="subheader-item js-subheader-item"
className="subheader-attachurl"
onClick={this.handleClickAttachUrl}
>
{counterpart.translate('window.attachment.url.add')}
Expand Down

0 comments on commit 979696c

Please sign in to comment.