Skip to content

Commit

Permalink
Context menu updates (#585)
Browse files Browse the repository at this point in the history
* Improved Right-click menu styling.

* Fixed spacing
  • Loading branch information
Luke Pacholski authored and gideonthomas committed Feb 11, 2017
1 parent 34406d3 commit 82172d6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/styles/bramble_overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,35 @@ li.jstree-leaf > a {
.bramble-inspector-highlight {
background: rgba(0, 135, 207, .3) !important;
}

/* Right-click File Menu */

.context-menu .dropdown-menu {
padding: 0;
border-radius: 0;
border: none;
}

.context-menu .dropdown-menu li a {
padding: 10px 12px;
line-height: 16px;
font-size: 16px;
cursor: pointer;
}

.context-menu .dropdown-menu li a:before {
display: none;
}

.context-menu .dropdown-menu li a:hover {
background: rgba(0,0,0,.1);
}

.dark .context-menu .dropdown-menu li a {
color: rgba(255,255,255,.8);
}

.dark .context-menu .dropdown-menu li a:hover {
background: rgba(255,255,255,.1);
color: rgba(255,255,255,1);
}

0 comments on commit 82172d6

Please sign in to comment.