Skip to content

Commit

Permalink
Added more material design icons in place of font awesome in the note…
Browse files Browse the repository at this point in the history
…book as well as the command pallete search, Notebook icon as well as filetypes icons almost complete
  • Loading branch information
cameronoelsen committed Dec 2, 2016
1 parent c9545d9 commit 652b8b5
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 20 deletions.
23 changes: 13 additions & 10 deletions src/application/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,25 @@
display: inline-block;
}

.p-TabBar-WindowTabLabel {
margin-top: 4px;
}

.p-DockPanel-tabBar .p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon {
margin-left: 4px;
padding-top: 8px;
background-size: 16px;
height: 16px;
width: 16px;
background-image: url(../default-theme/icons/md/close.svg);
background-position: center;
background-repeat: no-repeat;
}


.p-DockPanel-tabBar .p-TabBar-tab.p-mod-closable > .p-TabBar-tabCloseIcon:before {
content: '\f00d'; /* close */
font-family: FontAwesome;
}


.p-DockPanel-tabBar .p-TabBar-tab.p-mod-closable.jp-mod-dirty > .p-TabBar-tabCloseIcon:before {
font-family: FontAwesome;
content: '\f111'; /* circle */
font-size: 10px;
.p-DockPanel-tabBar .p-TabBar-tab.p-mod-closable.jp-mod-dirty > .p-TabBar-tabCloseIcon {
background-size: 12px;
background-image: url(../default-theme/icons/md/circle.svg);
}


Expand Down
10 changes: 6 additions & 4 deletions src/commandpalette/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,18 @@


.p-CommandPalette-wrapper::after {
font-family: FontAwesome;
content: "\f002"; /* search */
content: " ";
color: white;
background-color: var(--jp-brand-color1);
font-size: var(--jp-ui-icon-font-size);
line-height: var(--jp-private-commandpalette-search-height);
position: absolute;
right: 12px;
height: 30px;
width: 12px;
padding: 0px 12px;
background-image: url(../default-theme/icons/md/search.svg);
background-size: 20px;
background-repeat: no-repeat;
background-position: center;
}

.p-CommandPalette-input {
Expand Down
4 changes: 4 additions & 0 deletions src/default-theme/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
background-image: url(icons/md/add.svg);
}

.jp-CloseIcon {
background-image: url(icons/md/close.svg);
}

.jp-CutIcon {
background-image: url(icons/md/cut.svg);
}
Expand Down
10 changes: 10 additions & 0 deletions src/default-theme/icons/md/circle.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 src/default-theme/icons/md/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/default-theme/icons/md/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 11 additions & 6 deletions src/default-theme/icons/notebook.svg
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 652b8b5

Please sign in to comment.