Añade el plugin Redmine Git Hosting 5.0.0

This commit is contained in:
Manuel Cillero 2021-03-20 13:29:16 +01:00
parent cfa0d58b18
commit a3bddad233
458 changed files with 30396 additions and 1 deletions

View file

@ -0,0 +1,296 @@
/*
PLUGIN SETTINGS
*/
.git_hosting_access_box {
border: 2px solid;
background-color: #dfffdf;
border-color: #9fcf9f;
color: #005f00;
margin: -6px;
padding: 4px;
}
.git_hosting_access_box p {
padding-left:100px;
margin-top: 8px;
margin-bottom: 8px;
}
.git_hosting_access_box label {
margin-left: -100px;
width: 95px;
}
.git_hosting_access_box em {
font-style: italic;
font-weight: bold;
font-size: 110%;
color: #467AA7;
}
#settings p {
margin-bottom: 15px;
margin-top: 15px;
}
/*
REPOSITORY EDIT
*/
#repository-tabs li i {
padding-right: 10px;
}
/*
REPOSITORY VIEW
*/
#sidebar li.repository.git::before {
font-family: Font Awesome\ 5 Brands;
font-size: 1.2em;
content: "\f841"; /* fab fa-git-alt */
padding-right: 4px;
}
#sidebar ul.repository.git {
padding-left: 0;
}
#git_hosting_download_buttons {
margin-top: 20px;
}
#git_hosting_download_buttons ul li {
margin-top: 5px;
margin-bottom: 5px;
}
#sidebar li.git_url {
margin: 0;
}
.git_hosting_urls {
display: block;
margin-top: 10px;
margin-bottom: 10px;
}
.git_hosting_urls .repository-urls {
margin-top: 0;
}
#git_hosting_download_buttons i {
color: #FFFFFF;
padding-right: 10px;
}
#git_hosting_download_buttons .button {
background: none repeat scroll 0 0 #2996CC;
border: 1px solid #E0E2E3;
border-color: rgba(0, 0, 0, 0);
border-radius: 4px;
color: #FFFFFF;
cursor: pointer;
display: block;
font-size: 14px;
font-weight: 500;
height: 32px;
line-height: 30px;
margin-bottom: 1px;
margin-top: 1px;
-moz-appearance: none;
padding: 0 14px;
vertical-align: middle;
text-align: center;
transition: background-color 0.2s ease-in-out 0s, color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
}
/*
REPOSITORY SETTINGS
*/
#git_hosting_settings label {
margin-left: -190px;
padding-left: 10px;
padding-right: 10px;
width: 190px;
}
/*
MISC
*/
.git_hosting_spacer { display: block; height: 10px; clear: both; }
td.buttons { width: 20%; }
.select_key_type { margin-left: 10px; }
/*
STATISTICS
*/
#statistics-global {
color: #FFFFFF;
font-weight: bold;
}
.thumbnails:before, .thumbnails:after {
content: '';
display: table;
line-height: 0;
}
.thumbnails:after {
clear: both;
}
.thumbnails:before, .thumbnails:after {
content: "";
display: table;
line-height: 0;
}
.thumbnails {
list-style: none outside none;
margin-left: -20px;
}
#statistics-global .thumbnail {
background: none repeat scroll 0 0 #3498DB;
padding: 10px;
}
.thumbnail {
position: relative;
}
.thumbnail {
border: 1px solid #DDDDDD;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
display: block;
line-height: 20px;
padding: 4px;
transition: all 0.2s ease-in-out 0s;
}
.thumbnails > li {
float: left;
margin-bottom: 20px;
margin-left: 20px;
}
.span4 {
width: 300px;
}
[class*="span"] {
float: left;
margin-left: 20px;
min-height: 1px;
}
#statistics-global .thumbnail .title {
font-size: 1.1em;
}
#statistics-global .thumbnail .value {
font-size: 3em;
line-height: 1em;
padding-top: 10px;
text-align: right;
}
.span6 {
width: 500px;
}
.thumbnail h5 {
background: none repeat scroll 0 0 #1ABC9C;
color: #FFFFFF;
padding: 10px;
position: absolute;
right: 10px;
top: 0;
font-size: 16px;
font-weight: 500;
text-transform: uppercase;
margin: 10px 0;
}
.thumbnail h4 {
font-size: 18px;
font-weight: 500;
margin: 15px;
border-bottom: 0 none;
}
.thumbnail h4 small {
color: #999999;
font-weight: normal;
line-height: 1;
}
li.url_type {
margin: 10px;
padding: 5px;
}
.draggable {
cursor: move;
}
.label {
display: inline-block;
padding: 2px 4px;
font-size: 11.844px;
font-weight: bold;
line-height: 14px;
color: #ffffff;
vertical-align: baseline;
white-space: nowrap;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-radius: 3px;
background-color: #999999;
}
.label:empty
display: none;
}
.label-important {
background-color: #b94a48;
}
.label-error {
background-color: #b94a48;
}
.label-warning {
background-color: #f89406;
}
.label-success {
background-color: #468847;
}
.label-info {
background-color: #3a87ad;
}
table.git-results td {
vertical-align: top;
text-align: left;
padding: 5px;
}
table.git-results ul, table.git-results li {
padding-left: 0;
}
ul.list-unstyled, ol.list-unstyled {
list-style-type: none;
}

View file

@ -0,0 +1,112 @@
.repository_name { color: #505050; margin-top: 5px; }
/*PROJECT OVERVIEW*/
.repository-urls {
margin-top: 15px;
}
/*
GIT_URL_BOX
*/
.git_url_box { height: 25px; padding: 0; margin: 0px; }
.git_url_desc { color: #666666; display: block; font-size: 11px; line-height: 25px; padding-top: 5px; }
.git_url_permissions { float: left; width: 44px; height: 23px; margin: 0; padding: 0; border-style: solid; border-width: 1px; border-right: 0; border-color: #BBBBBB; }
.git_url_permissions span {
display: block;
font-weight: bold;
padding: 0;
text-align: center;
vertical-align: middle;
}
.git_url_list { float: left; height: 23px; list-style-type: none; margin: 0px; padding: 0px; }
.git_url_list li { float: left; }
.git_url_text {
background-color: #FFFFFF;
border-color: #BBBBBB;
border-style: solid;
border-width: 1px 0 1px 1px;
color: #000000;
float: left;
font-family: "DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace;
font-size: 10px;
height: 25px;
margin: 0;
min-width: 55%;
padding: 3px 5px 2px;
width: auto;
}
.git_url_list li a {
background-color: #EEEEEE;
background: url('../images/button.svg') 0 0 repeat; /* Opera needs an "image" :( - using svg for this so it will scale properly without looking too ugly */
background: -khtml-gradient(linear, left top, left bottom, from(#F8F8F8), to(#DDDDDD)); /* Konquerer */
background: -moz-linear-gradient(top, #F8F8F8, #DDDDDD); /* Gecko (Firefox, ...) */
background: -webkit-gradient(linear, left top, left bottom, from(#F8F8F8), to(#DDDDDD)); /* Webkit (Chrome, Safari, ...) */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#DDDDDD'); /* IE 5.5 - 7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8', endColorstr='#DDDDDD'); /* IE 8 */
border-style: solid;
border-width: 1px 0 1px 1px;
display: block;
font-size: 11px;
font-weight: bold;
line-height: 23px;
margin: 0;
padding: 0 10px 0 11px;
text-decoration: none;
outline: none;
color: #333333;
text-shadow: 1px 1px 0 #FFFFFF;
border-color: #BBBBBB;
}
.git_url_list li a:hover,
.git_url_list li a:focus {
background-color: #507AAA;
background: url('../images/button_focus.svg') 0 0 repeat; /* Opera needs an "image" :( - using svg for this so it will scale properly without looking too ugly */
background: -khtml-gradient(linear, left top, left bottom, from(#759FCF), to(#507AAA)); /* Konquerer */
background: -moz-linear-gradient(top, #759FCF, #507AAA); /* Gecko (Firefox, ...) */
background: -webkit-gradient(linear, left top, left bottom, from(#759FCF), to(#507AAA)); /* Webkit (Chrome, Safari, ...) */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#759FCF', endColorstr='#507AAA'); /* IE 5.5 - IE 7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#759FCF', endColorstr='#507AAA'); /* IE 8 */
color: #FFFFFF;
text-shadow: -1px -1px 0 rgba(0,0,0,0.4);
border-top-color: #759FCF;
border-bottom-color: #507AAA;
}
.git_url_list li.selected a {
background-color: #BBBBBB;
background: url('../images/button_selected.svg') 0 0 repeat; /* Opera needs an "image" :( - using svg for this so it will scale properly without looking too ugly */
background: -webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#AAAAAA)); /* Konquerer */
background: -moz-linear-gradient(top, #CCCCCC, #AAAAAA); /* Gecko (Firefox, ...) */
background: -webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#AAAAAA)); /* Webkit (Chrome, Safari, ...) */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCCCCC', endColorstr='#AAAAAA'); /* IE 5.5 - IE 7 */
-ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCCCCC', endColorstr='#AAAAAA'); /* IE 8 */
color: #000;
text-shadow: 1px 1px 0 rgba(255,255,255,0.4);
border-color: #BBBBBB;
}
.git_hosting h3::before {
font-family: Font Awesome\ 5 Brands;
content: "\f841"; /* fab git-alt */
padding-right: 4px;
font-size: 18px;
}
.clipboard-button {
padding-left: 6px;
border-color: #bbb;
border-style: solid;
border-width: 1px;
width: 24px;
height: 25px;
margin: 0;
}

View file

@ -0,0 +1,228 @@
.highlight table {
display: block;
width: 100%;
overflow: auto;
padding-bottom: 10px;
}
.highlight table th {
font-weight: 600;
}
.highlight table th,
.highlight table td {
padding: 6px 13px;
border: 1px solid #dfe2e5;
}
.highlight table tr {
background-color: #fff;
border: 1px solid #c6cbd1;
}
.highlight table pre {
margin: 0;
}
.highlight .cm {
color: #999988;
font-style: italic;
}
.highlight .cp {
color: #999999;
font-weight: bold;
}
.highlight .c1 {
color: #999988;
font-style: italic;
}
.highlight .cs {
color: #999999;
font-weight: bold;
font-style: italic;
}
.highlight .c, .highlight .cd {
color: #999988;
font-style: italic;
}
.highlight .err {
color: #a61717;
background-color: #e3d2d2;
}
.highlight .gd {
color: #000000;
background-color: #ffdddd;
}
.highlight .ge {
color: #000000;
font-style: italic;
}
.highlight .gr {
color: #aa0000;
}
.highlight .gh {
color: #999999;
}
.highlight .gi {
color: #000000;
background-color: #ddffdd;
}
.highlight .go {
color: #888888;
}
.highlight .gp {
color: #555555;
}
.highlight .gs {
font-weight: bold;
}
.highlight .gu {
color: #aaaaaa;
}
.highlight .gt {
color: #aa0000;
}
.highlight .kc {
color: #000000;
font-weight: bold;
}
.highlight .kd {
color: #000000;
font-weight: bold;
}
.highlight .kn {
color: #000000;
font-weight: bold;
}
.highlight .kp {
color: #000000;
font-weight: bold;
}
.highlight .kr {
color: #000000;
font-weight: bold;
}
.highlight .kt {
color: #445588;
font-weight: bold;
}
.highlight .k, .highlight .kv {
color: #000000;
font-weight: bold;
}
.highlight .mf {
color: #009999;
}
.highlight .mh {
color: #009999;
}
.highlight .il {
color: #009999;
}
.highlight .mi {
color: #009999;
}
.highlight .mo {
color: #009999;
}
.highlight .m, .highlight .mb, .highlight .mx {
color: #009999;
}
.highlight .sb {
color: #d14;
}
.highlight .sc {
color: #d14;
}
.highlight .sd {
color: #d14;
}
.highlight .s2 {
color: #d14;
}
.highlight .se {
color: #d14;
}
.highlight .sh {
color: #d14;
}
.highlight .si {
color: #d14;
}
.highlight .sx {
color: #d14;
}
.highlight .sr {
color: #009926;
}
.highlight .s1 {
color: #d14;
}
.highlight .ss {
color: #990073;
}
.highlight .s {
color: #d14;
}
.highlight .na {
color: #008080;
}
.highlight .bp {
color: #999999;
}
.highlight .nb {
color: #0086B3;
}
.highlight .nc {
color: #445588;
font-weight: bold;
}
.highlight .no {
color: #008080;
}
.highlight .nd {
color: #3c5d5d;
font-weight: bold;
}
.highlight .ni {
color: #800080;
}
.highlight .ne {
color: #990000;
font-weight: bold;
}
.highlight .nf {
color: #990000;
font-weight: bold;
}
.highlight .nl {
color: #990000;
font-weight: bold;
}
.highlight .nn {
color: #555555;
}
.highlight .nt {
color: #000080;
}
.highlight .vc {
color: #008080;
}
.highlight .vg {
color: #008080;
}
.highlight .vi {
color: #008080;
}
.highlight .nv {
color: #008080;
}
.highlight .ow {
color: #000000;
font-weight: bold;
}
.highlight .o {
color: #000000;
font-weight: bold;
}
.highlight .w {
color: #bbbbbb;
}
.highlight {
background-color: #f8f8f8;
}

View file

@ -0,0 +1,23 @@
/*
PLUGIN ICON
*/
#admin-menu a.redmine-git-hosting::before {
font-family: Font Awesome\ 5 Brands;
font-size: 1.4em;
content: "\f841"; /* fab fa-git-alt */
padding-right: 4px;
}
#admin-menu a.redmine-git-hosting {
padding-left: 0;
}
.authors-list {
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
}
.icon-git { padding-right: 10px; }
.icon-git-disabled { opacity: 0.5; }