Changeset - 057ef81c18e9
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-29 22:09:54
dominikruf@gmail.com
less: clean up search style

- there is no .search_path or .search
- highlight search .match
- highlight search .break
2 files changed with 14 insertions and 22 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-variables.less
Show inline comments
 
@@ -20,6 +20,10 @@
 
@navbar-inverse-link-hover-bg:      tint(@kallithea-theme-main-color, 15.0%);
 
@navbar-inverse-link-active-bg:     @navbar-inverse-link-hover-bg;
 
@navbar-inverse-toggle-hover-bg:    @navbar-inverse-link-hover-bg;
 
@navbar-inverse-toggle-border-color:@kallithea-theme-main-color;
 
@dropdown-link-color:               @navbar-inverse-color;
 
@dropdown-bg:                       @navbar-inverse-bg;
 

	
 
/* custom variables */
 
@highlight-color:                   #FAFFA6;
 
@highlight-line-color:              #DDE7EF;
kallithea/public/less/style.less
Show inline comments
 
@@ -92,12 +92,22 @@ nav.navbar.mainmenu .navbar-brand .brand
 
 * overflow to prevent overflowing of elements like text boxes and tables */
 
.panel > :not(.panel-heading){
 
  overflow-x: auto;
 
  min-height: 0.01%;
 
}
 

	
 
/* search highlighting */
 
div.search-code-body pre .match {
 
  background-color: @highlight-color;
 
}
 
div.search-code-body pre .break {
 
  background-color: @highlight-line-color;
 
  width: 100%;
 
  display: block;
 
}
 

	
 
/* use @alert-danger-text for form error messages and .alert-danger for the input element */
 
.form-group .error-message {
 
  color: @alert-danger-text;
 
  display: inline-block;
 
  padding-top: 5px;
 
  &:empty{
 
@@ -539,28 +549,12 @@ table#changesets tr > td.mid .message a:
 
.pull-right .changes .changed {
 
  background: #FEA;
 
}
 
.pull-right .changes .deleted {
 
  background: #FAA;
 
}
 
.panel .search div.search_path {
 
  background: none repeat scroll 0 0 #EEE;
 
  border: 1px solid #CCC;
 
  color: blue;
 
  margin-bottom: 10px;
 
  padding: 10px 0;
 
}
 
.panel .search div.search_path div.link {
 
  font-weight: 700;
 
  margin-left: 25px;
 
}
 
.panel .search div.search_path div.link a {
 
  color: #577632;
 
  cursor: pointer;
 
  text-decoration: none;
 
}
 

	
 
#repo_size {
 
  display: block;
 
  margin-top: 4px;
 
  color: #666;
 
  float: right;
 
@@ -603,18 +597,12 @@ div.gravatar {
 
  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;
 
}
 
#content div.panel div.panel-heading div.search > div input {
 
  border: 1px solid #576622;
 
}
 
.panel-body.settings > ul.nav-stacked {
 
  float: left;
 
  width: 150px;
 
  padding-right: 35px;
 
  color: #393939;
 
  font-weight: 700;
0 comments (0 inline, 0 general)