Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
even better icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-sap committed Mar 12, 2017
1 parent a507315 commit a768773
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/header/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ header.error .js-error { display: block; }



header .js-sync { color: #888; width: 24px; height: 24px; right: 107px; top: 7px; box-shadow: inset 0 0 0 2px; transform: translateZ(0); }
header .js-sync { color: #888; width: 22px; height: 22px; right: 107px; top: 8px; box-shadow: inset 0 0 0 2px; transform: translateZ(0); }

.js-sync,
.js-sync:before,
.js-sync:after { border-radius: 50%; background-color: inherit; }

.js-sync:before,
.js-sync:after { width: 13px; height: 26px; position: absolute; content: ''; }
.js-sync:after { width: 12px; height: 24px; position: absolute; content: ''; }

.js-sync:before { top: -1px; left: -1px; transform-origin: 13px 13px; border-radius: 26px 0 0 26px; animation: spin 2s infinite ease 1.5s; }
.js-sync:after { top: -1px; left: 12px; transform-origin: 0 13px; border-radius: 0 26px 26px 0; animation: spin 2s infinite ease; }
.js-sync:before { top: -1px; left: -1px; transform-origin: 12px 12px; border-radius: 24px 0 0 24px; animation: spin 2s infinite ease 1.5s; }
.js-sync:after { top: -1px; left: 11px; transform-origin: 0 12px; border-radius: 0 24px 24px 0; animation: spin 2s infinite ease; }

@keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); }}
6 changes: 4 additions & 2 deletions app/touchbar/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const {TouchBar, getCurrentWindow} = require('electron').remote;
const {TouchBarButton, TouchBarSpacer} = TouchBar;
const { TouchBar, getCurrentWindow } = require('electron').remote;
const { TouchBarButton, TouchBarSpacer } = TouchBar;
const { config, EVENT } = require('../services');
const $ = require('../util');

Expand All @@ -24,6 +24,7 @@ function initBar () {

const btnAddressbar = new TouchBarButton({
label: 'Search or type url ', // these are nbsp chars
// image: './assets/tb-logo.png',
click: () => $.trigger(EVENT.address.focus)
});

Expand All @@ -49,6 +50,7 @@ function bookmarkExists (exists) {
empty: './assets/tb-bookmark-outline.png',
full: './assets/tb-bookmark.png',
};
btnBookmark.backgroundColor = exists ? '#555' : '#444';
btnBookmark.icon = exists ? icons.full : icons.empty;
}

Expand Down
Binary file modified assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tb-arrow-back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tb-arrow-forward.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/tb-bookmark-outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/tb-bookmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tb-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tb-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/tb-refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a768773

Please sign in to comment.