Changeset - 0f8ac13da245
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-30 01:09:40
dominikruf@gmail.com
less: clean up pull request style

- remove unnecessary float: left for .reviewer_status
- remove unnecessary height and padding for .reviewers_member
- there is no .email_entry, .ip_entry, .pullrequests_section_head, .pr-desc
- remove unnecessary margin for .msg-div
2 files changed with 0 insertions and 78 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -1206,123 +1206,96 @@ div.form div.form-group div.highlight,
 
  display: inline;
 
}
 
#content div.panel div.form div.buttons,
 
div.form div.buttons {
 
  margin: 10px 10px 0 200px;
 
  padding: 0;
 
}
 
#content div.panel table td.user,
 
#content div.panel table td.address {
 
  width: 10%;
 
  text-align: center;
 
}
 
#content div.panel div.action div.button {
 
  text-align: right;
 
  margin: 6px 0 0;
 
  padding: 0;
 
}
 
#login,
 
#register {
 
  width: 520px;
 
  margin: 10% auto 0;
 
  padding: 0;
 
}
 
#register div.form div.form-group span.error-message {
 
  height: 1%;
 
  display: block;
 
  color: red;
 
  margin: 8px 0 0;
 
  padding: 0;
 
  max-width: 320px;
 
}
 
.ac .match {
 
  font-weight: 700;
 
  padding-top: 5px;
 
  padding-bottom: 5px;
 
}
 
.q_filter_box {
 
  border-radius: 4px;
 
  border: 0 none;
 
  margin-bottom: -4px;
 
  margin-top: -4px;
 
  padding-left: 3px;
 
}
 
#node_filter {
 
  border: 0px solid #545454;
 
  color: #AAAAAA;
 
  padding-left: 3px;
 
}
 
.reviewer_status {
 
  float: left;
 
}
 
.reviewers_member {
 
  height: 15px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.emails_wrap .email_entry {
 
  height: 30px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.emails_wrap .email_entry .email {
 
  float: left;
 
}
 
.emails_wrap .email_entry .email_action {
 
  float: left;
 
}
 
.ips_wrap .ip_entry {
 
  height: 30px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.ips_wrap .ip_entry .ip {
 
  float: left;
 
}
 
.ips_wrap .ip_entry .ip_action {
 
  float: left;
 
}
 
/** comment main **/
 
.comment .panel {
 
  max-width: 978px;
 
}
 
.comment .panel-body {
 
  background-color: #FAFAFA;
 
}
 
.comments-number {
 
  padding: 10px 0;
 
  color: #666;
 
}
 
.automatic-comment {
 
  font-style: italic;
 
}
 
/** comment form **/
 
.status-block {
 
  margin: 5px;
 
  clear: both;
 
}
 
.comment-form textarea {
 
  width: 100%;
 
  height: 100px;
 
  font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace;
 
}
 
form.comment-form {
 
  margin-top: 10px;
 
  margin-left: 10px;
 
}
 
.comment-inline-form .comment-block-ta,
 
.comment-form .comment-block-ta {
 
  border: 1px solid #ccc;
 
  border-radius: 3px;
 
  box-sizing: border-box;
 
}
 
.comment-form-submit {
 
  margin-top: 5px;
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
@@ -1396,142 +1369,130 @@ form.comment-inline-form {
 
}
 
.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;
 
}
 
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;
 
}
 
/* avoid gaps between the navbar and browser */
 
.navbar.mainmenu {
 
  border-top-left-radius: 0;
 
  border-top-right-radius: 0;
 
}
 
.navbar.footer {
 
  border-bottom-left-radius: 0;
 
  border-bottom-right-radius: 0;
 
}
 
/* bootstrap progress bar has margin-bottom we don't want that in files list */
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
/* progress bars should be aligned right */
 
.cs_files .changes {
kallithea/public/less/style.less
Show inline comments
 
@@ -893,123 +893,96 @@ div.form div.form-group div.highlight,
 
  display: inline;
 
}
 
#content div.panel div.form div.buttons,
 
div.form div.buttons {
 
  margin: 10px 10px 0 200px;
 
  padding: 0;
 
}
 
#content div.panel table td.user,
 
#content div.panel table td.address {
 
  width: 10%;
 
  text-align: center;
 
}
 
#content div.panel div.action div.button {
 
  text-align: right;
 
  margin: 6px 0 0;
 
  padding: 0;
 
}
 
#login,
 
#register {
 
  width: 520px;
 
  margin: 10% auto 0;
 
  padding: 0;
 
}
 
#register div.form div.form-group span.error-message {
 
  height: 1%;
 
  display: block;
 
  color: red;
 
  margin: 8px 0 0;
 
  padding: 0;
 
  max-width: 320px;
 
}
 
.ac .match {
 
  font-weight: 700;
 
  padding-top: 5px;
 
  padding-bottom: 5px;
 
}
 
.q_filter_box {
 
  border-radius: 4px;
 
  border: 0 none;
 
  margin-bottom: -4px;
 
  margin-top: -4px;
 
  padding-left: 3px;
 
}
 
#node_filter {
 
  border: 0px solid #545454;
 
  color: #AAAAAA;
 
  padding-left: 3px;
 
}
 
.reviewer_status {
 
  float: left;
 
}
 
.reviewers_member {
 
  height: 15px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.emails_wrap .email_entry {
 
  height: 30px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.emails_wrap .email_entry .email {
 
  float: left;
 
}
 
.emails_wrap .email_entry .email_action {
 
  float: left;
 
}
 
.ips_wrap .ip_entry {
 
  height: 30px;
 
  padding: 0px 0px 0px 10px;
 
}
 
.ips_wrap .ip_entry .ip {
 
  float: left;
 
}
 
.ips_wrap .ip_entry .ip_action {
 
  float: left;
 
}
 
/** comment main **/
 
.comment .panel {
 
  max-width: 978px;
 
}
 
.comment .panel-body {
 
  background-color: #FAFAFA;
 
}
 
.comments-number {
 
  padding: 10px 0;
 
  color: #666;
 
}
 
.automatic-comment {
 
  font-style: italic;
 
}
 
/** comment form **/
 
.status-block {
 
  margin: 5px;
 
  clear: both;
 
}
 
.comment-form textarea {
 
  width: 100%;
 
  height: 100px;
 
  font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace;
 
}
 
form.comment-form {
 
  margin-top: 10px;
 
  margin-left: 10px;
 
}
 
.comment-inline-form .comment-block-ta,
 
.comment-form .comment-block-ta {
 
  border: 1px solid #ccc;
 
  border-radius: 3px;
 
  box-sizing: border-box;
 
}
 
.comment-form-submit {
 
  margin-top: 5px;
 
  margin-left: 525px;
 
}
 
.file-comments {
 
  display: none;
 
}
 
.comment-form .comment {
 
  margin-left: 10px;
 
}
 
.comment-form .comment-help {
 
  padding: 5px 5px 5px 5px;
 
  color: #666;
 
}
 
@@ -1083,142 +1056,130 @@ form.comment-inline-form {
 
}
 
.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;
 
}
 
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;
 
}
 

	
 
/* avoid gaps between the navbar and browser */
 
.navbar.mainmenu {
 
  border-top-left-radius: 0;
 
  border-top-right-radius: 0;
 
}
 
.navbar.footer {
 
  border-bottom-left-radius: 0;
 
  border-bottom-right-radius: 0;
 
}
 

	
 
@import "kallithea-diff.less";
 

	
 
/* 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)