Skip to content

Commit

Permalink
added light/dark versions of trusted notebook icon
Browse files Browse the repository at this point in the history
  • Loading branch information
telamonian committed Feb 22, 2019
1 parent f39507c commit b7a9665
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 13 deletions.
5 changes: 5 additions & 0 deletions packages/notebook/style/not-trusted-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/notebook/style/not-trusted-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions packages/notebook/style/not-trusted-icon.svg

This file was deleted.

24 changes: 20 additions & 4 deletions packages/notebook/style/status.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,26 @@
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/

.jp-StatusItem-untrusted {
background-image: url('./not-trusted-icon.svg');
/*
* icons for light themes
*/

[data-theme-light='true'] .jp-StatusItem-untrusted {
background-image: url('./not-trusted-icon-light.svg');
}

[data-theme-light='true'] .jp-StatusItem-trusted {
background-image: url('./trusted-icon-light.svg');
}

/*
* icons for dark themes
*/

[data-theme-light='false'] .jp-StatusItem-untrusted {
background-image: url('./not-trusted-icon-dark.svg');
}

.jp-StatusItem-trusted {
background-image: url('./trusted-icon.svg');
[data-theme-light='false'] .jp-StatusItem-trusted {
background-image: url('./trusted-icon-dark.svg');
}
4 changes: 4 additions & 0 deletions packages/notebook/style/trusted-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/notebook/style/trusted-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions packages/notebook/style/trusted-icon.svg

This file was deleted.

0 comments on commit b7a9665

Please sign in to comment.