Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Commit 3212342

Browse files
author
alexandresalome
committed
merge CSS
1 parent 9e16cb9 commit 3212342

File tree

3 files changed

+74
-69
lines changed

3 files changed

+74
-69
lines changed

Resources/doc/install/symfony2.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ If you are using Assetic:
7676
.. code-block:: html+jinja
7777

7878
{% stylesheets
79-
"bundles/gitonomytwig/css/diff.css"
80-
"bundles/gitonomytwig/css/log.css"
79+
"bundles/gitonomytwig/css/all.css"
8180
%}
8281
<link rel="stylesheet" href="{{ asset(asset_url) }}" />
8382
{% endstylesheets %}
@@ -90,8 +89,7 @@ If you are using Assetic:
9089

9190
If not, you just need to make your application load those stylesheets:
9291

93-
* @GitonomyGitBundle/Resources/public/css/diff.css
94-
* @GitonomyGitBundle/Resources/public/css/log.css
92+
* @GitonomyGitBundle/Resources/public/css/all.css
9593

9694
And those javascripts:
9795

Resources/public/css/diff.css renamed to Resources/public/css/all.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Diff **/
2+
13
.file-wrapper .file {
24
margin-top: 10px;
35
}
@@ -58,3 +60,73 @@
5860
background-color: #efefef;
5961
}
6062

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+

Resources/public/css/log.css

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)