This repository was archived by the owner on Apr 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +74
-69
lines changed Expand file tree Collapse file tree 3 files changed +74
-69
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ If you are using Assetic:
76
76
.. code-block :: html+jinja
77
77
78
78
{% stylesheets
79
- "bundles/gitonomytwig/css/diff.css"
80
- "bundles/gitonomytwig/css/log.css"
79
+ "bundles/gitonomytwig/css/all.css"
81
80
%}
82
81
<link rel="stylesheet" href="{{ asset(asset_url) }}" />
83
82
{% endstylesheets %}
@@ -90,8 +89,7 @@ If you are using Assetic:
90
89
91
90
If not, you just need to make your application load those stylesheets:
92
91
93
- * @GitonomyGitBundle/Resources/public/css/diff.css
94
- * @GitonomyGitBundle/Resources/public/css/log.css
92
+ * @GitonomyGitBundle/Resources/public/css/all.css
95
93
96
94
And those javascripts:
97
95
Original file line number Diff line number Diff line change
1
+ /** Diff **/
2
+
1
3
.file-wrapper .file {
2
4
margin-top : 10px ;
3
5
}
58
60
background-color : # efefef ;
59
61
}
60
62
63
+ /** Log **/
64
+
65
+ span .git-author {
66
+ background-color : # ddeeff ;
67
+ display : inline-block;
68
+ padding : 1px 5px ;
69
+ }
70
+
71
+ .git-log-wrapper {
72
+ position : relative;
73
+ overflow : hidden;
74
+ }
75
+
76
+ .git-log {
77
+ width : 100% ;
78
+ position : relative;
79
+ z-index : 1 ;
80
+ }
81
+
82
+ .git-log-wrapper svg {
83
+ position : absolute;
84
+ left : 0 ;
85
+ right : 0 ;
86
+ top : 0 ;
87
+ z-index : 2 ;
88
+ pointer-events : none;
89
+ }
90
+
91
+ .git-log thead th a ,
92
+ .git-log tfoot th a
93
+ {
94
+ display : block;
95
+ background-color : # efefef ;
96
+ font-weight : normal;
97
+ padding : 1em ;
98
+ }
99
+
100
+ .git-log th , .git-log td {
101
+ line-height : 1.2em ;
102
+ }
103
+
104
+ .git-log th {
105
+ text-align : left;
106
+ background-color : # e7e7e7 ;
107
+ line-height : 1.8em ;
108
+ }
109
+
110
+ /** References **/
111
+
112
+ .ref {
113
+ background-color : # ddd ;
114
+ padding : 1px 5px ;
115
+ margin-right : 5px ;
116
+ border-radius : 5px ;
117
+ font-size : 0.8em ;
118
+ }
119
+
120
+ .ref .branch {
121
+ background-color : # 33ff33 ;
122
+ }
123
+
124
+ .ref .branch .remote {
125
+ background-color : # e5e100 ;
126
+ }
127
+
128
+ .ref .tag {
129
+ background-color : black;
130
+ color : white;
131
+ }
132
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments