Changeset - 3f1e3fba3a3e
[Not reviewed]
default
0 3 0
Thomas De Schampheleire - 8 years ago 2017-09-29 21:30:55
thomas.de.schampheleire@gmail.com
style: move perm_tag to kallithea-tags.less

Also move these styles in the original style.css to make the delta again
zero.
3 files changed with 55 insertions and 54 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -258,384 +258,411 @@ div.panel.panel-default div.panel-headin
 
}
 
#content div.panel table td.date {
 
  width: 33%;
 
  text-align: center;
 
}
 
#content div.panel div.action {
 
  float: right;
 
  background: #FFF;
 
  text-align: right;
 
  margin: 10px 0 0;
 
  padding: 0;
 
}
 
#content div.panel div.action select {
 
  font-size: 11px;
 
  margin: 0;
 
}
 
#content div.panel div.action .ui-selectmenu {
 
  margin: 0;
 
  padding: 0;
 
}
 
#content div.panel ul.pagination {
 
  margin: 10px 0 0 0;
 
}
 
#content div.panel ul.pagination > li > a,
 
#content div.panel ul.pagination > li > span {
 
  background: #ebebeb url("../images/pager.png") repeat-x;
 
  color: #4A4A4A;
 
  font-weight: 700;
 
  border-top: 1px solid #dedede;
 
  border-left: 1px solid #cfcfcf;
 
  border-bottom: 1px solid #c4c4c4;
 
  border-right: 1px solid #cfcfcf;
 
}
 
#content div.panel ul.pagination > li.active > span,
 
#content div.panel ul.pagination > li:hover > a,
 
#content div.panel ul.pagination > li:active > a {
 
  background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
 
  border-top: 1px solid #ccc;
 
  border-left: 1px solid #bebebe;
 
  border-bottom: 1px solid #afafaf;
 
  border-right: 1px solid #bebebe;
 
  color: #515151;
 
}
 
#content div.panel div.traffic div.legend {
 
  clear: both;
 
  overflow: hidden;
 
  border-bottom: 1px solid #ddd;
 
  margin: 0 0 10px;
 
  padding: 0 0 10px;
 
}
 
#content div.panel div.traffic div.legend h6 {
 
  float: left;
 
  border: none;
 
  margin: 0;
 
  padding: 0;
 
}
 
#content div.panel div.traffic div.legend li {
 
  list-style: none;
 
  float: left;
 
  font-size: 11px;
 
  margin: 0;
 
  padding: 0 8px 0 4px;
 
}
 
#content div.panel div.traffic div.legend li.visits {
 
  border-left: 12px solid #edc240;
 
}
 
#content div.panel div.traffic div.legend li.pageviews {
 
  border-left: 12px solid #afd8f8;
 
}
 
#content div.panel div.traffic table {
 
  width: auto;
 
}
 
#content div.panel div.traffic table td {
 
  background: transparent;
 
  border: none;
 
  padding: 2px 3px 3px;
 
}
 
#content div.panel div.traffic table td.legendLabel {
 
  padding: 0 3px 2px;
 
}
 
#content div.panel #summary-panel-body {
 
  position: relative;
 
}
 
#content div.panel div#summary-panel-body.form div.form-group > div {
 
  margin: 0 0 10px 150px;
 
}
 
#content div.panel #summary {
 
  margin-right: 200px;
 
  min-height: 200px;
 
}
 
ul#summary-menu-stats {
 
  width: 180px;
 
  position: absolute;
 
  top: 0;
 
  right: 0;
 
  border-radius: 4px;
 
  margin: 15px;
 
}
 
#content #summary-menu-stats li {
 
  padding: 0;
 
}
 
#content #summary-menu-stats li:hover {
 
  background: #f0f0f0;
 
}
 
#summary-menu-stats a {
 
  display: block;
 
  padding: 10px;
 
}
 
#repo_size_2 {
 
  display: none;
 
}
 
#repo_size_2.loaded {
 
  display: block;
 
  padding-right: 10px;
 
  padding-bottom: 7px;
 
}
 
#summary-menu-stats a:hover {
 
  text-decoration: none;
 
}
 
#summary-menu-stats .badge {
 
  padding: 2px 4px !important;
 
  font-size: 10px;
 
}
 
#summary .metatag {
 
  display: inline-block;
 
  padding: 3px 5px;
 
  margin-bottom: 3px;
 
  margin-right: 1px;
 
  border-radius: 5px;
 
}
 
#content div.panel #summary p {
 
  margin-bottom: -5px;
 
  width: 600px;
 
  white-space: pre-wrap;
 
}
 
#clone_by_name.input-group,
 
#clone_by_id.input-group {
 
  width: 100%;
 
}
 
#clone_by_name.input-group > span,
 
#clone_by_id.input-group > span {
 
  display: inline-block;
 
  float: left;
 
  height: 30px;
 
}
 
#clone_by_name.input-group > input,
 
#clone_by_id.input-group > input {
 
  width: 50%;
 
}
 
#clone_by_name.input-group .form-control,
 
#clone_by_id.input-group .form-control {
 
  height: 30px;
 
}
 
.metatag {
 
  display: inline-block;
 
  margin-right: 1px;
 
  border-radius: 4px 4px 4px 4px;
 
  border: solid 1px #9CF;
 
  padding: 2px 3px 2px 3px !important;
 
  background-color: #DEF;
 
}
 
.metatag[data-tag="dead"] {
 
  background-color: #E44;
 
}
 
.metatag[data-tag="stale"] {
 
  background-color: #EA4;
 
}
 
.metatag[data-tag="featured"] {
 
  background-color: #AEA;
 
}
 
.metatag[data-tag="requires"] {
 
  background-color: #9CF;
 
}
 
.metatag[data-tag="recommends"] {
 
  background-color: #BDF;
 
}
 
.metatag[data-tag="lang"] {
 
  background-color: #FAF474;
 
}
 
.metatag[data-tag="license"] {
 
  border: solid 1px #9CF;
 
  background-color: #DEF;
 
}
 
.metatag[data-tag="see"] {
 
  border: solid 1px #CBD;
 
  background-color: #EDF;
 
}
 
a.metatag[data-tag="license"]:hover {
 
  background-color: #577632;
 
  color: #FFF;
 
  text-decoration: none;
 
}
 
#perms .perm_tag {
 
  position: relative;
 
  top: -2px;
 
  margin-left: 3px;
 
  padding: 3px 3px 1px 3px;
 
  font-size: 10px;
 
  font-weight: bold;
 
  text-transform: uppercase;
 
  white-space: nowrap;
 
  border-radius: 3px;
 
}
 
#perms .perm_tag.admin {
 
  background-color: #B94A48;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.write {
 
  background-color: #DB7525;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.read {
 
  background-color: #468847;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.none {
 
  background-color: #bfbfbf;
 
  color: #ffffff;
 
}
 
#summary .desc {
 
  white-space: pre;
 
  width: 100%;
 
}
 
#footer {
 
  padding: 10px 15px;
 
  background-color: #577632;
 
  background-repeat: repeat-x;
 
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
 
}
 
#footer > span {
 
  color: #FFF;
 
  font-weight: 700;
 
}
 
#footer .navbar-link {
 
  color: #FFF;
 
}
 
#footer.navbar {
 
  min-height: inherit;
 
  padding-bottom: 8px;
 
}
 
#login .panel-body .icon-lock {
 
  font-size: 100px;
 
  color: #DDD;
 
  margin-left: -15px;
 
  z-index: 1;
 
}
 
.user-menu {
 
  padding: 0 !important;
 
}
 
.user-menu .gravatar {
 
  margin: 0px 0px 0px 0px;
 
  cursor: pointer;
 
}
 
.user-menu .gravatar.enabled {
 
  background-color: #FDF784 !important;
 
}
 
.user-menu .gravatar:hover {
 
  background-color: #FDF784 !important;
 
}
 
#quick_login {
 
  width: 330px;
 
  min-height: 110px;
 
  padding: 0;
 
  position: absolute;
 
  right: 0;
 
  color: #fff;
 
  background-color: #577632;
 
  background-repeat: repeat-x;
 
  background-image: linear-gradient(to bottom, #577632, #577632);
 
  z-index: 999;
 
  border-radius: 0px 0px 4px 4px;
 
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
 
  overflow: hidden;
 
}
 
#quick_login .form {
 
  margin: 15px;
 
}
 
#quick_login h4 {
 
  color: #fff;
 
  margin-bottom: 10px;
 
}
 
#quick_login input#username,
 
#quick_login input#password {
 
  display: block;
 
  margin: 5px 0 10px;
 
}
 
#quick_login .password_forgotten a,
 
#quick_login .register a {
 
  padding: 0 !important;
 
  line-height: 25px !important;
 
  float: left;
 
  clear: both;
 
}
 
#quick_login .submit {
 
  float: right;
 
}
 
#quick_login .submit input#sign_in {
 
  margin-top: 5px;
 
}
 
#quick_login > .pull-left {
 
  width: 170px;
 
}
 
#quick_login > .pull-right {
 
  width: 140px;
 
}
 
#quick_login .full_name {
 
  color: #FFFFFF;
 
  font-weight: bold;
 
  padding: 3px 3px 3px 15px;
 
}
 
#quick_login .big_gravatar {
 
  padding: 15px 0px 0px 15px;
 
}
 
#quick_login .notifications {
 
  padding: 2px 0px 0px 15px;
 
  color: #FFFFFF;
 
  font-weight: bold;
 
  line-height: 10px !important;
 
}
 
#quick_login .notifications a,
 
#quick_login .unread a {
 
  color: #FFFFFF;
 
  display: block;
 
  padding: 0px !important;
 
}
 
#quick_login .notifications a:hover,
 
#quick_login .unread a:hover {
 
  background-color: inherit !important;
 
}
 
#quick_login .email,
 
#quick_login .unread {
 
  color: #FFFFFF;
 
  padding: 3px 3px 3px 15px;
 
}
 
#quick_login div.form div.form-group {
 
  padding: 5px;
 
}
 
#quick_login div.form div.form-group > label {
 
  color: #fff;
 
  padding-bottom: 3px;
 
}
 
#quick_login div.form div.form-group > div input {
 
  width: 236px;
 
  background: #FFF;
 
  border-top: 1px solid #b3b3b3;
 
  border-left: 1px solid #b3b3b3;
 
  border-right: 1px solid #eaeaea;
 
  border-bottom: 1px solid #eaeaea;
 
  color: #000;
 
  font-size: 11px;
 
  margin: 0;
 
  padding: 5px 7px 4px;
 
}
 
#quick_login div.form div.buttons {
 
  clear: both;
 
  overflow: hidden;
 
  text-align: right;
 
  margin: 0;
 
  padding: 5px 14px 0px 5px;
 
}
 
#quick_login div.form div.links {
 
  clear: both;
 
  overflow: hidden;
 
  margin: 10px 0 0;
 
  padding: 0 0 2px;
 
}
 
#quick_login ol.links {
 
  display: block;
 
  font-weight: bold;
 
  list-style: none outside none;
 
  text-align: right;
 
}
 
#quick_login ol.links li {
 
  line-height: 27px;
 
  margin: 0;
 
  padding: 0;
 
  color: #fff;
 
  display: block;
 
  float: none !important;
 
}
 
#quick_login ol.links li a {
 
  color: #fff;
 
  display: block;
 
  padding: 2px;
 
}
 
#quick_login ol.links li a:HOVER {
 
  background-color: inherit !important;
 
}
 
#register div.form div.form-group > label {
 
  width: 135px;
 
  float: left;
 
  text-align: right;
 
  margin: 2px 10px 0 0;
 
  padding: 5px 0 0 5px;
 
}
 
#register div.form div.form-group > div input {
 
  width: 300px;
 
}
 
#register div.form div.buttons {
 
  border-top: 1px solid #DDD;
 
  margin: 0;
 
  padding: 10px 0 0 145px;
 
}
 
#journal .journal_user {
 
  color: #747474;
 
  font-size: 14px;
 
  font-weight: bold;
 
  height: 30px;
 
}
 
#journal .journal_user.deleted {
 
  color: #747474;
 
@@ -1785,411 +1812,384 @@ form.comment-form {
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
.comment-form .comment-button {
 
  padding-top: 5px;
 
}
 
.add-another-button {
 
  margin-left: 10px;
 
  margin-top: 10px;
 
  margin-bottom: 10px;
 
}
 
.panel-heading .pull-left input[type=checkbox],
 
.panel-heading .pull-right input[type=checkbox] {
 
  position: relative;
 
  top: 4px;
 
  margin: -10px 2px 0;
 
}
 
/** comment inline form **/
 
.comment-inline-form {
 
  margin: 4px;
 
  max-width: 978px;
 
}
 
#comments-general-comments .comment-inline-form {
 
  margin: 0;
 
}
 
.comment-inline-form .submitting-overlay {
 
  height: 0;
 
  text-align: center;
 
  font-size: 16px;
 
  opacity: 0.5;
 
}
 
.comment-inline-form .clearfix,
 
.comment-form .clearfix {
 
  background: #EEE;
 
  border-radius: 4px;
 
  padding: 5px;
 
  margin: 0px;
 
}
 
div.comment-inline-form {
 
  padding: 4px 0px 6px 0px;
 
}
 
.comment-inline-form textarea {
 
  width: 100%;
 
  height: 100px;
 
  font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace;
 
}
 
form.comment-inline-form {
 
  margin-top: 10px;
 
  margin-left: 10px;
 
}
 
.comment-inline-form-submit {
 
  margin-top: 5px;
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-inline-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-inline-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
.comment-inline-form .comment-button {
 
  padding-top: 5px;
 
}
 
/** comment inline **/
 
.inline-comments .comment {
 
  margin: 3px 3px 5px 5px;
 
}
 
.inline-comments #comments-general-comments .comment {
 
  margin-left: 0;
 
}
 
.inline-comments .add-button-row {
 
  padding: 2px 4px 8px 5px;
 
}
 
.inline-comments .comments-number {
 
  padding: 0px 0px 10px 0px;
 
  color: #666;
 
}
 
input.status_change_checkbox,
 
input.status_change_radio {
 
  margin: 0 0 5px 15px;
 
}
 
.badge {
 
  padding: 4px 4px !important;
 
  text-align: center;
 
  color: #888 !important;
 
  background-color: #DEDEDE !important;
 
  border-radius: 4px !important;
 
}
 
@keyframes animated-comment-background {
 
  0% {
 
    background-position: 0 0;
 
  }
 
  100% {
 
    background-position: 20px 0;
 
  }
 
}
 
.comment-preview.failed .user,
 
.comment-preview.failed .panel-body {
 
  color: #666;
 
}
 
.comment-preview .comment-submission-status {
 
  float: right;
 
}
 
.comment-preview .comment-submission-status .btn-group {
 
  margin-left: 10px;
 
}
 
.comment-preview.submitting .panel-body {
 
  background-image: linear-gradient(-45deg, #FAFAFA, #FAFAFA 25%, #FFF 25%, #FFF 50%, #FAFAFA 50%, #FAFAFA 75%, #FFF 75%, #FFF 100%);
 
  background-size: 20px 20px;
 
  animation: animated-comment-background 0.4s linear infinite;
 
}
 
/****
 
PULL REQUESTS
 
*****/
 
.pullrequests_section_head {
 
  padding: 10px 10px 10px 0px;
 
  margin: 0 15px;
 
  font-size: 16px;
 
  font-weight: bold;
 
}
 
div.pr-details-title.closed {
 
  color: #555;
 
  background: #eee;
 
}
 
div.pr {
 
  margin: 0px 15px;
 
  padding: 4px 4px;
 
}
 
div.pr-desc {
 
  margin: 0px 15px;
 
}
 
tr.pr-closed td {
 
  background-color: #eee !important;
 
  color: #555 !important;
 
}
 
span.pr-closed-tag {
 
  margin-bottom: 1px;
 
  margin-right: 1px;
 
  padding: 1px 3px;
 
  font-size: 10px;
 
  color: #577632;
 
  white-space: nowrap;
 
  border-radius: 4px;
 
  border: 1px solid #d9e8f8;
 
  line-height: 1.5em;
 
}
 
.panel-body .pr-box {
 
  max-width: 978px;
 
  margin-right: 15px;
 
}
 
#s2id_org_ref,
 
#s2id_other_ref,
 
#s2id_org_repo,
 
#s2id_other_repo {
 
  min-width: 150px;
 
  margin: 5px;
 
}
 
#pr-summary .msg-div {
 
  margin: 5px 0;
 
}
 
#pr-summary > .pr-not-edit {
 
  min-height: 50px !important;
 
}
 
#pr-edit-btn {
 
  margin: 20px 0 0 !important;
 
  position: absolute;
 
}
 
/****
 
  PERMS
 
*****/
 
#perms .perms_section_head {
 
  padding: 10px 10px 10px 0px;
 
  font-size: 16px;
 
  font-weight: bold;
 
  text-transform: capitalize;
 
}
 
#perms .perms_section_head label {
 
  margin-left: 10px;
 
}
 
#perms .perm_tag {
 
  position: relative;
 
  top: -2px;
 
  margin-left: 3px;
 
  padding: 3px 3px 1px 3px;
 
  font-size: 10px;
 
  font-weight: bold;
 
  text-transform: uppercase;
 
  white-space: nowrap;
 
  border-radius: 3px;
 
}
 
#perms .perm_tag.admin {
 
  background-color: #B94A48;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.write {
 
  background-color: #DB7525;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.read {
 
  background-color: #468847;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.none {
 
  background-color: #bfbfbf;
 
  color: #ffffff;
 
}
 
input.perm_filter {
 
  position: relative;
 
  top: 2px;
 
}
 
.perm-gravatar {
 
  vertical-align: middle;
 
  padding: 2px;
 
}
 
.perm-gravatar-ac {
 
  vertical-align: middle;
 
  padding: 2px;
 
  width: 14px;
 
  height: 14px;
 
}
 
/*****************************************************************************
 
                                  DIFFS CSS
 
******************************************************************************/
 
.diff-collapse {
 
  text-align: center;
 
  margin-bottom: 15px;
 
}
 
table.code-difftable {
 
  border-collapse: collapse;
 
  border-radius: 0px !important;
 
  width: 100%;
 
}
 
table.code-difftable td {
 
  padding: 0 !important;
 
  background: none !important;
 
  border: 0 !important;
 
  vertical-align: baseline !important;
 
}
 
table.code-difftable .context {
 
  background: none repeat scroll 0 0 #DDE7EF;
 
  color: #999;
 
}
 
table.code-difftable .add {
 
  background: none repeat scroll 0 0 #DDFFDD;
 
}
 
table.code-difftable .add ins {
 
  background: none repeat scroll 0 0 #AAFFAA;
 
  text-decoration: none;
 
}
 
table.code-difftable .del {
 
  background: none repeat scroll 0 0 #FFDDDD;
 
}
 
table.code-difftable .del del {
 
  background: none repeat scroll 0 0 #FFAAAA;
 
  text-decoration: none;
 
}
 
table.code-highlighttable div.code-highlight pre u:before,
 
table.code-difftable td.code pre u:before {
 
  content: "\21a6";
 
  display: inline-block;
 
  width: 0;
 
}
 
table.code-highlighttable div.code-highlight pre u.cr:before,
 
table.code-difftable td.code pre u.cr:before {
 
  content: "\21a4";
 
  display: inline-block;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
table.code-highlighttable div.code-highlight pre u,
 
table.code-difftable td.code pre u {
 
  color: rgba(0, 0, 0, 0.15);
 
}
 
table.code-highlighttable div.code-highlight pre i,
 
table.code-difftable td.code pre i {
 
  border-style: solid;
 
  border-width: 0 0 0 1px;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
/** LINE NUMBERS **/
 
table.code-difftable .lineno {
 
  padding-left: 2px;
 
  padding-right: 2px !important;
 
  width: 30px;
 
  -moz-user-select: none;
 
  -webkit-user-select: none;
 
  border-right: 1px solid #CCC !important;
 
  border-left: 0px solid #CCC !important;
 
  border-top: 0px solid #CCC !important;
 
  border-bottom: none !important;
 
  vertical-align: middle !important;
 
  text-align: center;
 
}
 
table.code-difftable .lineno.new {
 
  text-align: right;
 
}
 
table.code-difftable .lineno.old {
 
  text-align: right;
 
}
 
table.code-difftable .lineno a {
 
  color: #aaa !important;
 
  font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important;
 
  letter-spacing: -1px;
 
  padding-left: 10px;
 
  padding-right: 8px;
 
  box-sizing: border-box;
 
  cursor: pointer;
 
  display: block;
 
  width: 100%;
 
}
 
table.code-difftable .line:hover .lineno a {
 
  color: #333 !important;
 
}
 
table.code-difftable .lineno-inline {
 
  background: none repeat scroll 0 0 #FFF !important;
 
  padding-left: 2px;
 
  padding-right: 2px;
 
  text-align: right;
 
  width: 30px;
 
  -moz-user-select: none;
 
  -webkit-user-select: none;
 
}
 
/** CODE **/
 
table.code-difftable .code {
 
  display: block;
 
  width: 100%;
 
}
 
table.code-difftable .code td {
 
  margin: 0;
 
  padding: 0;
 
}
 
table.code-difftable .code pre {
 
  margin: 0 0 0 12px !important;
 
  padding: 0;
 
  min-height: 17px;
 
  line-height: 17px;
 
  white-space: pre-wrap;
 
  word-break: break-all;
 
}
 
table.code-difftable .del .code pre:before {
 
  content: "-";
 
  color: #800;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
table.code-difftable .add .code pre:before {
 
  content: "+";
 
  color: #080;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
table.code-difftable .unmod .code pre:before {
 
  content: " ";
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
.add-bubble {
 
  position: relative;
 
  display: none;
 
  float: left;
 
  width: 0px;
 
  height: 0px;
 
  left: -8px;
 
  box-sizing: border-box;
 
}
 
/* comment bubble, only visible when in a commentable diff */
 
.commentable-diff tr.line.add:hover td .add-bubble,
 
.commentable-diff tr.line.del:hover td .add-bubble,
 
.commentable-diff tr.line.unmod:hover td .add-bubble {
 
  display: block;
 
  z-index: 1;
 
}
 
.add-bubble div {
 
  background: #577632;
 
  width: 16px;
 
  height: 16px;
 
  cursor: pointer;
 
  padding: 0 2px 2px 0.5px;
 
  border: 1px solid #577632;
 
  border-radius: 3px;
 
  box-sizing: border-box;
 
}
 
.add-bubble div:before {
 
  font-size: 14px;
 
  color: #ffffff;
 
  font-family: "kallithea";
 
  content: '\1f5ea';
 
}
 
.add-bubble div:hover {
 
  transform: scale(1.2, 1.2);
 
}
 
/* show some context of link targets - but only works when the link target
 
   can be extended with any visual difference */
kallithea/public/less/kallithea-tags.less
Show inline comments
 
.metatag {
 
  display: inline-block;
 
  margin-right: 1px;
 
  border-radius: 4px 4px 4px 4px;
 
  border: solid 1px #9CF;
 
  padding: 2px 3px 2px 3px !important;
 
  background-color: #DEF;
 
}
 
.metatag[data-tag="dead"] {
 
  background-color: #E44;
 
}
 
.metatag[data-tag="stale"] {
 
  background-color: #EA4;
 
}
 
.metatag[data-tag="featured"] {
 
  background-color: #AEA;
 
}
 
.metatag[data-tag="requires"] {
 
  background-color: #9CF;
 
}
 
.metatag[data-tag="recommends"] {
 
  background-color: #BDF;
 
}
 
.metatag[data-tag="lang"] {
 
  background-color: #FAF474;
 
}
 
.metatag[data-tag="license"] {
 
  border: solid 1px #9CF;
 
  background-color: #DEF;
 
}
 
.metatag[data-tag="see"] {
 
  border: solid 1px #CBD;
 
  background-color: #EDF;
 
}
 
a.metatag[data-tag="license"]:hover {
 
  background-color: #577632;
 
  color: #FFF;
 
  text-decoration: none;
 
}
 

	
 
#perms .perm_tag {
 
  position: relative;
 
  top: -2px;
 
  margin-left: 3px;
 
  padding: 3px 3px 1px 3px;
 
  font-size: 10px;
 
  font-weight: bold;
 
  text-transform: uppercase;
 
  white-space: nowrap;
 
  border-radius: 3px;
 
}
 
#perms .perm_tag.admin {
 
  background-color: #B94A48;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.write {
 
  background-color: #DB7525;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.read {
 
  background-color: #468847;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.none {
 
  background-color: #bfbfbf;
 
  color: #ffffff;
 
}
kallithea/public/less/style.less
Show inline comments
 
@@ -1645,411 +1645,384 @@ form.comment-form {
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
.comment-form .comment-button {
 
  padding-top: 5px;
 
}
 
.add-another-button {
 
  margin-left: 10px;
 
  margin-top: 10px;
 
  margin-bottom: 10px;
 
}
 
.panel-heading .pull-left input[type=checkbox],
 
.panel-heading .pull-right input[type=checkbox] {
 
  position: relative;
 
  top: 4px;
 
  margin: -10px 2px 0;
 
}
 
/** comment inline form **/
 
.comment-inline-form {
 
  margin: 4px;
 
  max-width: 978px;
 
}
 
#comments-general-comments .comment-inline-form {
 
  margin: 0;
 
}
 
.comment-inline-form .submitting-overlay {
 
  height: 0;
 
  text-align: center;
 
  font-size: 16px;
 
  opacity: 0.5;
 
}
 
.comment-inline-form .clearfix,
 
.comment-form .clearfix {
 
  background: #EEE;
 
  border-radius: 4px;
 
  padding: 5px;
 
  margin: 0px;
 
}
 
div.comment-inline-form {
 
  padding: 4px 0px 6px 0px;
 
}
 
.comment-inline-form textarea {
 
  width: 100%;
 
  height: 100px;
 
  font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace;
 
}
 
form.comment-inline-form {
 
  margin-top: 10px;
 
  margin-left: 10px;
 
}
 
.comment-inline-form-submit {
 
  margin-top: 5px;
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-inline-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-inline-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
.comment-inline-form .comment-button {
 
  padding-top: 5px;
 
}
 
/** comment inline **/
 
.inline-comments .comment {
 
  margin: 3px 3px 5px 5px;
 
}
 
.inline-comments #comments-general-comments .comment {
 
  margin-left: 0;
 
}
 
.inline-comments .add-button-row {
 
  padding: 2px 4px 8px 5px;
 
}
 
.inline-comments .comments-number {
 
  padding: 0px 0px 10px 0px;
 
  color: #666;
 
}
 
input.status_change_checkbox,
 
input.status_change_radio {
 
  margin: 0 0 5px 15px;
 
}
 
.badge {
 
  padding: 4px 4px !important;
 
  text-align: center;
 
  color: #888 !important;
 
  background-color: #DEDEDE !important;
 
  border-radius: 4px !important;
 
}
 
@keyframes animated-comment-background {
 
  0% {
 
    background-position: 0 0;
 
  }
 
  100% {
 
    background-position: 20px 0;
 
  }
 
}
 
.comment-preview.failed .user,
 
.comment-preview.failed .panel-body {
 
  color: #666;
 
}
 
.comment-preview .comment-submission-status {
 
  float: right;
 
}
 
.comment-preview .comment-submission-status .btn-group {
 
  margin-left: 10px;
 
}
 
.comment-preview.submitting .panel-body {
 
  background-image: linear-gradient(-45deg, #FAFAFA, #FAFAFA 25%, #FFF 25%, #FFF 50%, #FAFAFA 50%, #FAFAFA 75%, #FFF 75%, #FFF 100%);
 
  background-size: 20px 20px;
 
  animation: animated-comment-background 0.4s linear infinite;
 
}
 
/****
 
PULL REQUESTS
 
*****/
 
.pullrequests_section_head {
 
  padding: 10px 10px 10px 0px;
 
  margin: 0 15px;
 
  font-size: 16px;
 
  font-weight: bold;
 
}
 
div.pr-details-title.closed {
 
  color: #555;
 
  background: #eee;
 
}
 
div.pr {
 
  margin: 0px 15px;
 
  padding: 4px 4px;
 
}
 
div.pr-desc {
 
  margin: 0px 15px;
 
}
 
tr.pr-closed td {
 
  background-color: #eee !important;
 
  color: #555 !important;
 
}
 
span.pr-closed-tag {
 
  margin-bottom: 1px;
 
  margin-right: 1px;
 
  padding: 1px 3px;
 
  font-size: 10px;
 
  color: #577632;
 
  white-space: nowrap;
 
  border-radius: 4px;
 
  border: 1px solid #d9e8f8;
 
  line-height: 1.5em;
 
}
 
.panel-body .pr-box {
 
  max-width: 978px;
 
  margin-right: 15px;
 
}
 
#s2id_org_ref,
 
#s2id_other_ref,
 
#s2id_org_repo,
 
#s2id_other_repo {
 
  min-width: 150px;
 
  margin: 5px;
 
}
 
#pr-summary .msg-div {
 
  margin: 5px 0;
 
}
 
#pr-summary > .pr-not-edit {
 
  min-height: 50px !important;
 
}
 
#pr-edit-btn {
 
  margin: 20px 0 0 !important;
 
  position: absolute;
 
}
 
/****
 
  PERMS
 
*****/
 
#perms .perms_section_head {
 
  padding: 10px 10px 10px 0px;
 
  font-size: 16px;
 
  font-weight: bold;
 
  text-transform: capitalize;
 
}
 
#perms .perms_section_head label {
 
  margin-left: 10px;
 
}
 
#perms .perm_tag {
 
  position: relative;
 
  top: -2px;
 
  margin-left: 3px;
 
  padding: 3px 3px 1px 3px;
 
  font-size: 10px;
 
  font-weight: bold;
 
  text-transform: uppercase;
 
  white-space: nowrap;
 
  border-radius: 3px;
 
}
 
#perms .perm_tag.admin {
 
  background-color: #B94A48;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.write {
 
  background-color: #DB7525;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.read {
 
  background-color: #468847;
 
  color: #ffffff;
 
}
 
#perms .perm_tag.none {
 
  background-color: #bfbfbf;
 
  color: #ffffff;
 
}
 
input.perm_filter {
 
  position: relative;
 
  top: 2px;
 
}
 
.perm-gravatar {
 
  vertical-align: middle;
 
  padding: 2px;
 
}
 
.perm-gravatar-ac {
 
  vertical-align: middle;
 
  padding: 2px;
 
  width: 14px;
 
  height: 14px;
 
}
 
/*****************************************************************************
 
                                  DIFFS CSS
 
******************************************************************************/
 
.diff-collapse {
 
  text-align: center;
 
  margin-bottom: 15px;
 
}
 
table.code-difftable {
 
  border-collapse: collapse;
 
  border-radius: 0px !important;
 
  width: 100%;
 
}
 
table.code-difftable td {
 
  padding: 0 !important;
 
  background: none !important;
 
  border: 0 !important;
 
  vertical-align: baseline !important;
 
}
 
table.code-difftable .context {
 
  background: none repeat scroll 0 0 #DDE7EF;
 
  color: #999;
 
}
 
table.code-difftable .add {
 
  background: none repeat scroll 0 0 #DDFFDD;
 
}
 
table.code-difftable .add ins {
 
  background: none repeat scroll 0 0 #AAFFAA;
 
  text-decoration: none;
 
}
 
table.code-difftable .del {
 
  background: none repeat scroll 0 0 #FFDDDD;
 
}
 
table.code-difftable .del del {
 
  background: none repeat scroll 0 0 #FFAAAA;
 
  text-decoration: none;
 
}
 
table.code-highlighttable div.code-highlight pre u:before,
 
table.code-difftable td.code pre u:before {
 
  content: "\21a6";
 
  display: inline-block;
 
  width: 0;
 
}
 
table.code-highlighttable div.code-highlight pre u.cr:before,
 
table.code-difftable td.code pre u.cr:before {
 
  content: "\21a4";
 
  display: inline-block;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
table.code-highlighttable div.code-highlight pre u,
 
table.code-difftable td.code pre u {
 
  color: rgba(0, 0, 0, 0.15);
 
}
 
table.code-highlighttable div.code-highlight pre i,
 
table.code-difftable td.code pre i {
 
  border-style: solid;
 
  border-width: 0 0 0 1px;
 
  color: rgba(0, 0, 0, 0.5);
 
}
 
/** LINE NUMBERS **/
 
table.code-difftable .lineno {
 
  padding-left: 2px;
 
  padding-right: 2px !important;
 
  width: 30px;
 
  -moz-user-select: none;
 
  -webkit-user-select: none;
 
  border-right: 1px solid #CCC !important;
 
  border-left: 0px solid #CCC !important;
 
  border-top: 0px solid #CCC !important;
 
  border-bottom: none !important;
 
  vertical-align: middle !important;
 
  text-align: center;
 
}
 
table.code-difftable .lineno.new {
 
  text-align: right;
 
}
 
table.code-difftable .lineno.old {
 
  text-align: right;
 
}
 
table.code-difftable .lineno a {
 
  color: #aaa !important;
 
  font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important;
 
  letter-spacing: -1px;
 
  padding-left: 10px;
 
  padding-right: 8px;
 
  box-sizing: border-box;
 
  cursor: pointer;
 
  display: block;
 
  width: 100%;
 
}
 
table.code-difftable .line:hover .lineno a {
 
  color: #333 !important;
 
}
 
table.code-difftable .lineno-inline {
 
  background: none repeat scroll 0 0 #FFF !important;
 
  padding-left: 2px;
 
  padding-right: 2px;
 
  text-align: right;
 
  width: 30px;
 
  -moz-user-select: none;
 
  -webkit-user-select: none;
 
}
 
/** CODE **/
 
table.code-difftable .code {
 
  display: block;
 
  width: 100%;
 
}
 
table.code-difftable .code td {
 
  margin: 0;
 
  padding: 0;
 
}
 
table.code-difftable .code pre {
 
  margin: 0 0 0 12px !important;
 
  padding: 0;
 
  min-height: 17px;
 
  line-height: 17px;
 
  white-space: pre-wrap;
 
  word-break: break-all;
 
}
 
table.code-difftable .del .code pre:before {
 
  content: "-";
 
  color: #800;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
table.code-difftable .add .code pre:before {
 
  content: "+";
 
  color: #080;
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
table.code-difftable .unmod .code pre:before {
 
  content: " ";
 
  float: left;
 
  left: -1em;
 
  position: relative;
 
  width: 0;
 
}
 
.add-bubble {
 
  position: relative;
 
  display: none;
 
  float: left;
 
  width: 0px;
 
  height: 0px;
 
  left: -8px;
 
  box-sizing: border-box;
 
}
 
/* comment bubble, only visible when in a commentable diff */
 
.commentable-diff tr.line.add:hover td .add-bubble,
 
.commentable-diff tr.line.del:hover td .add-bubble,
 
.commentable-diff tr.line.unmod:hover td .add-bubble {
 
  display: block;
 
  z-index: 1;
 
}
 
.add-bubble div {
 
  background: #577632;
 
  width: 16px;
 
  height: 16px;
 
  cursor: pointer;
 
  padding: 0 2px 2px 0.5px;
 
  border: 1px solid #577632;
 
  border-radius: 3px;
 
  box-sizing: border-box;
 
}
 
.add-bubble div:before {
 
  font-size: 14px;
 
  color: #ffffff;
 
  font-family: "kallithea";
 
  content: '\1f5ea';
 
}
 
.add-bubble div:hover {
 
  transform: scale(1.2, 1.2);
 
}
 
/* show some context of link targets - but only works when the link target
 
   can be extended with any visual difference */
0 comments (0 inline, 0 general)