Changeset - 7d200066cc48
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-29 23:08:04
dominikruf@gmail.com
less: clean up statistics style

- #legend_data default padding is fine
- #legend_container border: none is unnecessary
- #legend_choices is invisible
- #legend_container width: auto is unnecessary
- with many commiters less padding and height is actually better
- there is no .legend ul
2 files changed with 2 insertions and 36 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -960,58 +960,48 @@ table#changesets tr > td.mid .message a:
 
  margin-top: 4px;
 
  color: #666;
 
  float: right;
 
}
 
.currently_following {
 
  padding-left: 10px;
 
  padding-bottom: 5px;
 
}
 
#switch_repos {
 
  position: absolute;
 
  height: 25px;
 
  z-index: 1;
 
}
 
#switch_repos select {
 
  min-width: 150px;
 
  max-height: 250px;
 
  z-index: 1;
 
}
 
.breadcrumbs {
 
  border: medium none;
 
  color: #FFF;
 
  font-weight: 700;
 
  font-size: 14px;
 
}
 
div#legend_data {
 
  padding-left: 10px;
 
}
 
div#legend_container table {
 
  border: none !important;
 
}
 
div#legend_container table,
 
div#legend_choices table {
 
  width: auto !important;
 
}
 
table#permissions_manage span.private_repo_msg {
 
  font-size: 0.8em;
 
  opacity: 0.6;
 
}
 
table#permissions_manage td.private_repo_msg {
 
  font-size: 0.8em;
 
}
 
table#permissions_manage tr#add_perm_input td {
 
  vertical-align: middle;
 
}
 
div.gravatar {
 
  float: left;
 
  background-color: #FFF;
 
  margin-right: 0.7em;
 
  padding: 1px 1px 1px 1px;
 
  line-height: 0;
 
  border-radius: 3px;
 
}
 
div.gravatar img {
 
  border-radius: 2px;
 
}
 
#content div.panel div.panel-heading div.search {
 
  border-left: 1px solid #576622;
 
}
 
@@ -1076,50 +1066,49 @@ body .btn.btn-default {
 
  border-bottom: 1px solid #c6c6c6;
 
}
 
body .btn.btn-default:hover {
 
  background-image: none;
 
}
 
/* use our link color for btn-link */
 
.btn-link {
 
  color: #577632;
 
}
 
ins,
 
div.options a:hover {
 
  text-decoration: none;
 
}
 
img,
 
nav.navbar #quick li a:hover span.normal,
 
#clone_url,
 
#clone_url_id {
 
  border: none;
 
}
 
img.icon,
 
.right .merge img {
 
  vertical-align: bottom;
 
}
 
#content div.panel div.panel-heading ul.links,
 
#content div.panel div.message div.dismiss,
 
#content div.panel div.traffic div.legend ul {
 
#content div.panel div.message div.dismiss {
 
  float: right;
 
  margin: 0;
 
  padding: 0;
 
}
 
nav.navbar #home,
 
#content div.panel ul.left,
 
#content div.panel ol.left,
 
div#commit_history,
 
div#legend_data,
 
div#legend_container,
 
div#legend_choices {
 
  float: left;
 
}
 
div#commit_history {
 
  width: 450px;
 
  height: 300px;
 
}
 
div#overview {
 
  clear: both;
 
  width: 450px;
 
  height: 100px;
 
}
 
#content #left #menu ul.closed,
 
#content #left #menu li ul.collapsed,
 
@@ -1238,54 +1227,48 @@ div.form div.buttons {
 
#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;
 
}
 
div#legend_container table td,
 
div#legend_choices table td {
 
  border: none !important;
 
  height: 20px !important;
 
  padding: 0 !important;
 
}
 
.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 {
kallithea/public/less/style.less
Show inline comments
 
@@ -683,58 +683,48 @@ table#changesets tr > td.mid .message a:
 
  margin-top: 4px;
 
  color: #666;
 
  float: right;
 
}
 
.currently_following {
 
  padding-left: 10px;
 
  padding-bottom: 5px;
 
}
 
#switch_repos {
 
  position: absolute;
 
  height: 25px;
 
  z-index: 1;
 
}
 
#switch_repos select {
 
  min-width: 150px;
 
  max-height: 250px;
 
  z-index: 1;
 
}
 
.breadcrumbs {
 
  border: medium none;
 
  color: #FFF;
 
  font-weight: 700;
 
  font-size: 14px;
 
}
 
div#legend_data {
 
  padding-left: 10px;
 
}
 
div#legend_container table {
 
  border: none !important;
 
}
 
div#legend_container table,
 
div#legend_choices table {
 
  width: auto !important;
 
}
 
table#permissions_manage span.private_repo_msg {
 
  font-size: 0.8em;
 
  opacity: 0.6;
 
}
 
table#permissions_manage td.private_repo_msg {
 
  font-size: 0.8em;
 
}
 
table#permissions_manage tr#add_perm_input td {
 
  vertical-align: middle;
 
}
 
div.gravatar {
 
  float: left;
 
  background-color: #FFF;
 
  margin-right: 0.7em;
 
  padding: 1px 1px 1px 1px;
 
  line-height: 0;
 
  border-radius: 3px;
 
}
 
div.gravatar img {
 
  border-radius: 2px;
 
}
 
#content div.panel div.panel-heading div.search {
 
  border-left: 1px solid #576622;
 
}
 
@@ -799,50 +789,49 @@ body .btn.btn-default {
 
  border-bottom: 1px solid #c6c6c6;
 
}
 
body .btn.btn-default:hover {
 
  background-image: none;
 
}
 
/* use our link color for btn-link */
 
.btn-link {
 
  color: #577632;
 
}
 
ins,
 
div.options a:hover {
 
  text-decoration: none;
 
}
 
img,
 
nav.navbar #quick li a:hover span.normal,
 
#clone_url,
 
#clone_url_id {
 
  border: none;
 
}
 
img.icon,
 
.right .merge img {
 
  vertical-align: bottom;
 
}
 
#content div.panel div.panel-heading ul.links,
 
#content div.panel div.message div.dismiss,
 
#content div.panel div.traffic div.legend ul {
 
#content div.panel div.message div.dismiss {
 
  float: right;
 
  margin: 0;
 
  padding: 0;
 
}
 
nav.navbar #home,
 
#content div.panel ul.left,
 
#content div.panel ol.left,
 
div#commit_history,
 
div#legend_data,
 
div#legend_container,
 
div#legend_choices {
 
  float: left;
 
}
 
div#commit_history {
 
  width: 450px;
 
  height: 300px;
 
}
 
div#overview {
 
  clear: both;
 
  width: 450px;
 
  height: 100px;
 
}
 
#content #left #menu ul.closed,
 
#content #left #menu li ul.collapsed,
 
@@ -923,54 +912,48 @@ div.form div.buttons {
 
#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;
 
}
 
div#legend_container table td,
 
div#legend_choices table td {
 
  border: none !important;
 
  height: 20px !important;
 
  padding: 0 !important;
 
}
 
.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 {
0 comments (0 inline, 0 general)