jbox-web/redmine_git_hosting

View on GitHub
assets/stylesheets/application.css

Summary

Maintainability
Test Coverage
/* stylelint-disable font-family-no-missing-generic-family-keyword */

/*
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;
}

#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;
}

/*
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: #fff;
  font-weight: bold;
}

.thumbnails::before,
.thumbnails::after {
  content: '';
  display: table;
  line-height: 0;
}

.thumbnails::after {
  clear: both;
}

.thumbnails {
  list-style: none outside none;
  margin-left: -20px;
}

.thumbnail {
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  display: block;
  line-height: 20px;
  padding: 4px;
  position: relative;
  transition: all 0.2s ease-in-out 0s;
}

.thumbnails > li {
  float: left;
  margin-bottom: 20px;
  margin-left: 20px;
}

#statistics-global .thumbnail {
  background: none repeat scroll 0 0 #3498db;
  padding: 10px;
}

.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: #fff;
  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: #999;
  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: #fff;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  background-color: #999;
}

.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;
}