Skip to content

Commit 02a75e6

Browse files
changed css for dropdown (#2534)
* changed CSS for dropdown * removed border-radius Signed-off-by: msivasubramaniaan <msivasub@redhat.com>
1 parent 2d6785b commit 02a75e6

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/webview/devfile-registry/app/cardItem.style.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default (theme: Theme) =>
144144
backgroundColor: 'var(--vscode-button-background)',
145145
'&:hover': {
146146
cursor: 'pointer',
147-
backgroundColor: 'var(--vscode-button-hoverBackground)',
147+
backgroundColor: 'var(--vscode-button-hoverBackground)'
148148
},
149149
textTransform: 'none'
150150
},
@@ -229,27 +229,26 @@ export default (theme: Theme) =>
229229
},
230230
starterProjectSelected: {
231231
width: '95%',
232-
backgroundColor: 'var(--vscode-button-background)',
233-
color: '#ffffff',
234-
borderRadius: '0.375rem',
232+
backgroundColor: 'var(--vscode-list-activeSelectionBackground)',
233+
color: 'var(--vscode-list-activeSelectionForeground)',
235234
paddingLeft: '0.5rem',
236235
paddingTop: '0.2rem',
237236
paddingBottom: '0.2rem',
238237
cursor: 'default',
239-
'&:hover': {
240-
background: 'var(--vscode-button-hoverBackground)'
241-
}
238+
border: '0.5px solid',
239+
borderColor: 'var(--vscode-focusBorder)'
242240
},
243241
project: {
244242
width: '95%',
245-
borderRadius: '0.375rem',
246243
paddingLeft: '0.5rem',
247244
paddingTop: '0.2rem',
248245
paddingBottom: '0.2rem',
249246
cursor: 'default',
247+
backgroundColor: 'var(--vscode-list-focusBackground)',
248+
color: 'var(--vscode-list-focusForeground)',
250249
'&:hover': {
251-
backgroundColor: 'var(--vscode-editor-selectionHighlightBackground)',
252-
color: '#ffffff'
250+
background: 'var(--vscode-list-hoverBackground)',
251+
color: 'var(--vscode-list-hoverForeground)'
253252
}
254253
},
255254
display: {

0 commit comments

Comments
 (0)