mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-20 15:26:06 +08:00
🎨(themes): Fixes Windows button UI issues in #1649
This commit is contained in:
parent
85388c9cb5
commit
9cc235dbbb
|
@ -324,15 +324,6 @@ body.platform-win32 {
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: 9px 0 0 0;
|
margin: 9px 0 0 0;
|
||||||
}
|
}
|
||||||
.action.action-archive {
|
|
||||||
background: url(@archive-img) center no-repeat;
|
|
||||||
}
|
|
||||||
.action.action-trash {
|
|
||||||
background: url(@trash-img) center no-repeat;
|
|
||||||
}
|
|
||||||
.action.action-snooze {
|
|
||||||
background: url(@snooze-img) center no-repeat;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.thread-list .list-item:hover .list-column-HoverActions {
|
.thread-list .list-item:hover .list-column-HoverActions {
|
||||||
|
|
|
@ -698,6 +698,10 @@ body.is-blurred .list-tabular .list-tabular-item.keyboard-cursor {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.platform-win32 .sheet-toolbar-container .btn-toolbar:hover {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
// Centering vertially without magic numbers
|
// Centering vertially without magic numbers
|
||||||
.layout-mode-popout .toolbar-window-controls {
|
.layout-mode-popout .toolbar-window-controls {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
|
@ -105,9 +105,9 @@ class ToolbarMenuControl extends React.Component
|
||||||
@displayName: 'ToolbarMenuControl'
|
@displayName: 'ToolbarMenuControl'
|
||||||
render: =>
|
render: =>
|
||||||
<div className="toolbar-menu-control">
|
<div className="toolbar-menu-control">
|
||||||
<div className="btn btn-toolbar" onClick={@_openMenu}>
|
<button className="btn btn-toolbar" onClick={@_openMenu}>
|
||||||
<RetinaImg name="windows-menu-icon.png" mode={RetinaImg.Mode.ContentIsMask} />
|
<RetinaImg name="windows-menu-icon.png" mode={RetinaImg.Mode.ContentIsMask} />
|
||||||
</div>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
_openMenu: =>
|
_openMenu: =>
|
||||||
|
|
|
@ -390,7 +390,7 @@ body.platform-win32 {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background: none;
|
background: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #e5e5e5;
|
background: darken(@list-hover-bg, 5%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue