mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[cm6] dark mode for toolbar dropdowns (#13870)
GitOrigin-RevId: e220edddc678dd05c4c5d1927a5fcac379cd6ed5
This commit is contained in:
parent
c21b8e31fd
commit
79f07e5626
1 changed files with 7 additions and 0 deletions
|
@ -71,6 +71,7 @@ export const toolbarPanel = () => [
|
||||||
},
|
},
|
||||||
'& .list-group': {
|
'& .list-group': {
|
||||||
marginBottom: 0,
|
marginBottom: 0,
|
||||||
|
backgroundColor: 'var(--editor-toolbar-bg)',
|
||||||
},
|
},
|
||||||
'& .list-group-item': {
|
'& .list-group-item': {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
@ -78,6 +79,12 @@ export const toolbarPanel = () => [
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: '5px',
|
gap: '5px',
|
||||||
|
color: 'var(--toolbar-btn-color)',
|
||||||
|
borderColor: 'var(--editor-toolbar-bg)',
|
||||||
|
background: 'none',
|
||||||
|
'&:hover, &:focus': {
|
||||||
|
backgroundColor: 'rgba(125, 125, 125, 0.2)',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'.ol-cm-toolbar-button-group': {
|
'.ol-cm-toolbar-button-group': {
|
||||||
|
|
Loading…
Reference in a new issue