fix(themes): Fix linter issues and relink images

This commit is contained in:
Jackie Luo 2016-03-10 11:53:52 -08:00
parent 263c3a152e
commit 73e01dabb4
3 changed files with 11 additions and 11 deletions

View file

@ -49,7 +49,7 @@
// Make sidebar and corresponding toolbar match // Make sidebar and corresponding toolbar match
.column-RootSidebar, .column-RootSidebar,
.account-sidebar, .account-sidebar,
.sheet-toolbar-container [data-column='0'] { .sheet-toolbar-container > div:nth-child(1) {
height: 100%; height: 100%;
background-color: @sidebar; background-color: @sidebar;
// If NOT Retina display, subpixel-antialias fonts instead // If NOT Retina display, subpixel-antialias fonts instead
@ -79,7 +79,7 @@
//==================================================== //====================================================
// Match alignment for toolbar above sidebar // Match alignment for toolbar above sidebar
.sheet-toolbar-container [data-column='0'] { .sheet-toolbar-container > div:nth-child(1) {
padding-left: @sidebar-margin; padding-left: @sidebar-margin;
padding-right: @sidebar-margin; padding-right: @sidebar-margin;
} }
@ -195,7 +195,7 @@
background-image: none; background-image: none;
background-color: @sidebar-text; background-color: @sidebar-text;
-webkit-mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
-webkit-mask-image: url(nylas://ui-darkside/images/down-arrow.svg); -webkit-mask-image: url(../static/images/ui-darkside/down-arrow.svg);
} }
.account-sidebar .item, .account-sidebar .item,
@ -332,7 +332,7 @@
// Make corresponding toolbar match threadlist background // Make corresponding toolbar match threadlist background
.column-ThreadList, .column-ThreadList,
.sheet-toolbar-container [data-column='1'] { .sheet-toolbar-container > div:nth-child(2) {
height: 100%; height: 100%;
background: @threadlist-bg; background: @threadlist-bg;
border-bottom: 1px solid @border-color; border-bottom: 1px solid @border-color;
@ -513,9 +513,9 @@ body.is-blurred .list-tabular .list-tabular-item.keyboard-cursor {
// Make toolbars match panels // Make toolbars match panels
.column-MessageList, .column-MessageList,
.sheet-toolbar-container [data-column='2'], .sheet-toolbar-container > div:nth-child(3),
.column-MessageListSidebar, .column-MessageListSidebar,
.sheet-toolbar-container [data-column='3'] { .sheet-toolbar-container > div:nth-child(4) {
height: 100%; height: 100%;
background: @messagelist-bg; background: @messagelist-bg;
border-left: 1px solid @border-color; border-left: 1px solid @border-color;
@ -625,7 +625,7 @@ body.is-blurred .list-tabular .list-tabular-item.keyboard-cursor {
.list-tabular .list-tabular-item.selected .checkmark .inner { .list-tabular .list-tabular-item.selected .checkmark .inner {
background-color: @accent; background-color: @accent;
background-image: url(nylas://ui-darkside/images/checkmark.svg); background-image: url(../static/images/ui-darkside/checkmark.svg);
background-size: 8px 6px; background-size: 8px 6px;
} }
@ -684,16 +684,16 @@ body.is-blurred .list-tabular .list-tabular-item.keyboard-cursor {
border-right: none; border-right: none;
} }
.sheet-toolbar-container.mode-popout, .sheet-toolbar-container.mode-popout {
// mode-list toolbar // mode-list toolbar
[data-reactid=".1.0.1.$=1$1=02Thread=02toolbar"] [data-column='0'], // [data-reactid=".1.0.1.$=1$1=02Thread=02toolbar"] [data-column='0'],
// Preferences toolbar // Preferences toolbar
[data-reactid=".1.0.1.$=1$1=02Preferences=02toolbar"] [data-column='0'] { // [data-reactid=".1.0.1.$=1$1=02Preferences=02toolbar"] [data-column='0'] {
background-image: none; background-image: none;
background-color: tint(@sidebar, 90%); background-color: tint(@sidebar, 90%);
} }
.sheet-toolbar-container.mode-popout [data-column='0'] { .sheet-toolbar-container.mode-popout > div:nth-child(1) {
background: transparent; background: transparent;
} }

View file

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 135 B

View file

Before

Width:  |  Height:  |  Size: 138 B

After

Width:  |  Height:  |  Size: 138 B