Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Removed Quick Open dropdown menu border and tweaked its dropshadow to compensate #7316

Merged
merged 1 commit into from
Mar 26, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -1293,11 +1293,14 @@ textarea.exclusions-editor {

.smart_autocomplete_container {
// the borders show up even if the container is empty, must set height to zero using JS.
border: 1px solid @tc-gray-panel-border;
background-color: @tc-gray-panel;
border-radius: 0 0 4px 4px;
box-shadow: @tc-normal-shadow-bottom;
opacity: 0;

// Need this for border-radius because there are no borders
overflow: hidden;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed? I commented it out and couldn't see any difference.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To stop the corners of the last item to come out of the parent container.


.animation (autocomplete, 90ms, cubic-bezier(.01, .91, 0, .99), 0, 1);
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/brackets_colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
@tc-panel-border-radius: 5px;
@tc-small-shadow-top: 0 -1px 3px rgba(0, 0, 0, 0.12);
@tc-small-shadow-bottom: 0 1px 3px rgba(0, 0, 0, 0.12);
@tc-normal-shadow-bottom: 0 5px 10px rgba(0, 0, 0, 0.1);
@tc-normal-shadow-bottom: 0 5px 10px rgba(0, 0, 0, 0.21);
@tc-highlight: #e0f0fa;
@tc-selected-row: #d0d5d5;
@tc-hover-highlight: rgba(255, 255, 255, 0.6);
Expand Down