From 8cf8d2273b898d3eabf633b510e81f430224dbd9 Mon Sep 17 00:00:00 2001 From: Robert Stanfield Date: Sun, 12 Jun 2016 20:47:59 -0400 Subject: [PATCH] Minor fixes for dark theme --- themes/dark/skype.styl | 47 +++++++++++++++++++++++++++++++++++++++--- views/skype.js | 3 +-- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/themes/dark/skype.styl b/themes/dark/skype.styl index 1321a01..0504350 100644 --- a/themes/dark/skype.styl +++ b/themes/dark/skype.styl @@ -4,6 +4,9 @@ body background-color $numixBlack !important color white !important +:root .swx .themeWhite + background-color $numixBlack !important + .shellSplashContent background-color $numixBlack !important color white !important @@ -122,7 +125,10 @@ body .Me-displayName color #fff !important -.tileAvatar:before +.Me--expanded + background-color $numixBlack !important + +.tileAvatar:before, .presence.circle.tileAvatar:before background-color #1d1d1d !important .tileImage @@ -135,7 +141,7 @@ body .timelineComponentContainer .active.message, .timelineComponentContainer .message:before, .searchItem:before, .navItem.icon:hover background #1d1d1d !important -.unread .counter .circle +.unread .counter .circle, :root .swx .themeWhite .timeline .recent.active.unread .counter span.circle background-color #d64937 !important border 1px solid #000 !important @@ -148,7 +154,7 @@ body .iconfont, .titleImage:after color lime -.iconfont:active +.iconfont:active, .icon.active .iconfont, :root .swx .themeWhite .side .navigation .navItem.icon:focus:not(.active) background #1d1d1d !important .btn.circle:not(.stroke) @@ -170,3 +176,38 @@ body .message, .Me-availability color #aaa !important + +h2.UserSettingsPage-featureLabel + color: #aaa !important + +a.UserSettingsPage-category + &:focus + border: none !important + padding: 0 30px !important + &.active + background-color: #1d1d1d !important + h2.UserSettingsPage-label + background-color: inherit !important + +h2.UserSettingsPage-label, a.UserSettingsPage-category + background-color: #2d2d2d !important + color: #aaa !important + &:before + color: #ccc !important + +p.UserSettingsPage-featureLabel + color #aaa !important + +.pref-select-element > select + color #aaa !important + background-color #3d3d3d !important + border 1px solid #1d1d1d !important + +div.UserSettingsPage-detail--white:before + border 1px solid $borders !important + +h1.ContactsPage-heading, h1.DiscoverAgentsPage--heading, h1.UserSettingsPage-heading, .skypeOutInput + color #aaa !important + +.ContactsPage-categoryItem .MenuItem-link--selected + color: #fff !important diff --git a/views/skype.js b/views/skype.js index 0810810..c59a6ac 100644 --- a/views/skype.js +++ b/views/skype.js @@ -50,7 +50,6 @@ function checkTrayIcon(event) { function boot() { skypeView.removeEventListener('dom-ready', boot); - skypeView.openDevTools(); electron.ipcRenderer.send('log', 'booting'); @@ -83,7 +82,7 @@ skypeView.addEventListener('did-fail-load', function(event) { return; } - electron.ipcRenderer.send('log', 'Failed to load: ' + JSON.stringify(event)); + electron.ipcRenderer.send('log', 'Failed to load: ' + JSON.stringify(event)); }); skypeView.addEventListener('dom-ready', boot);