zitgit 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +5 -0
  3. data/Gemfile.lock +94 -0
  4. data/Guardfile +6 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +29 -0
  7. data/Rakefile +1 -0
  8. data/bin/zitgit +4 -0
  9. data/lib/zitgit/version.rb +3 -0
  10. data/lib/zitgit.rb +57 -0
  11. data/public/coffee/application.coffee +54 -0
  12. data/public/css/app.css +4071 -0
  13. data/public/images/loader.gif +0 -0
  14. data/public/js/application.js +69 -0
  15. data/public/js/jquery.js +5 -0
  16. data/public/js/jquery.nicescroll.js +111 -0
  17. data/public/scss/app.scss +155 -0
  18. data/public/scss/foundation/foundation/_variables.scss +1037 -0
  19. data/public/scss/foundation/foundation/components/_alert-boxes.scss +106 -0
  20. data/public/scss/foundation/foundation/components/_block-grid.scss +70 -0
  21. data/public/scss/foundation/foundation/components/_breadcrumbs.scss +124 -0
  22. data/public/scss/foundation/foundation/components/_button-groups.scss +88 -0
  23. data/public/scss/foundation/foundation/components/_buttons.scss +226 -0
  24. data/public/scss/foundation/foundation/components/_clearing.scss +211 -0
  25. data/public/scss/foundation/foundation/components/_custom-forms.scss +240 -0
  26. data/public/scss/foundation/foundation/components/_dropdown-buttons.scss +114 -0
  27. data/public/scss/foundation/foundation/components/_dropdown.scss +149 -0
  28. data/public/scss/foundation/foundation/components/_flex-video.scss +45 -0
  29. data/public/scss/foundation/foundation/components/_forms.scss +348 -0
  30. data/public/scss/foundation/foundation/components/_global.scss +267 -0
  31. data/public/scss/foundation/foundation/components/_grid.scss +184 -0
  32. data/public/scss/foundation/foundation/components/_inline-lists.scss +52 -0
  33. data/public/scss/foundation/foundation/components/_joyride.scss +208 -0
  34. data/public/scss/foundation/foundation/components/_keystrokes.scss +56 -0
  35. data/public/scss/foundation/foundation/components/_labels.scss +84 -0
  36. data/public/scss/foundation/foundation/components/_magellan.scss +21 -0
  37. data/public/scss/foundation/foundation/components/_orbit.scss +207 -0
  38. data/public/scss/foundation/foundation/components/_pagination.scss +99 -0
  39. data/public/scss/foundation/foundation/components/_panels.scss +76 -0
  40. data/public/scss/foundation/foundation/components/_pricing-tables.scss +130 -0
  41. data/public/scss/foundation/foundation/components/_progress-bars.scss +70 -0
  42. data/public/scss/foundation/foundation/components/_reveal.scss +131 -0
  43. data/public/scss/foundation/foundation/components/_section.scss +303 -0
  44. data/public/scss/foundation/foundation/components/_side-nav.scss +68 -0
  45. data/public/scss/foundation/foundation/components/_split-buttons.scss +159 -0
  46. data/public/scss/foundation/foundation/components/_sub-nav.scss +67 -0
  47. data/public/scss/foundation/foundation/components/_switch.scss +249 -0
  48. data/public/scss/foundation/foundation/components/_tables.scss +80 -0
  49. data/public/scss/foundation/foundation/components/_thumbs.scss +47 -0
  50. data/public/scss/foundation/foundation/components/_tooltips.scss +113 -0
  51. data/public/scss/foundation/foundation/components/_top-bar.scss +462 -0
  52. data/public/scss/foundation/foundation/components/_type.scss +422 -0
  53. data/public/scss/foundation/foundation/components/_visibility.scss +320 -0
  54. data/public/scss/foundation/foundation.scss +46 -0
  55. data/public/scss/foundation/normalize.scss +402 -0
  56. data/views/branch.slim +1 -0
  57. data/views/commits/detail.slim +12 -0
  58. data/views/commits/labels.slim +9 -0
  59. data/views/commits/list.slim +22 -0
  60. data/views/diffs/list.slim +39 -0
  61. data/views/index.slim +36 -0
  62. data/views/layout.slim +9 -0
  63. data/views/refs/dropdown.slim +3 -0
  64. data/zitgit.gemspec +30 -0
  65. metadata +239 -0
@@ -0,0 +1,422 @@
1
+ //
2
+ // Typography Variables
3
+ //
4
+
5
+ // We use these to control header font styles
6
+ $header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
7
+ $header-font-weight: bold !default;
8
+ $header-font-style: normal !default;
9
+ $header-font-color: #222 !default;
10
+ $header-line-height: 1.4 !default;
11
+ $header-top-margin: .2em !default;
12
+ $header-bottom-margin: .5em !default;
13
+ $header-text-rendering: optimizeLegibility !default;
14
+
15
+ // We use these to control header font sizes
16
+ $h1-font-size: emCalc(44px) !default;
17
+ $h2-font-size: emCalc(37px) !default;
18
+ $h3-font-size: emCalc(27px) !default;
19
+ $h4-font-size: emCalc(23px) !default;
20
+ $h5-font-size: emCalc(18px) !default;
21
+ $h6-font-size: 1em !default;
22
+
23
+ // These control how subheaders are styled.
24
+ $subheader-line-height: 1.4 !default;
25
+ $subheader-font-color: lighten($header-font-color, 30%) !default;
26
+ $subheader-font-weight: 300 !default;
27
+ $subheader-top-margin: .2em !default;
28
+ $subheader-bottom-margin: .5em !default;
29
+
30
+ // A general <small> styling
31
+ $small-font-size: 60% !default;
32
+ $small-font-color: lighten($header-font-color, 30%) !default;
33
+
34
+ // We use these to style paragraphs
35
+ $paragraph-font-family: inherit !default;
36
+ $paragraph-font-weight: normal !default;
37
+ $paragraph-font-size: 1em !default;
38
+ $paragraph-line-height: 1.6 !default;
39
+ $paragraph-margin-bottom: emCalc(20px) !default;
40
+ $paragraph-aside-font-size: emCalc(14px) !default;
41
+ $paragraph-aside-line-height: 1.35 !default;
42
+ $paragraph-aside-font-style: italic !default;
43
+ $paragraph-text-rendering: optimizeLegibility !default;
44
+
45
+ // We use these to style <code> tags
46
+ $code-color: darken($alert-color, 15%) !default;
47
+ $code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
48
+ $code-font-weight: bold !default;
49
+
50
+ // We use these to style anchors
51
+ $anchor-text-decoration: none !default;
52
+ $anchor-font-color: $primary-color !default;
53
+ $anchor-font-color-hover: darken($primary-color, 5%) !default;
54
+
55
+ // We use these to style the <hr> element
56
+ $hr-border-width: 1px !default;
57
+ $hr-border-style: solid !default;
58
+ $hr-border-color: #ddd !default;
59
+ $hr-margin: emCalc(20px) !default;
60
+
61
+ // We use these to style lists
62
+ $list-style-position: outside !default;
63
+ $list-side-margin: emCalc(20px) !default;
64
+ $definition-list-header-weight: bold !default;
65
+ $definition-list-header-margin-bottom: .3em !default;
66
+ $definition-list-margin-bottom: emCalc(12px) !default;
67
+
68
+ // We use these to style blockquotes
69
+ $blockquote-font-color: lighten($header-font-color, 30%) !default;
70
+ $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px) !default;
71
+ $blockquote-border: 1px solid #ddd !default;
72
+ $blockquote-cite-font-size: emCalc(13px) !default;
73
+ $blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
74
+ $blockquote-cite-link-color: $blockquote-cite-font-color !default;
75
+
76
+ // Acronym styles
77
+ $acronym-underline: 1px dotted #ddd !default;
78
+
79
+ // We use these to control padding and margin
80
+ $microformat-padding: emCalc(10px) emCalc(12px) !default;
81
+ $microformat-margin: 0 0 emCalc(20px) 0 !default;
82
+
83
+ // We use these to control the border styles
84
+ $microformat-border-width: 1px !default;
85
+ $microformat-border-style: solid !default;
86
+ $microformat-border-color: #ddd !default;
87
+
88
+ // We use these to control full name font styles
89
+ $microformat-fullname-font-weight: bold !default;
90
+ $microformat-fullname-font-size: emCalc(15px) !default;
91
+
92
+ // We use this to control the summary font styles
93
+ $microformat-summary-font-weight: bold !default;
94
+
95
+ // We use this to control abbr padding
96
+ $microformat-abbr-padding: 0 emCalc(1px) !default;
97
+
98
+ // We use this to control abbr font styles
99
+ $microformat-abbr-font-weight: bold !default;
100
+ $microformat-abbr-font-decoration: none !default;
101
+
102
+
103
+ //
104
+ // Typography Placeholders
105
+ //
106
+ %lead {
107
+ font-size: $paragraph-font-size + emCalc(3.5px);
108
+ line-height: 1.6;
109
+ }
110
+
111
+ %subheader {
112
+ line-height: $subheader-line-height;
113
+ color: $subheader-font-color;
114
+ font-weight: $subheader-font-weight;
115
+ margin-top: $subheader-top-margin;
116
+ margin-bottom: $subheader-bottom-margin;
117
+ }
118
+
119
+
120
+ /* Typography resets */
121
+ div,
122
+ dl,
123
+ dt,
124
+ dd,
125
+ ul,
126
+ ol,
127
+ li,
128
+ h1,
129
+ h2,
130
+ h3,
131
+ h4,
132
+ h5,
133
+ h6,
134
+ pre,
135
+ form,
136
+ p,
137
+ blockquote,
138
+ th,
139
+ td {
140
+ margin:0;
141
+ padding:0;
142
+ direction: $text-direction;
143
+ }
144
+
145
+ /* Default Link Styles */
146
+ a {
147
+ color: $anchor-font-color;
148
+ text-decoration: $anchor-text-decoration;
149
+ line-height: inherit;
150
+
151
+ &:hover,
152
+ &:focus { color: $anchor-font-color-hover; }
153
+
154
+ img { border:none; }
155
+ }
156
+
157
+ /* Default paragraph styles */
158
+ p {
159
+ font-family: $paragraph-font-family;
160
+ font-weight: $paragraph-font-weight;
161
+ font-size: $paragraph-font-size;
162
+ line-height: $paragraph-line-height;
163
+ margin-bottom: $paragraph-margin-bottom;
164
+ text-rendering: $paragraph-text-rendering;
165
+
166
+ &.lead { @extend %lead; }
167
+
168
+ & aside {
169
+ font-size: $paragraph-aside-font-size;
170
+ line-height: $paragraph-aside-line-height;
171
+ font-style: $paragraph-aside-font-style;
172
+ }
173
+ }
174
+
175
+ /* Default header styles */
176
+ h1, h2, h3, h4, h5, h6 {
177
+ font-family: $header-font-family;
178
+ font-weight: $header-font-weight;
179
+ font-style: $header-font-style;
180
+ color: $header-font-color;
181
+ text-rendering: $header-text-rendering;
182
+ margin-top: $header-top-margin;
183
+ margin-bottom: $header-bottom-margin;
184
+ line-height: $header-line-height - emCalc(3px);
185
+
186
+ small {
187
+ font-size: $small-font-size;
188
+ color: $small-font-color;
189
+ line-height: 0;
190
+ }
191
+ }
192
+
193
+ h1 { font-size: $h1-font-size - emCalc(10px); }
194
+ h2 { font-size: $h2-font-size - emCalc(10px); }
195
+ h3 { font-size: $h3-font-size - emCalc(5px); }
196
+ h4 { font-size: $h4-font-size - emCalc(5px); }
197
+ h5 { font-size: $h5-font-size; }
198
+ h6 { font-size: $h6-font-size; }
199
+
200
+ .subheader { @extend %subheader; }
201
+
202
+ hr {
203
+ border: $hr-border-style $hr-border-color;
204
+ border-width: $hr-border-width 0 0;
205
+ clear: both;
206
+ margin: $hr-margin 0 ($hr-margin - emCalc(1px));
207
+ height: 0;
208
+ }
209
+
210
+ /* Helpful Typography Defaults */
211
+ em,
212
+ i {
213
+ font-style: italic;
214
+ line-height: inherit;
215
+ }
216
+
217
+ strong,
218
+ b {
219
+ font-weight: bold;
220
+ line-height: inherit;
221
+ }
222
+
223
+ small {
224
+ font-size: $small-font-size;
225
+ line-height: inherit;
226
+ }
227
+
228
+ code {
229
+ font-family: $code-font-family;
230
+ font-weight: $code-font-weight;
231
+ color: $code-color;
232
+ }
233
+
234
+ /* Lists */
235
+ ul,
236
+ ol,
237
+ dl {
238
+ font-size: $paragraph-font-size;
239
+ line-height: $paragraph-line-height;
240
+ margin-bottom: $paragraph-margin-bottom;
241
+ list-style-position: $list-style-position;
242
+ font-family: $paragraph-font-family;
243
+ }
244
+
245
+ /* Unordered Lists */
246
+ ul {
247
+ li {
248
+ ul,
249
+ ol {
250
+ margin-#{$default-float}: $list-side-margin;
251
+ margin-bottom: 0;
252
+ font-size: 1em; /* Override nested font-size change */
253
+ }
254
+ }
255
+ &.square,
256
+ &.circle,
257
+ &.disc {
258
+ li ul { list-style: inherit; }
259
+ }
260
+
261
+ &.square { list-style-type: square; }
262
+ &.circle { list-style-type: circle; }
263
+ &.disc { list-style-type: disc; }
264
+ &.no-bullet { list-style: none; }
265
+ }
266
+
267
+ /* Ordered Lists */
268
+ ol {
269
+ li {
270
+ ul,
271
+ ol {
272
+ margin-#{$default-float}: $list-side-margin;
273
+ margin-bottom: 0;
274
+ }
275
+ }
276
+ }
277
+
278
+ /* Definition Lists */
279
+ dl {
280
+ dt {
281
+ margin-bottom: $definition-list-header-margin-bottom;
282
+ font-weight: $definition-list-header-weight;
283
+ }
284
+ dd { margin-bottom: $definition-list-margin-bottom; }
285
+ }
286
+
287
+ /* Abbreviations */
288
+ abbr,
289
+ acronym {
290
+ text-transform: uppercase;
291
+ font-size: 90%;
292
+ color: $body-font-color;
293
+ border-bottom: $acronym-underline;
294
+ cursor: help;
295
+ }
296
+ abbr {
297
+ text-transform: none;
298
+ }
299
+
300
+ /* Blockquotes */
301
+ blockquote {
302
+ margin: 0 0 $paragraph-margin-bottom;
303
+ padding: $blockquote-padding;
304
+ border-#{$default-float}: $blockquote-border;
305
+
306
+ cite {
307
+ display: block;
308
+ font-size: $blockquote-cite-font-size;
309
+ color: $blockquote-cite-font-color;
310
+ &:before {
311
+ content: "\2014 \0020";
312
+ }
313
+
314
+ a,
315
+ a:visited {
316
+ color: $blockquote-cite-link-color;
317
+ }
318
+ }
319
+ }
320
+ blockquote,
321
+ blockquote p {
322
+ line-height: $paragraph-line-height;
323
+ color: $blockquote-font-color;
324
+ }
325
+
326
+ /* Microformats */
327
+ .vcard {
328
+ display: inline-block;
329
+ margin: $microformat-margin;
330
+ border: $microformat-border-width $microformat-border-style $microformat-border-color;
331
+ padding: $microformat-padding;
332
+
333
+ li {
334
+ margin: 0;
335
+ display: block;
336
+ }
337
+ .fn {
338
+ font-weight: $microformat-fullname-font-weight;
339
+ font-size: $microformat-fullname-font-size;
340
+ }
341
+ }
342
+
343
+ .vevent {
344
+ .summary { font-weight: $microformat-summary-font-weight; }
345
+
346
+ abbr {
347
+ cursor: default;
348
+ text-decoration: $microformat-abbr-font-decoration;
349
+ font-weight: $microformat-abbr-font-weight;
350
+ border: none;
351
+ padding: $microformat-abbr-padding;
352
+ }
353
+ }
354
+
355
+
356
+ @media #{$small} {
357
+ h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
358
+ h1 { font-size: $h1-font-size; }
359
+ h2 { font-size: $h2-font-size; }
360
+ h3 { font-size: $h3-font-size; }
361
+ h4 { font-size: $h4-font-size; }
362
+ }
363
+
364
+ // Only include these styles if you want them.
365
+ @if $include-print-styles {
366
+ /*
367
+ * Print styles.
368
+ *
369
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
370
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
371
+ */
372
+ .print-only { display: none !important; }
373
+ @media print {
374
+ * {
375
+ background: transparent !important;
376
+ color: #000 !important; /* Black prints faster: h5bp.com/s */
377
+ box-shadow: none !important;
378
+ text-shadow: none !important;
379
+ }
380
+
381
+ a,
382
+ a:visited { text-decoration: underline;}
383
+ a[href]:after { content: " (" attr(href) ")"; }
384
+
385
+ abbr[title]:after { content: " (" attr(title) ")"; }
386
+
387
+ // Don't show links for images, or javascript/internal links
388
+ .ir a:after,
389
+ a[href^="javascript:"]:after,
390
+ a[href^="#"]:after { content: ""; }
391
+
392
+ pre,
393
+ blockquote {
394
+ border: 1px solid #999;
395
+ page-break-inside: avoid;
396
+ }
397
+
398
+ thead { display: table-header-group; /* h5bp.com/t */ }
399
+
400
+ tr,
401
+ img { page-break-inside: avoid; }
402
+
403
+ img { max-width: 100% !important; }
404
+
405
+ @page { margin: 0.5cm; }
406
+
407
+ p,
408
+ h2,
409
+ h3 {
410
+ orphans: 3;
411
+ widows: 3;
412
+ }
413
+
414
+ h2,
415
+ h3 { page-break-after: avoid; }
416
+
417
+ .hide-on-print { display: none !important; }
418
+ .print-only { display: block !important; }
419
+ .hide-for-print { display: none !important; }
420
+ .show-for-print { display: inherit !important; }
421
+ }
422
+ }