Skip to content

Commit

Permalink
Improved support for ST3 sidebar folders
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Sep 1, 2014
1 parent 86b0af1 commit fcc2fb8
Show file tree
Hide file tree
Showing 21 changed files with 2,169 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.cache
Binary file added Images/spinner/spinner.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 Images/spinner/spinner1.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 Images/spinner/spinner1@2x.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 Images/spinner/spinner2.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 Images/spinner/spinner2@2x.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 Images/spinner/spinner3.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 Images/spinner/spinner3@2x.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 Images/spinner/spinner4.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 Images/spinner/spinner4@2x.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 Images/spinner/spinner5.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 Images/spinner/spinner5@2x.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 Images/spinner/spinner6.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 Images/spinner/spinner6@2x.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 Images/spinner/spinner7.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 Images/spinner/spinner7@2x.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 Images/spinner/spinner@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Warning!

If you use Sublime Text 2, change following line:

"theme": "Wombat.sublime-theme",

To:

"theme": "Wombat2.sublime-theme",

If you use Sublime Text 3, you don't need to change anything.
72 changes: 48 additions & 24 deletions Wombat.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,8 @@
// Sidebar tree
{
"class": "sidebar_tree",
"row_padding": [8, 4],
"indent": 15,
"indent_offset": 15,
"row_padding": [8, 6],
"indent": 16,
"indent_top_level": false,
"dark_content": true
},
Expand Down Expand Up @@ -598,41 +597,41 @@

// Sidebar group closed
{
"class": "disclosure_button_control",
"class": "icon_folder",
"content_margin": [8, 8],
"layer0.texture": "Wombat Theme/Images/group-closed.png",
"layer0.opacity": 0.4
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
"layer0.texture": "Wombat Theme/Images/group-closed.png",
"layer0.opacity": 0.8
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"layer0.texture": "Wombat Theme/Images/group-closed.png",
"layer0.opacity": 1.0
},
// Sidebar group open
{
"class": "disclosure_button_control",
"attributes": ["expanded"],
"class": "icon_folder",
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
"layer0.texture": "Wombat Theme/Images/group-open.png",
"layer0.opacity": 1.0
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["hover"]}],
"parents": [{"class": "tree_row", "attributes": ["hover", "expanded"]}],
"layer0.texture": "Wombat Theme/Images/group-open.png",
"layer0.opacity": 1.0
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"parents": [{"class": "tree_row", "attributes": ["selected", "expanded"]}],
"layer0.texture": "Wombat Theme/Images/group-open.png",
"layer0.opacity": 1.0
},
Expand Down Expand Up @@ -1250,7 +1249,7 @@
"layer0.texture": "Wombat Theme/Images/colors/red/sidebar-row-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_red", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"layer0.texture": "Wombat Theme/Images/colors/red/group-open.png",
Expand Down Expand Up @@ -1393,7 +1392,7 @@
"layer0.texture": "Wombat Theme/Images/colors/green/sidebar-row-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_green", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"layer0.texture": "Wombat Theme/Images/colors/green/group-open.png",
Expand Down Expand Up @@ -1531,9 +1530,9 @@
"layer0.texture": "Wombat Theme/Images/colors/blue/file-dirty-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_blue", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
"layer0.texture": "Wombat Theme/Images/colors/blue/group-open.png",
"layer0.opacity": 0.7
},
Expand Down Expand Up @@ -1661,9 +1660,9 @@
"layer0.texture": "Wombat Theme/Images/colors/yellow/file-dirty-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_yellow", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
"layer0.texture": "Wombat Theme/Images/colors/yellow/group-open.png",
"layer0.opacity": 0.7
},
Expand Down Expand Up @@ -1799,9 +1798,9 @@
"layer0.texture": "Wombat Theme/Images/colors/orange/file-dirty-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_orange", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
"layer0.texture": "Wombat Theme/Images/colors/orange/group-open.png",
"layer0.opacity": 0.75
},
Expand Down Expand Up @@ -1942,9 +1941,9 @@
"layer0.texture": "Wombat Theme/Images/colors/pink/sidebar-row-selected.png"
},
{
"class": "disclosure_button_control",
"class": "icon_folder",
"settings": ["wombat_color_pink", "wombat_color_expanded_folder"],
"attributes": ["expanded"],
"parents": [{"class": "tree_row", "attributes": ["expanded"]}],
"layer0.texture": "Wombat Theme/Images/colors/pink/group-open.png",
"layer0.opacity": 0.75
},
Expand Down Expand Up @@ -2103,6 +2102,31 @@
"settings": ["wombat_classic_tabs", "wombat_eighties"],
"attributes": ["selected"],
"layer0.texture": "Wombat Theme/Images/classic/tab-active.eighties.png"
}

},
// Sidebar folder loading
{
"class": "icon_folder_loading",
"layer0.texture":
{
"keyframes":
[
"Wombat Theme/Images/spinner/spinner7.png",
"Wombat Theme/Images/spinner/spinner6.png",
"Wombat Theme/Images/spinner/spinner5.png",
"Wombat Theme/Images/spinner/spinner4.png",
"Wombat Theme/Images/spinner/spinner3.png",
"Wombat Theme/Images/spinner/spinner2.png",
"Wombat Theme/Images/spinner/spinner1.png",
"Wombat Theme/Images/spinner/spinner.png"
],
"loop": true,
"frame_time": 0.075
},
"layer0.opacity": 1.0,
"content_margin": [8, 8]
},
{
"class": "icon_file_type",
"content_margin": [0, 0]
}
]
Loading

0 comments on commit fcc2fb8

Please sign in to comment.