mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
HTML: Restructure html folder
This changes the HTML part of GitX to be more consistent -- we now use a "views" directory where every web view has it's own directory. Furthermore, GitX-wide Javascript is added in the "lib" directory. The same is true for CSS in the "css" directory. Every view can have its own custom CSS and JS, and those are put in the views directory (without JS or CSS prefix directories).
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
body {
|
||||
margin: 0;
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
code .delline, code .oldfile {
|
||||
background-color: #FEE;
|
||||
color: #B00;
|
||||
}
|
||||
|
||||
code .addline, code .newfile {
|
||||
background-color: #DFD;
|
||||
color: #080;
|
||||
}
|
||||
code .fileline {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
code .hunkheader {
|
||||
background-color: #f7f7f7;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
pre {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
pre code {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#CurrentHunk {
|
||||
border-left: 5px solid black;
|
||||
}
|
||||
|
||||
.whitespace {
|
||||
background-color: rgba(255,0,0,0.5);
|
||||
}
|
||||
|
||||
|
||||
table.diff {
|
||||
margin-top: 15px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
border-spacing: 0;
|
||||
}
|
||||
.lineno {
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
background-color: #ECECEC;
|
||||
color: #A9A9A9;
|
||||
border: 1px solid #DDDDDD;
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user