zitgit 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +94 -0
- data/Guardfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/bin/zitgit +4 -0
- data/lib/zitgit/version.rb +3 -0
- data/lib/zitgit.rb +57 -0
- data/public/coffee/application.coffee +54 -0
- data/public/css/app.css +4071 -0
- data/public/images/loader.gif +0 -0
- data/public/js/application.js +69 -0
- data/public/js/jquery.js +5 -0
- data/public/js/jquery.nicescroll.js +111 -0
- data/public/scss/app.scss +155 -0
- data/public/scss/foundation/foundation/_variables.scss +1037 -0
- data/public/scss/foundation/foundation/components/_alert-boxes.scss +106 -0
- data/public/scss/foundation/foundation/components/_block-grid.scss +70 -0
- data/public/scss/foundation/foundation/components/_breadcrumbs.scss +124 -0
- data/public/scss/foundation/foundation/components/_button-groups.scss +88 -0
- data/public/scss/foundation/foundation/components/_buttons.scss +226 -0
- data/public/scss/foundation/foundation/components/_clearing.scss +211 -0
- data/public/scss/foundation/foundation/components/_custom-forms.scss +240 -0
- data/public/scss/foundation/foundation/components/_dropdown-buttons.scss +114 -0
- data/public/scss/foundation/foundation/components/_dropdown.scss +149 -0
- data/public/scss/foundation/foundation/components/_flex-video.scss +45 -0
- data/public/scss/foundation/foundation/components/_forms.scss +348 -0
- data/public/scss/foundation/foundation/components/_global.scss +267 -0
- data/public/scss/foundation/foundation/components/_grid.scss +184 -0
- data/public/scss/foundation/foundation/components/_inline-lists.scss +52 -0
- data/public/scss/foundation/foundation/components/_joyride.scss +208 -0
- data/public/scss/foundation/foundation/components/_keystrokes.scss +56 -0
- data/public/scss/foundation/foundation/components/_labels.scss +84 -0
- data/public/scss/foundation/foundation/components/_magellan.scss +21 -0
- data/public/scss/foundation/foundation/components/_orbit.scss +207 -0
- data/public/scss/foundation/foundation/components/_pagination.scss +99 -0
- data/public/scss/foundation/foundation/components/_panels.scss +76 -0
- data/public/scss/foundation/foundation/components/_pricing-tables.scss +130 -0
- data/public/scss/foundation/foundation/components/_progress-bars.scss +70 -0
- data/public/scss/foundation/foundation/components/_reveal.scss +131 -0
- data/public/scss/foundation/foundation/components/_section.scss +303 -0
- data/public/scss/foundation/foundation/components/_side-nav.scss +68 -0
- data/public/scss/foundation/foundation/components/_split-buttons.scss +159 -0
- data/public/scss/foundation/foundation/components/_sub-nav.scss +67 -0
- data/public/scss/foundation/foundation/components/_switch.scss +249 -0
- data/public/scss/foundation/foundation/components/_tables.scss +80 -0
- data/public/scss/foundation/foundation/components/_thumbs.scss +47 -0
- data/public/scss/foundation/foundation/components/_tooltips.scss +113 -0
- data/public/scss/foundation/foundation/components/_top-bar.scss +462 -0
- data/public/scss/foundation/foundation/components/_type.scss +422 -0
- data/public/scss/foundation/foundation/components/_visibility.scss +320 -0
- data/public/scss/foundation/foundation.scss +46 -0
- data/public/scss/foundation/normalize.scss +402 -0
- data/views/branch.slim +1 -0
- data/views/commits/detail.slim +12 -0
- data/views/commits/labels.slim +9 -0
- data/views/commits/list.slim +22 -0
- data/views/diffs/list.slim +39 -0
- data/views/index.slim +36 -0
- data/views/layout.slim +9 -0
- data/views/refs/dropdown.slim +3 -0
- data/zitgit.gemspec +30 -0
- metadata +239 -0
@@ -0,0 +1,155 @@
|
|
1
|
+
@import "foundation/foundation";
|
2
|
+
|
3
|
+
.top-bar {
|
4
|
+
z-index: 6;
|
5
|
+
}
|
6
|
+
.row .history.columns{
|
7
|
+
padding: 0 0 0 15px;
|
8
|
+
}
|
9
|
+
.ref_label{
|
10
|
+
margin: 2px 2px 0 0;
|
11
|
+
border: 1px solid black;
|
12
|
+
border-radius: 12px;
|
13
|
+
padding: 2px 4px;
|
14
|
+
float: left;
|
15
|
+
}
|
16
|
+
.branch_label{
|
17
|
+
background: yellow;
|
18
|
+
}
|
19
|
+
.remote_label{
|
20
|
+
background: red;
|
21
|
+
}
|
22
|
+
.tag_label{
|
23
|
+
background: #e77a1c;
|
24
|
+
}
|
25
|
+
.commits-table{
|
26
|
+
thead{
|
27
|
+
background: #cbcbcb;
|
28
|
+
tr,th{
|
29
|
+
border-bottom: 1px solid black;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
table-layout: fixed;
|
33
|
+
border-collapse: collapse;
|
34
|
+
tr{
|
35
|
+
td{
|
36
|
+
overflow: hidden;
|
37
|
+
padding: 8px;
|
38
|
+
vertical-align: top;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
.badges{
|
42
|
+
width: 150px;
|
43
|
+
.ref_label{
|
44
|
+
font-size: 12px;
|
45
|
+
border-radius: 8px;
|
46
|
+
padding: 0 2px;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
.author{
|
50
|
+
width: 180px;
|
51
|
+
}
|
52
|
+
tbody{
|
53
|
+
tr.selected{
|
54
|
+
background: #c3e2ff;
|
55
|
+
td{
|
56
|
+
border-bottom: 2px solid #78c3ff;
|
57
|
+
border-top: 2px solid #78c3ff;
|
58
|
+
&:first-child{
|
59
|
+
border-left: 1px solid #78c3ff;
|
60
|
+
}
|
61
|
+
&:last-child{
|
62
|
+
border-right: 1px solid #78c3ff;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
.commit{
|
69
|
+
h2{
|
70
|
+
overflow: hidden;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
.diff-names{
|
74
|
+
clear: left;
|
75
|
+
padding-top: 14px;
|
76
|
+
list-style-type: none;
|
77
|
+
li{
|
78
|
+
margin-bottom: -8px;
|
79
|
+
.new_file{
|
80
|
+
color: green;
|
81
|
+
}
|
82
|
+
.deleted{
|
83
|
+
color: red;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
.diffs{
|
88
|
+
background: #fff;
|
89
|
+
list-style-type: none;
|
90
|
+
li{
|
91
|
+
border-bottom: solid #ddd 8px;
|
92
|
+
overflow-x: scroll;
|
93
|
+
div{
|
94
|
+
white-space: pre;
|
95
|
+
font-size: 14px;
|
96
|
+
}
|
97
|
+
.diff-first-line{
|
98
|
+
font-weight: bold;
|
99
|
+
background: #A7B5FF;
|
100
|
+
border-bottom: 1px solid black;
|
101
|
+
}
|
102
|
+
.diff-summ-line{
|
103
|
+
background: #A7B5FF;
|
104
|
+
font-weight: bold;
|
105
|
+
}
|
106
|
+
.diff-added-line{
|
107
|
+
color: #096707;
|
108
|
+
background: #87f49f;
|
109
|
+
}
|
110
|
+
.diff-removed-line{
|
111
|
+
position: relative;
|
112
|
+
left: 0;
|
113
|
+
right: 0;
|
114
|
+
color: #742b2b;
|
115
|
+
background: #ffb1cb;
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
.hidden{
|
120
|
+
display: none;
|
121
|
+
}
|
122
|
+
|
123
|
+
.show_commit{
|
124
|
+
.commit{
|
125
|
+
padding:8px;
|
126
|
+
background: #ddd;
|
127
|
+
border-radius: 16px;
|
128
|
+
.author_info{
|
129
|
+
/*width: 50%;*/
|
130
|
+
float: left;
|
131
|
+
font-weight: bold;
|
132
|
+
}
|
133
|
+
.commit_sha{
|
134
|
+
margin-bottom:14px;
|
135
|
+
margin-top: -14px;
|
136
|
+
clear: left;
|
137
|
+
}
|
138
|
+
.stats{
|
139
|
+
float: right;
|
140
|
+
.additions{
|
141
|
+
color: green;
|
142
|
+
}
|
143
|
+
.deletions{
|
144
|
+
color: red;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
.loader{
|
150
|
+
margin: 0 auto;
|
151
|
+
width: 64px;
|
152
|
+
height: 64px;
|
153
|
+
background: url('/images/loader.gif') no-repeat;
|
154
|
+
display: none;
|
155
|
+
}
|