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

Commit 8c3bc01

Browse files
committed
Merge pull request #7279 from adobe/larz/missed-a-spot
Missed a few spots in the UI Polish PR
2 parents c0eb5be + e3e41e9 commit 8c3bc01

5 files changed

Lines changed: 25 additions & 16 deletions

File tree

src/extensions/default/QuickView/QuickView.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
transform: scale(0);
99
opacity: 0;
1010

11-
background: #e0e1e3;
11+
background: #dfe2e2;
1212
position: absolute;
1313
z-index: 5000;
1414
pointer-events: none;
@@ -17,7 +17,7 @@
1717
text-align: center;
1818

1919
border-radius: 4px;
20-
box-shadow: 0 4px 15px rgba(0,0,0,0.25), inset 0 0 0 1px #a6a6a6, inset 0 0 0 2px #ebedec;
20+
box-shadow: 0 4px 15px rgba(0,0,0,0.21), inset 0 0 0 1px #b2b5b5, inset 0 0 0 2px #ebedec;
2121
}
2222

2323
#quick-view-container.active {
@@ -29,7 +29,7 @@
2929
#quick-view-container .preview-content {
3030
background-image: url(preview_bg.png);
3131
border-radius: 2px;
32-
border: 1px solid #a6a8a8;
32+
border: 1px solid #b2b5b5;
3333
}
3434

3535

@@ -50,8 +50,8 @@
5050
}
5151

5252
#quick-view-container .img-size {
53-
background-color: #c8cac9;
54-
border-top: 1px solid #a6a8a8;
53+
background-color: #d4d7d7;
54+
border-top: 1px solid #b2b5b5;
5555
font-size: 0.9em;
5656
color: #565656;
5757
padding-left: 3px;

src/extensions/default/QuickView/point.svg

Lines changed: 3 additions & 3 deletions
Loading

src/extensions/default/RecentProjects/styles/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@
5050
/* TODO: style the dropdown content */
5151
#project-dropdown.dropdown-menu {
5252
position: absolute;
53+
54+
/* offset for better alignment with the button */
55+
margin-top: -1px;
56+
margin-left: 1px;
57+
5358
display: block;
5459
max-width: none;
5560
z-index: 100;

src/styles/brackets_patterns_override.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ a:focus {
233233
.dropdown-menu {
234234
.animation(dropdown, 90ms, cubic-bezier(0, .97, .2, .99), 0, 1);
235235
-webkit-transform-origin: 0 0;
236+
border: none;
237+
border-radius: @tc-control-border-radius;
236238
}
237239

238240
@-webkit-keyframes dropdown {
@@ -290,7 +292,8 @@ a:focus {
290292

291293
// Menu dropdown appearance
292294
.dropdown-menu {
293-
top: 34px; // Offset from top of menubar item
295+
// Offset for better alignment with button
296+
top: 34px;
294297
margin-top: 0;
295298

296299
// Fix for #4593: don't let narrow parent (menubar item) cause text wrap at the float boundary between
Lines changed: 8 additions & 7 deletions
Loading

0 commit comments

Comments
 (0)