mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-02-21 05:57:33 +01:00
Also adds rounded corners to follow bootstrap style Updates fontawesome to 4.7.0 Updates bootstrap to v3.3.7 Updates jQuery to v3.1.1
301 lines
5.8 KiB
Plaintext
301 lines
5.8 KiB
Plaintext
.repository {
|
|
margin-bottom: @line-height-computed;
|
|
border: 1px solid @navbar-default-border;
|
|
|
|
.repository-header {
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
padding: 10px;
|
|
font-size: @font-size-base;
|
|
font-weight: 700;
|
|
|
|
span.rss-icon {
|
|
font-size: @font-size-h3;
|
|
}
|
|
> .fa {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
.repository-body {
|
|
padding: @padding-base-vertical @padding-base-horizontal;
|
|
background-color: @navbar-default-bg;
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tree {
|
|
border: 1px solid @navbar-default-border;
|
|
> thead > tr > th {
|
|
background-color: @navbar-default-bg;
|
|
padding: 8px;
|
|
line-height: @line-height-computed;;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
}
|
|
tbody td {
|
|
padding: 8px;
|
|
line-height: @line-height-computed;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid @gray-lighter;
|
|
|
|
> .fa {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
caption + thead tr:first-child th,
|
|
caption + thead tr:first-child td,
|
|
colgroup + thead tr:first-child th,
|
|
colgroup + thead tr:first-child td,
|
|
thead:first-child tr:first-child th,
|
|
thead:first-child tr:first-child td {
|
|
border-top: 0;
|
|
}
|
|
tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.source-view {
|
|
width: 100%;
|
|
margin-bottom: @line-height-computed;
|
|
border: 1px solid @navbar-default-border;
|
|
border-radius: @border-radius-base;
|
|
|
|
.source-header {
|
|
background-color: @navbar-default-bg;
|
|
padding: 8px;
|
|
line-height: @line-height-computed;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
border-top-right-radius: @border-radius-base;
|
|
border-top-left-radius: @border-radius-base;
|
|
|
|
.clearfix();
|
|
|
|
.meta {
|
|
float: left;
|
|
padding: 8px 0;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
pre {
|
|
margin: 0;
|
|
padding: 12px;
|
|
border: none;
|
|
}
|
|
#sourcecode {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
width: 100%;
|
|
height: 600px;
|
|
}
|
|
.source-diff {
|
|
background-color: #F8F8F8;
|
|
overflow-x: scroll;
|
|
pre {
|
|
margin: 0;
|
|
padding: 0 0 0 6px;
|
|
border: none;
|
|
border-radius: 0;
|
|
|
|
&:hover {
|
|
background-color: #ffc;
|
|
}
|
|
}
|
|
table td {
|
|
padding: 0;
|
|
}
|
|
.new {
|
|
background-color: #DFD;
|
|
}
|
|
.old {
|
|
background-color: #FDD;
|
|
}
|
|
.chunk {
|
|
background-color: darken(#f5f5f5, 5%);
|
|
color: @gray-light;
|
|
}
|
|
.lineNo {
|
|
color: #aaa;
|
|
background-color: #e8e8e8;
|
|
padding: 0 6px;
|
|
text-align: right;
|
|
border-right: 1px solid #ddd;
|
|
font-family: monospace;
|
|
}
|
|
}
|
|
.image-blob {
|
|
padding: 10px;
|
|
max-width: 600px;
|
|
}
|
|
}
|
|
|
|
.blame-view {
|
|
width: 100%;
|
|
|
|
td {
|
|
vertical-align: top;
|
|
padding: 8px;
|
|
}
|
|
tr {
|
|
border-bottom: 1px solid @gray-lighter;
|
|
}
|
|
tr:last-child {
|
|
border-bottom: 0
|
|
}
|
|
.line {
|
|
font-weight: 700;
|
|
border-right: 1px solid @gray-lighter;
|
|
}
|
|
.commit {
|
|
background-color: #F8F8F8;
|
|
font-weight: 700;
|
|
border-right: 1px solid @gray-lighter;
|
|
}
|
|
pre {
|
|
background-color: transparent;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
// Commits
|
|
.commits {
|
|
border: 1px solid @navbar-default-border;
|
|
|
|
> thead > tr > th {
|
|
background-color: @navbar-default-bg;
|
|
padding: 8px;
|
|
line-height: @line-height-computed;;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
}
|
|
tbody td {
|
|
padding: 8px;
|
|
line-height: @line-height-computed;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
h4, h5, h6 {
|
|
margin-top: 0;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
|
|
.commit-view {
|
|
width: 100%;
|
|
margin-bottom: @line-height-base;
|
|
border: 1px solid @navbar-default-border;
|
|
border-radius: 0;
|
|
|
|
.commit-header {
|
|
background-color: @navbar-default-bg;
|
|
padding: 8px;
|
|
line-height: @line-height-base;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
|
|
h4 {
|
|
padding: 6px 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
.commit-body {
|
|
padding: 8px;
|
|
}
|
|
}
|
|
|
|
.commit-list {
|
|
list-style-type: none;
|
|
margin-bottom:0;
|
|
li {
|
|
padding: 8px 5px 8px 5px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
border-bottom: 1px solid lighten(@navbar-default-border, 5%);
|
|
.meta {
|
|
font-weight: normal;
|
|
font-size: 14px;
|
|
color: @gray-light;
|
|
}
|
|
.clearfix();
|
|
}
|
|
li:first-child {
|
|
padding-top: 0;
|
|
}
|
|
li:last-child {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.stats {
|
|
border: 1px solid @navbar-default-border;
|
|
border-radius: @border-radius-base;
|
|
|
|
> thead > tr > th {
|
|
background-color: @navbar-default-bg;
|
|
padding: 8px;
|
|
line-height: @line-height-computed;;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
border-bottom: 1px solid @navbar-default-border;
|
|
}
|
|
tbody td {
|
|
padding: 8px;
|
|
line-height: @line-height-computed;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid @gray-lighter;
|
|
|
|
> .fa {
|
|
margin-right: 8px;
|
|
}
|
|
}
|
|
caption + thead tr:first-child th,
|
|
caption + thead tr:first-child td,
|
|
colgroup + thead tr:first-child th,
|
|
colgroup + thead tr:first-child td,
|
|
thead:first-child tr:first-child th,
|
|
thead:first-child tr:first-child td {
|
|
border-top: 0;
|
|
}
|
|
tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.readme-view {
|
|
border: 1px solid @navbar-default-border;
|
|
}
|
|
|
|
.md-view {
|
|
width: 100%;
|
|
margin-bottom: @line-height-base;
|
|
}
|
|
|
|
.md-header {
|
|
padding: @padding-large-horizontal;
|
|
background-color: @navbar-default-bg;
|
|
line-height: @line-height-base;
|
|
border-bottom: 1px solid lighten(@navbar-default-border, 5%);
|
|
font-weight: bold;
|
|
}
|
|
|
|
#md-content {
|
|
padding: @padding-large-vertical @padding-large-horizontal;
|
|
color: @text-color;
|
|
}
|
|
|