Skip to content

Commit 0720875

Browse files
committed
temp ui sidebar change
1 parent d423060 commit 0720875

File tree

4 files changed

+34
-4
lines changed

4 files changed

+34
-4
lines changed

git-webui/release/share/git-webui/webui/css/git-webui.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ body {
180180
border-top: 1px solid #1a1a1a;
181181
border-bottom: 1px solid #1a1a1a;
182182
color: #eeeeee;
183-
padding-bottom: 6em;
183+
padding-bottom: 100px;
184184
}
185185
#sidebar #sidebar-content > :first-child,
186-
#sidebar #sidebar-content > :last-child {
186+
#sidebar #sidebar-content > :nth-last-child(2) {
187187
border-top: 1px solid #5e5e5e;
188188
}
189189
#sidebar #sidebar-content h4:before {
@@ -216,6 +216,17 @@ body {
216216
#sidebar #sidebar-content #sidebar-tags h4:before {
217217
content: url(../img/tag.svg);
218218
}
219+
#sidebar #sidebar-content #sidebar-context h4:before {
220+
content: url(../img/gear-fill.svg);
221+
}
222+
#sidebar #sidebar-content #sidebar-context {
223+
position: absolute;
224+
bottom: 42px;
225+
width: 16.7em;
226+
padding-bottom: 0.3rem;
227+
margin-bottom: 0;
228+
background-color: #333333;
229+
}
219230
#sidebar #sidebar-content #sidebar-settings h4:before {
220231
content: url(../img/gear-fill.svg);
221232
}

git-webui/release/share/git-webui/webui/js/git-webui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,9 @@ webui.SideBarView = function(mainView, noEventHandlers) {
798798
'<section id="sidebar-tags">' +
799799
'<h4>Tags</h4>' +
800800
'</section>' +
801+
'<section id="sidebar-context">' +
802+
'<h4>Change Context</h4>' +
803+
'</section>' +
801804
'<section id="sidebar-settings">' +
802805
'<h4>Settings</h4>' +
803806
'</section>' +

git-webui/src/share/git-webui/webui/css/git-webui.less

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ body {
255255
border-top: 1px solid darken(@gray-dark, 10%);
256256
border-bottom: 1px solid darken(@gray-dark, 10%);
257257
color: @gray-lighter;
258-
padding-bottom: 6em;
258+
padding-bottom: 100px;
259259

260-
> :first-child, >:last-child {
260+
> :first-child, >:nth-last-child(2) {
261261
border-top: 1px solid darken(@separator-line, 50%);
262262
}
263263

@@ -301,6 +301,19 @@ body {
301301
content: url(../img/tag.svg);
302302
}
303303

304+
#sidebar-context h4:before {
305+
content: url(../img/gear-fill.svg)
306+
}
307+
308+
#sidebar-context {
309+
position: absolute;
310+
bottom: 42px;
311+
width: 16.7em;
312+
padding-bottom: 0.3rem;
313+
margin-bottom: 0;
314+
background-color: rgba(51, 51, 51, 1);
315+
}
316+
304317
#sidebar-settings h4:before {
305318
content: url(../img/gear-fill.svg);
306319
}

git-webui/src/share/git-webui/webui/js/git-webui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,9 @@ webui.SideBarView = function(mainView, noEventHandlers) {
798798
'<section id="sidebar-tags">' +
799799
'<h4>Tags</h4>' +
800800
'</section>' +
801+
'<section id="sidebar-context">' +
802+
'<h4>Change Context</h4>' +
803+
'</section>' +
801804
'<section id="sidebar-settings">' +
802805
'<h4>Settings</h4>' +
803806
'</section>' +

0 commit comments

Comments
 (0)