-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris White
committed
Mar 4, 2018
1 parent
565297e
commit fe18d95
Showing
12 changed files
with
298 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,95 @@ | ||
/* icons.css: Common icon definitions */ | ||
|
||
.tf-window.tfs-saved > a > i { | ||
content: url(/assets/icons/folder-from-jstree-default-dark-32px.png); | ||
.jstree-themeicon-custom.tf-window.tfs-saved > a > i { | ||
background-image: url(/assets/icons/folder-from-jstree-default-dark-32px.png); | ||
} | ||
|
||
/* For Chrome */ | ||
.visible-window-icon, .tf-window.tfs-open > a > i { | ||
content: url(/assets/icons/monitor.png); /* or folder.png? */ | ||
.jstree-themeicon-custom.visible-window-icon, | ||
.jstree-themeicon-custom.tf-window.tfs-open > a > i { | ||
background-image: url(/assets/icons/monitor.png); /* or folder.png? */ | ||
} | ||
|
||
.visible-saved-window-icon, .tf-window.tfs-open.tfs-saved > a > i { | ||
content: url(/assets/icons/monitor_add.png); /* or folder.png? */ | ||
.jstree-themeicon-custom.visible-saved-window-icon, .jstree-themeicon-custom.tf-window.tfs-open.tfs-saved > a > i { | ||
background-image: url(/assets/icons/monitor_add.png); /* or folder.png? */ | ||
} | ||
|
||
/* For Firefox */ | ||
/* | ||
.tf-window.tfs-open.tfs-saved > a > i::before { | ||
content: url(/assets/icons/monitor_add.png); /* or folder.png? */ | ||
content: url(/assets/icons/monitor_add.png); * or folder.png? * | ||
} | ||
.tf-window.tfs-open > a > i::before { | ||
content: url(/assets/icons/monitor.png); /* or folder.png? */ | ||
content: url(/assets/icons/monitor.png); * or folder.png? * | ||
} | ||
*/ | ||
|
||
/* Back to cross-browser */ | ||
|
||
.fff-page /*, .tf-tab > i*/ { | ||
content: url(/assets/icons/page_white.png); | ||
.jstree-themeicon-custom.fff-page /*, .tf-tab > i*/ { | ||
background-image: url(/assets/icons/page_white.png); | ||
} | ||
|
||
.fff-page-white-with-red-banner { | ||
content: url(/assets/icons/page_white_red_banner.png); | ||
.jstree-themeicon-custom.fff-monitor-add { | ||
background-image: url(/assets/icons/monitor_add.png); | ||
} | ||
|
||
.fff-pencil { | ||
content: url(/assets/icons/pencil.png); | ||
.jstree-themeicon-custom.fff-monitor { | ||
background-image: url(/assets/icons/monitor.png); | ||
} | ||
|
||
.fff-cross { | ||
content: url(/assets/icons/cross.png); | ||
.jstree-themeicon-custom.fff-page-white-with-red-banner { | ||
background-image: url(/assets/icons/page_white_red_banner.png); | ||
} | ||
|
||
.fff-picture-delete { | ||
content: url(/assets/icons/picture_delete.png); | ||
.jstree-themeicon-custom.fff-pencil, .vakata-context .fff-pencil { | ||
background-image: url(/assets/icons/pencil.png); | ||
} | ||
|
||
.jstree-themeicon-custom.fff-cross, .vakata-context .fff-cross { | ||
background-image: url(/assets/icons/cross.png); | ||
} | ||
|
||
.fff-text-padding-top { | ||
content: url(/assets/icons/text_padding_top.png); | ||
.jstree-themeicon-custom.fff-picture-delete, .vakata-context .fff-picture-delete { | ||
background-image: url(/assets/icons/picture_delete.png); | ||
} | ||
|
||
.jstree-themeicon-custom.fff-text-padding-top, | ||
.vakata-context .fff-text-padding-top { | ||
background-image: url(/assets/icons/text_padding_top.png); | ||
} | ||
|
||
/* Class for icons with no content. Used in jstree.set_icon() when the | ||
* icon is actually being set using CSS. | ||
*/ | ||
.clear-icon { | ||
.jstree-themeicon-custom.clear-icon, .vakata-context .clear-icon { | ||
/*url(/assets/icons/clear-icon.png);*/ | ||
/*content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12NgYGBgAAAABQABXvMqOgAAAABJRU5ErkJggg==);*/ | ||
} | ||
|
||
/* Icons for actions, which do use content rather than background-image. | ||
* That way we do not have to set the size of the <i> manually. */ | ||
.tf-action-button.fff-pencil { | ||
content: url(/assets/icons/pencil.png); | ||
} | ||
|
||
.tf-action-button.fff-picture-delete { | ||
content: url(/assets/icons/picture_delete.png); | ||
} | ||
|
||
.tf-action-button.fff-cross { | ||
content: url(/assets/icons/cross.png); | ||
} | ||
|
||
/* Background sizes in context menu are different. TODO fix this --- it is | ||
* an ugly hack. */ | ||
.vakata-context .fff-pencil, | ||
.vakata-context .fff-cross, | ||
.vakata-context .fff-picture-delete, | ||
.vakata-context .fff-text-padding-top { | ||
background-repeat: no-repeat; | ||
background-position: center center; | ||
} | ||
|
||
/* vi: set ts=4 sts=4 sw=4 et ai: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.