Files
Redmine/app/assets/stylesheets/scm.css
2025-10-06 21:01:29 +00:00

153 lines
4.8 KiB
CSS

/**
* Redmine - project management software
* Copyright (C) 2006- Jean-Philippe Lang
* This code is released under the GNU General Public License.
*/
table.entries a {
padding-top: 2px;
padding-bottom: 2px;
}
table.revision-info td {
margin: 0px;
padding: 0px;
}
div.revision-graph { position: absolute; min-width: 1px; }
div.changeset-changes ul { margin: 0; padding: 0; }
div.changeset-changes ul > ul { margin-left: 18px; padding: 0; }
div.changeset-changes ul:first-child > li {padding-left: 0}
li.change {
list-style-type:none;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 20px;
margin: 0;
}
li.change.folder.change-A { background-image: url(/folder_open_add.png); }
li.change.folder.change-M { background-image: url(/folder_open_orange.png); }
li.change.change-A svg.icon-svg {
fill: var(--oc-green-7);
stroke: var(--oc-white);
}
li.change.change-M svg.icon-svg {
fill: var(--oc-yellow-7);
stroke: var(--oc-white);
}
li.change.change-C svg.icon-svg {
fill: var(--oc-cyan-7);
stroke: var(--oc-white);
}
li.change.change-R svg.icon-svg {
fill: var(--oc-grape-7);
stroke: var(--oc-white);
}
li.change.change-D svg.icon-svg {
fill: var(--oc-red-7);
stroke: var(--oc-white);
}
li.change .copied-from { font-style: italic; color: var(--oc-gray-6); font-size: 0.9em; }
li.change .copied-from:before { content: " - "}
#changes-legend { float: right; font-size: 0.75rem; margin: 0; }
#changes-legend li { float: left; background-position: 5px 1px; }
table.filecontent { border: 1px solid var(--oc-gray-4); border-collapse: collapse; width:98%; background-color: var(--oc-gray-0); }
table.filecontent tbody {font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:0.75rem;}
table.filecontent th { border: 1px solid var(--oc-gray-4); background-color: var(--oc-gray-1); }
table.filecontent th.filename { background-color: var(--oc-gray-2); text-align: left; padding:5px;}
table.filecontent tr.spacing th { text-align:center; }
table.filecontent tr.spacing td { height: 0.4em; background: rgba(var(--oc-blue-1-rgb), 0.3);}
table.filecontent th.line-num {
border: 1px solid var(--oc-gray-4);
text-align: right;
width: 2%;
padding: 0 3px 0 0;
color: var(--oc-gray-6);
user-select: none;
-moz-user-select: none;
-o-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
font-weight:normal;
}
table.filecontent th.line-num a {
text-decoration: none;
color: inherit;
}
table.filecontent th.line-num a:after {
content: attr(data-txt);
}
table.diffcontent th.line-num:after {
content: attr(data-txt);
}
table.filecontent td.line-code {padding: 0 0 0 4px;}
table.filecontent td.line-code pre, table.filecontent td.line-code div {
margin: 0px;
white-space: pre-wrap;
font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:0.75rem;
}
table.filecontent tr:target th.line-num { background-color:var(--oc-gray-3); color: var(--oc-gray-6); }
table.filecontent tr:target td.line-code { background-color:var(--oc-blue-0); }
img.filecontent, video.filecontent { max-width: 100%; }
.previous-filename {
font-weight: normal;
}
/* 12 different colors for the annonate view */
table.annotate tr.bloc-0 td.line-code {border-left-color: var(--oc-yellow-1);}
table.annotate tr.bloc-1 td.line-code {border-left-color: var(--oc-grape-2);}
table.annotate tr.bloc-2 td.line-code {border-left-color: var(--oc-cyan-1);}
table.annotate tr.bloc-3 td.line-code {border-left-color: var(--oc-orange-2);}
table.annotate tr.bloc-4 td.line-code {border-left-color: var(--oc-lime-2);}
table.annotate tr.bloc-5 td.line-code {border-left-color: var(--oc-indigo-2);}
table.annotate tr.bloc-6 td.line-code {border-left-color: var(--oc-pink-2);}
table.annotate tr.bloc-7 td.line-code {border-left-color: var(--oc-violet-1);}
table.annotate tr.bloc-8 td.line-code {border-left-color: var(--oc-green-2);}
table.annotate tr.bloc-9 td.line-code {border-left-color: var(--oc-violet-3);}
table.annotate tr.bloc-10 td.line-code {border-left-color: var(--oc-red-3);}
table.annotate tr.bloc-11 td.line-code {border-left-color: var(--oc-blue-2);}
table.annotate tr.bloc-change {border-top:1px solid var(--oc-gray-3);}
table.annotate td.revision {
padding:0;
text-align: center;
width: 2%;
padding-left: 1em;
background: inherit;
}
table.annotate td.author {
padding:0;
text-align: center;
white-space: nowrap;
padding-left: 1em;
padding-right: 1em;
width: 3%;
background: inherit;
}
table.annotate td.previous {
padding: 0;
text-align: center;
width: 1%;
background: inherit;
}
table.annotate td.line-code {
background-color: var(--oc-gray-0);
border-left: 6px solid var(--oc-gray-3);
}
.breadcrumbs>.separator::before, .breadcrumbs>.separator::after {
content: " ";
}