fix(assets): New toolbar icons, shadows to achieve less heavy edges on messages
Summary: Just visual changes Test Plan: Run tests Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1695
|
@ -133,8 +133,8 @@
|
||||||
padding: 0 0 5px 0;
|
padding: 0 0 5px 0;
|
||||||
|
|
||||||
background: @background-primary;
|
background: @background-primary;
|
||||||
border: 1px solid @border-secondary-bg;
|
border: 0;
|
||||||
box-shadow: 0 1px 1.5px rgba(0,0,0,0.14);
|
box-shadow: 0 0px 0.5px rgba(0, 0, 0, 0.28), 0 1px 1.5px rgba(0, 0, 0, 0.08);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
&:first-child { padding-top: 0; }
|
&:first-child { padding-top: 0; }
|
||||||
|
@ -245,7 +245,7 @@
|
||||||
border-right: 1px solid @border-color-divider;
|
border-right: 1px solid @border-color-divider;
|
||||||
border-left: 1px solid @border-color-divider;
|
border-left: 1px solid @border-color-divider;
|
||||||
background-color: darken(@background-primary, 2%);
|
background-color: darken(@background-primary, 2%);
|
||||||
box-shadow: 0 1px 1px rgba(0,0,0,0.1)
|
box-shadow: 0 1px 1px rgba(0,0,0,0.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -355,8 +355,8 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
border: 1px solid @border-secondary-bg;
|
border: 0;
|
||||||
box-shadow: 0 1px 1.5px rgba(0,0,0,0.14);
|
box-shadow: 0 0px 0.5px rgba(0, 0, 0, 0.28), 0 1px 1.5px rgba(0, 0, 0, 0.08);
|
||||||
border-top: 1px dashed @border-color-divider;
|
border-top: 1px dashed @border-color-divider;
|
||||||
border-radius: 0 0 4px 4px;
|
border-radius: 0 0 4px 4px;
|
||||||
background: @background-primary;
|
background: @background-primary;
|
||||||
|
|
|
@ -20,8 +20,8 @@ class ModeToggle extends React.Component
|
||||||
render: =>
|
render: =>
|
||||||
return <div></div> unless @state.visible
|
return <div></div> unless @state.visible
|
||||||
|
|
||||||
<div className="mode-toggle mode-#{@state.mode}"
|
<div className="btn btn-toolbar mode-toggle mode-#{@state.mode}"
|
||||||
style={order:51, marginTop:10, marginRight:14}
|
style={order:51}
|
||||||
onClick={@_onToggleMode}>
|
onClick={@_onToggleMode}>
|
||||||
<RetinaImg
|
<RetinaImg
|
||||||
name="toolbar-icon-toggle-pane.png"
|
name="toolbar-icon-toggle-pane.png"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
.mode-toggle {
|
.mode-toggle {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
padding-top:5px;
|
||||||
.content-mask {
|
.content-mask {
|
||||||
background-color: @text-color-subtle;
|
background-color: @text-color-subtle;
|
||||||
}
|
}
|
||||||
|
|
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 279 B |
Before Width: | Height: | Size: 610 B |
Before Width: | Height: | Size: 230 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 50 KiB |