├── screenshot.png
├── History.md
├── Support
└── gears
│ ├── images
│ ├── header.png
│ └── teaser.png
│ └── style.css
├── info.plist
├── README.md
├── Preferences
└── Theme Path.tmPreferences
└── examples
└── rdoc.html
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textmate/gears.tmbundle/master/screenshot.png
--------------------------------------------------------------------------------
/History.md:
--------------------------------------------------------------------------------
1 | History
2 | =======
3 |
4 | 0.0.1 / 2011-07-14
5 | ------------------
6 | * Initial release
7 |
--------------------------------------------------------------------------------
/Support/gears/images/header.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textmate/gears.tmbundle/master/Support/gears/images/header.png
--------------------------------------------------------------------------------
/Support/gears/images/teaser.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/textmate/gears.tmbundle/master/Support/gears/images/teaser.png
--------------------------------------------------------------------------------
/info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | contactName
6 | Sylvester Keil
7 | description
8 | Theme for commands with HTML output
9 | name
10 | Gears Web Preview Theme
11 | uuid
12 | EE8CCB53-0AE8-46EF-B80C-C309EBAD63D5
13 |
14 |
15 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Gears TextMate Web Preview
2 | ==========================
3 |
4 | Gears is a theme for TextMate's Web Preview, which is used, for example, to
5 | display RDoc information. Take a look at a screenshot
6 | [right here](https://github.com/inukshuk/gears.textmate/blob/master/screenshot.png)!
7 |
8 | Installation
9 | ------------
10 |
11 | You can install this bundle in TextMate by opening the preferences and going to
12 | the bundles tab. After installation it will be automatically updated for you.
13 |
14 | The next time you open a TextMate Web Preview, for example, when browsing
15 | RDoc entries, you can select 'Gears' from the translucent theme picker.
16 |
17 | Enjoy!
18 |
--------------------------------------------------------------------------------
/Preferences/Theme Path.tmPreferences:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | name
6 | Theme Path
7 | settings
8 |
9 | shellVariables
10 |
11 |
12 | name
13 | TM_THEME_PATH
14 | value
15 | ${TM_THEME_PATH:+$TM_THEME_PATH:}$TM_BUNDLE_SUPPORT
16 |
17 |
18 |
19 | uuid
20 | 3206257D-4417-49B6-B5C1-DA65D5313DD5
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Support/gears/style.css:
--------------------------------------------------------------------------------
1 |
2 | body.gears {
3 | font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, sans-serif;
4 | color: #333;
5 | background-color: #f2f2f2;
6 | }
7 |
8 | .gears #tm_webpreview_header {
9 | position: relative;
10 | padding: 56px 0 0 0;
11 | margin: 0;
12 | font-size: 11.9px;
13 | overflow: visible;
14 | }
15 |
16 | .gears #tm_webpreview_header #gradient {
17 | width: 80px;
18 | height: 85px;
19 | top: 0;
20 | left: 0;
21 | z-index: 1;
22 | }
23 |
24 | .gears #tm_webpreview_header #teaser {
25 | height: 170px;
26 | width: 147px;
27 | right: 0;
28 | top: 0;
29 | z-index: 1;
30 | }
31 |
32 | .gears #tm_webpreview_header #theme_switcher {
33 | font-size: 100%;
34 | color: #333;
35 | top: 54px;
36 | right: 35px;
37 | }
38 |
39 | .gears #tm_webpreview_header .headline,
40 | .gears #tm_webpreview_header .type {
41 | display: block;
42 | position: static;
43 | color: #333;
44 | font-style: normal;
45 | font-weight: 400;
46 | line-height: 18.45px;
47 | margin: 0;
48 | padding: 0;
49 | }
50 |
51 | .gears #tm_webpreview_header p.headline {
52 | margin-left: 56px;
53 | }
54 |
55 | .gears #tm_webpreview_header p.type {
56 | position: absolute;
57 | top: 38px;
58 | left: 56px;
59 | }
60 |
61 |
62 | .gears #tm_webpreview_content {
63 | margin: 5px 28px 20px 28px;
64 | padding: 8px;
65 | min-width: 460px;
66 | position: relative;
67 | z-index: 2;
68 | background-color: #fff;
69 | border-radius: 4px;
70 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 0 rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.2);
71 | border-color: #3c3c3c;
72 | }
73 |
74 | .gears #tm_webpreview_content #search_history {
75 | margin: 4px 0 0 0;
76 | font-size: 11px;
77 | }
78 |
79 | .gears #tm_webpreview_content #actual_output {
80 | padding: 0;
81 | margin: 0;
82 | }
83 |
84 | .gears #tm_webpreview_content #actual_output h2 {
85 | color: #000;
86 | font-weight: 700;
87 | font-style: normal;
88 | font-size: 13.6px;
89 | word-spacing: -1px;
90 | }
91 |
92 | .gears a {
93 | color: #0088cc;
94 | text-decoration: none;
95 | }
96 |
97 | .gears a:hover {
98 | text-decoration: underline;
99 | }
100 |
101 | .gears pre {
102 | padding: 0;
103 | }
104 |
105 | .gears pre, .gears code {
106 | font-family: "Menlo", "Monaco", monospace;
107 | font-size: 10px;
108 | }
109 |
110 | .gears hr {
111 | background-color: #333;
112 | border-color: #333;
113 | }
--------------------------------------------------------------------------------
/examples/rdoc.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Documentation for ‘Array#unshift’
6 |
7 |
8 |
9 |
10 |
43 |
44 |
49 |
50 |
51 | Array#unshift
52 |
53 |
54 | array.unshift(obj, ...) -> array
55 |
56 |
57 |
58 | Prepends objects to the front of _array_. other elements up one.
59 |
60 | a = [ "b", "c", "d" ]
61 | a.unshift("a") #=> ["a", "b", "c", "d"]
62 | a.unshift(1, 2) #=> [ 1, 2, "a", "b", "c", "d"]
63 |
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------