Skip to content

Commit 59c30e5

Browse files
committed
fix: media query dropdown colors
1 parent 74cf16a commit 59c30e5

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

src/extensionsIntegrated/Phoenix-live-preview/live-preview.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,20 @@
109109
align-items: center;
110110
margin: 3.5px 4px 0 3px;
111111
cursor: pointer;
112-
background: #3C3F41;
112+
background: transparent;
113113
box-shadow: none;
114-
border: 1px solid #3C3F41;
114+
border: 1px solid transparent;
115115
box-sizing: border-box;
116116
color: #a0a0a0;
117117
padding: 0 0.35em;
118118
}
119119

120-
.lp-device-size-icon:hover {
121-
border: 1px solid rgba(0, 0, 0, 0.24) !important;
122-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
120+
.lp-device-size-icon:hover,
121+
.lp-device-size-icon:focus,
122+
.lp-device-size-icon:active {
123+
background: transparent !important;
124+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
125+
box-shadow: none !important;
123126
}
124127

125128
#deviceSizeBtn.btn-dropdown::after {
@@ -178,9 +181,12 @@
178181
padding: 0 0.35em;
179182
}
180183

181-
#livePreviewModeBtn:hover {
182-
border: 1px solid rgba(0, 0, 0, 0.24) !important;
183-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
184+
#livePreviewModeBtn:hover,
185+
#livePreviewModeBtn:focus,
186+
#livePreviewModeBtn:active {
187+
background: transparent !important;
188+
border: 1px solid rgba(255, 255, 255, 0.1) !important;
189+
box-shadow: none !important;
184190
}
185191

186192
#livePreviewModeBtn.btn-dropdown::after {

0 commit comments

Comments
 (0)