<commit_before>/* 
 * Copyright 2011-2013, The Trustees of Indiana University and Northwestern
 *   University.  Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 * 
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software distributed 
 *   under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 *   CONDITIONS OF ANY KIND, either express or implied. See the License for the 
 *   specific language governing permissions and limitations under the License.
 * ---  END LICENSE_HEADER BLOCK  ---
*/

@import "branding";
@import "bootstrap/variables";
@import "bootstrap-responsive";

/**
 * Override the default behaviour in Bootstrap so that the container is not 
 * pushed down the page
 */
.whitespace {
  margin-bottom: $baseLineHeight;
}

/** Use half of a line height for a more subtle offset */
.whitespace-half {
  margin-bottom: $baseLineHeight/2;
}

dd {
  margin-bottom: $baseLineHeight;
}

.label .label-tall { 
  height: 2.5em; 
  line-height: 1.2em; 
}

#global_tools {
  margin-bottom: $baseLineHeight;
}

#authentication {
  ul {
    list-style-type: none;
    text-align: right;
   
    li {
      display: inline;  
    }
  }
}

.logo img {
  @include border-radius($baseLineHeight/3);
  max-width: 100%;
}

ul.login {
  text-align: center;
  list-style: none;

  li a, li a:hover {
    text-decoration: none;
  }

  img.logo {
    height: $baseLineHeight * 2;
    vertical-align: middle;
  }
}

footer {
  margin-top: $baseLineHeight/2;
  padding-top: $baseLineHeight;
  border-top: 1px solid #EEE;
  border-bottom: 1px solid #FFF;

  ul {
    margin-left: 0;
  }
  
  li {
    list-style-type: none;
    display: inline;
  }

  li:before {
    content: " - ";
  }

  li:first-child:before {
    content: none;
  }
}

@mixin hidden-disabled-link  {
  text-decoration: none !important;
  color: black !important;
  cursor: default !important;
  pointer-events: none !important;
}

.current-stream {
  font-weight: bold;

  &:link { @hidden-disabled-link }
  &:hover { @hidden-disabled-link }
  &:active { @hidden-disabled-link }
  &:visited { @hidden-disabled-link }
}

/* Shift the metadata shown for search results by half a column */
.item-preview-container {
  padding-left: $gridColumnWidth/2;
}

tr.active-false td {
  color: grey;
}

/**
 * Components for navigation wizard. Copied from the LESS source so
 * might need some tweaking to work right
 */
.nav-wizard {
  li {
    padding: $baseLineHeight/2;
    margin-bottom: $baseLineHeight;
    text-align: left;
    @include border-radius($baseBorderRadius);

    background-color: $grayLighter;
    border: $gray;
    color: $grayDarker;

    a:hover {
      background: transparent;
    }
  } 

  li.nav-success {
    background-color: $successBackground;
    border-color: $successBorder;
    color: $successText;
  }
  li.nav-success a {
    text-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px;
  }

  li.nav-info {
    background-color: $infoBackground;
    border-color: $infoBorder;
    color: $infoText;
  }

  .step {
    font-size: 250%;
    width: 1em;
    float: left;
    margin-right: 0.5em;
    margin-bottom: $baseLineHeight/2;
  }
}

/**
 *  Overridding Blacklight's brand logo
 */
.navbar .brand {
  height: $navbarHeight;
  padding: 0 $gridGutterWidth;
  /**
   *  Copied in from blacklight due to this commit https://github.com/projectblacklight/blacklight/commit/43b49ede7072b95cd2f9d1e09cd8e5312670c7b1
   */
  //width: 150px;
  background:transparent asset_url($logo_image,image) no-repeat top left;
  display: inline-block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding-right:0;
  margin-right:20px;
  padding-left: 0;
}

/**
 * Until media-object works right in bootstrap add some custom overrides
 */
.result {
  width: 100%;
 
/**
 * Result thumbnails should be no larger than the two columns allocated in
 * the user interface
 */
  img.result-thumbnail {
    max-width: $gridColumnWidth*2;
    overflow: hidden;
  }

  .result-heading {
    font-weight: bold;
  }
  
  .result-body {
    color: $gray;
  }

  ul {
    list-style-type: none;
    
    li {
      color: #777;
    }

    span {
      color: #333;
      padding-left: .8em;
    }
  }
}

.big-modal {
  width: 80%;
  margin-left: -40%;
}

// If we are being responsive should really avoid using px measurements unless 
// actually needed (!)
div#dropbox_modal {
  div.dataTables_paginate {
    float: none;
    text-align: left;
  }
}

.fileupload .uneditable-input {
  white-space: normal;
}


/* 
 * Modal tooltips for the form should be visually distinct from the label or form
 * fields. Using Bootstrap variables for easy thematic overrides. This can't be called
 * just 'tooltip' because that class already exists in Bootstrap proper for other 
 * things
 *
 * 'collapse' and 'in' could probably be renamed since the Javascript no longer uses
 * Bootstrap specific code.
 */
.form-tooltip {
  background: $grayLighter;
  color: $black;  
  padding: $paddingLarge;
  margin-bottom: $baseLineHeight/2;
  cursor: help;

  @include border-radius($baseBorderRadius);

  &.collapse {
    display: none;
    height: 0;

    &.in {
      display: block; 
      height: auto;
    }
  }
}

/*
 * Fix that shouldn't be needed to make sure that the text behaves like a regular
 * link
 */
label {
  a[data-tooltip] {
    text-decoration: none;
  }
}

/*
 * Pulling this out of the page so it is easier to maintain. Inline CSS is 
 * *bad*!
 */
.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 2;
  background-color: white;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  opacity: 0.5;
}
      
#groups-ex, #users-ex { 
  position: relative 
}

/**
 * Make the plus icon controls appear like a button
 */
.add-dynamic-field {
  font-size: 125%;
  vertical-align: center;
  cursor: pointer
}

/* UI Fixes */
/* TODO at some future point
 * Some of these need to be pushed up (like the font family overrides) into a
 * Bootstrap theme so that we don't wind up fighting it. */
body {
  margin-top: 0;
  padding-top: 0;
}

input[type="radio"], input[type="checkbox"]{
  margin-top:-4px;
}

input[type="text"]#admin_group {
  margin-bottom: 0;
}

/* Header */
.custom-header {
  background-color: #e9e9e9;
  color: #333;
  margin-bottom: 1.2em;
  font-size: .8em;
}

header div, .logo {
  padding-top: 1em;
}

.log-in-out a {
  color: #2A5459;
  background-color: #FBB040;
  padding: .8em;
  &:after {
    content: "\003e \003e"
  }
}

.navbar-inner {
  padding-right: 12px;
}

/* Sidebar */

.sidenav a {
  color: $grayDark;
}

.sidenav h4 {
  background-color: $sidenavHeaderBackgroundColor;
  @include border-top-radius(6px);
}

.badge {
  font-weight: normal;
  padding-left: 4px;
  padding-right: 4px;
  
  @include border-radius(1px);
  
  color: #666;
  background: $white;
  &:before {
    content: "("
  }
  &:after {
    content: ")"
  }
}

/* Footer */

footer a {
  color: #333;
}

footer ul {
  float: left;
  @media all and (max-width: 475px) { 
    float: none;
  }
}

footer .release {
  float: right;
  @media all and (max-width: 475px) { 
    float: none;
  }
}

/* Alerts */

#alerts {
  margin-left: 0px;
}

.alert-success {
  text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 0px;
  a {
    color: $successLink;
    &:hover {
    color: scale-color($successLink, $lightness: -20%);
    }
  }
}

#featured_content {
  figcaption {
    font-weight: bold;
    font-size: $fontSizeLarge;
  }
}

/* Search Filters & Facets */

.suggest {
  font-weight: normal;
}

#sortAndPerPage {
  padding: 0.4em;
}

.css-dropdown li {
  padding: 1px 10px;
}

.constraints-container {
  padding: 0.4em;
  margin-bottom: .8em;
}

span.constraints-label {
  font-weight: normal;
  margin-right: .4em;
}

.appliedParams {
  font-size: 14px;
}

.appliedFilter {
  margin: .4em 0;
  padding: 3px 40px 3px 0.8em;
  border-radius: 6px;
}

.appliedFilter .queryName, .appliedFilter .filterName {
  /* ">" image */ 
  background:none;
  position: relative;
  &:after {
    content: "\003e";
    position: absolute;
    top: -2px;
    right: 0px; 
  }
}

.appliedFilter .btnRemove:active, .appliedFilter .btnRemove:focus {
  border: 1px dotted #FFD27A;
}

#facets span.selected, .facets span.selected {color: #2A5459;}

#creation_metadata {
  // Make <pre> formatted text look like normal output instead of
  // bounded in gray
  pre {
    background: $white;
    font-family: $sansFontFamily;
    font-size: $baseFontSize;
    padding: 0;
    background-color: transparent;
    border: 0;
    
    /* Force the summary to wrap neatly */
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}

.btn-options {
  margin-bottom: 1em;
}

#permalink {
  margin-top: 2em;
}

.progress-inline {
    display: inline-block;
    height: 9pt;
    width: 36pt;
    margin-right: 2pt;
    margin-bottom: 0;
    cursor: pointer;
}

/**
 * Fix some stuff relating to the facets so that they hide properly
 */
#facets .collapse,
.facet_limit .collapse {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom:0 ;
  height: 0;
  @include transition(all 0.35s ease);

  &.in {
    padding-top: 0.5em;
    padding-bottom: 1em;
    height: auto;
  }
}

/**
 * When H2s are muted reduced not only the color contrast but the
 * font size as well
 */
h2.muted {
  font-size: 150%;
  padding: 0;
  margin: 0;
}

button.close {
  display: block;
}

/**
 * Set the breakpoint for hiding the header based on the responsive point
 * where the navbar collapses
 */
@media (max-width: $navbarCollapseWidth) {
  .custom-header {
    display: none;
  }
}
<commit_msg>Only hide avalon header and not the whole custom-header<commit_after>/* 
 * Copyright 2011-2013, The Trustees of Indiana University and Northwestern
 *   University.  Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 * 
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software distributed 
 *   under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 *   CONDITIONS OF ANY KIND, either express or implied. See the License for the 
 *   specific language governing permissions and limitations under the License.
 * ---  END LICENSE_HEADER BLOCK  ---
*/

@import "branding";
@import "bootstrap/variables";
@import "bootstrap-responsive";

/**
 * Override the default behaviour in Bootstrap so that the container is not 
 * pushed down the page
 */
.whitespace {
  margin-bottom: $baseLineHeight;
}

/** Use half of a line height for a more subtle offset */
.whitespace-half {
  margin-bottom: $baseLineHeight/2;
}

dd {
  margin-bottom: $baseLineHeight;
}

.label .label-tall { 
  height: 2.5em; 
  line-height: 1.2em; 
}

#global_tools {
  margin-bottom: $baseLineHeight;
}

#authentication {
  ul {
    list-style-type: none;
    text-align: right;
   
    li {
      display: inline;  
    }
  }
}

.logo img {
  @include border-radius($baseLineHeight/3);
  max-width: 100%;
}

ul.login {
  text-align: center;
  list-style: none;

  li a, li a:hover {
    text-decoration: none;
  }

  img.logo {
    height: $baseLineHeight * 2;
    vertical-align: middle;
  }
}

footer {
  margin-top: $baseLineHeight/2;
  padding-top: $baseLineHeight;
  border-top: 1px solid #EEE;
  border-bottom: 1px solid #FFF;

  ul {
    margin-left: 0;
  }
  
  li {
    list-style-type: none;
    display: inline;
  }

  li:before {
    content: " - ";
  }

  li:first-child:before {
    content: none;
  }
}

@mixin hidden-disabled-link  {
  text-decoration: none !important;
  color: black !important;
  cursor: default !important;
  pointer-events: none !important;
}

.current-stream {
  font-weight: bold;

  &:link { @hidden-disabled-link }
  &:hover { @hidden-disabled-link }
  &:active { @hidden-disabled-link }
  &:visited { @hidden-disabled-link }
}

/* Shift the metadata shown for search results by half a column */
.item-preview-container {
  padding-left: $gridColumnWidth/2;
}

tr.active-false td {
  color: grey;
}

/**
 * Components for navigation wizard. Copied from the LESS source so
 * might need some tweaking to work right
 */
.nav-wizard {
  li {
    padding: $baseLineHeight/2;
    margin-bottom: $baseLineHeight;
    text-align: left;
    @include border-radius($baseBorderRadius);

    background-color: $grayLighter;
    border: $gray;
    color: $grayDarker;

    a:hover {
      background: transparent;
    }
  } 

  li.nav-success {
    background-color: $successBackground;
    border-color: $successBorder;
    color: $successText;
  }
  li.nav-success a {
    text-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px;
  }

  li.nav-info {
    background-color: $infoBackground;
    border-color: $infoBorder;
    color: $infoText;
  }

  .step {
    font-size: 250%;
    width: 1em;
    float: left;
    margin-right: 0.5em;
    margin-bottom: $baseLineHeight/2;
  }
}

/**
 *  Overridding Blacklight's brand logo
 */
.navbar .brand {
  height: $navbarHeight;
  padding: 0 $gridGutterWidth;
  /**
   *  Copied in from blacklight due to this commit https://github.com/projectblacklight/blacklight/commit/43b49ede7072b95cd2f9d1e09cd8e5312670c7b1
   */
  //width: 150px;
  background:transparent asset_url($logo_image,image) no-repeat top left;
  display: inline-block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding-right:0;
  margin-right:20px;
  padding-left: 0;
}

/**
 * Until media-object works right in bootstrap add some custom overrides
 */
.result {
  width: 100%;
 
/**
 * Result thumbnails should be no larger than the two columns allocated in
 * the user interface
 */
  img.result-thumbnail {
    max-width: $gridColumnWidth*2;
    overflow: hidden;
  }

  .result-heading {
    font-weight: bold;
  }
  
  .result-body {
    color: $gray;
  }

  ul {
    list-style-type: none;
    
    li {
      color: #777;
    }

    span {
      color: #333;
      padding-left: .8em;
    }
  }
}

.big-modal {
  width: 80%;
  margin-left: -40%;
}

// If we are being responsive should really avoid using px measurements unless 
// actually needed (!)
div#dropbox_modal {
  div.dataTables_paginate {
    float: none;
    text-align: left;
  }
}

.fileupload .uneditable-input {
  white-space: normal;
}


/* 
 * Modal tooltips for the form should be visually distinct from the label or form
 * fields. Using Bootstrap variables for easy thematic overrides. This can't be called
 * just 'tooltip' because that class already exists in Bootstrap proper for other 
 * things
 *
 * 'collapse' and 'in' could probably be renamed since the Javascript no longer uses
 * Bootstrap specific code.
 */
.form-tooltip {
  background: $grayLighter;
  color: $black;  
  padding: $paddingLarge;
  margin-bottom: $baseLineHeight/2;
  cursor: help;

  @include border-radius($baseBorderRadius);

  &.collapse {
    display: none;
    height: 0;

    &.in {
      display: block; 
      height: auto;
    }
  }
}

/*
 * Fix that shouldn't be needed to make sure that the text behaves like a regular
 * link
 */
label {
  a[data-tooltip] {
    text-decoration: none;
  }
}

/*
 * Pulling this out of the page so it is easier to maintain. Inline CSS is 
 * *bad*!
 */
.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 2;
  background-color: white;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  opacity: 0.5;
}
      
#groups-ex, #users-ex { 
  position: relative 
}

/**
 * Make the plus icon controls appear like a button
 */
.add-dynamic-field {
  font-size: 125%;
  vertical-align: center;
  cursor: pointer
}

/* UI Fixes */
/* TODO at some future point
 * Some of these need to be pushed up (like the font family overrides) into a
 * Bootstrap theme so that we don't wind up fighting it. */
body {
  margin-top: 0;
  padding-top: 0;
}

input[type="radio"], input[type="checkbox"]{
  margin-top:-4px;
}

input[type="text"]#admin_group {
  margin-bottom: 0;
}

/* Header */
.custom-header {
  background-color: #e9e9e9;
  color: #333;
  margin-bottom: 1.2em;
  font-size: .8em;
}

header div, .logo {
  padding-top: 1em;
}

.log-in-out a {
  color: #2A5459;
  background-color: #FBB040;
  padding: .8em;
  &:after {
    content: "\003e \003e"
  }
}

.navbar-inner {
  padding-right: 12px;
}

/* Sidebar */

.sidenav a {
  color: $grayDark;
}

.sidenav h4 {
  background-color: $sidenavHeaderBackgroundColor;
  @include border-top-radius(6px);
}

.badge {
  font-weight: normal;
  padding-left: 4px;
  padding-right: 4px;
  
  @include border-radius(1px);
  
  color: #666;
  background: $white;
  &:before {
    content: "("
  }
  &:after {
    content: ")"
  }
}

/* Footer */

footer a {
  color: #333;
}

footer ul {
  float: left;
  @media all and (max-width: 475px) { 
    float: none;
  }
}

footer .release {
  float: right;
  @media all and (max-width: 475px) { 
    float: none;
  }
}

/* Alerts */

#alerts {
  margin-left: 0px;
}

.alert-success {
  text-shadow: rgba(0, 0, 0, 0.1) 0px 1px 0px;
  a {
    color: $successLink;
    &:hover {
    color: scale-color($successLink, $lightness: -20%);
    }
  }
}

#featured_content {
  figcaption {
    font-weight: bold;
    font-size: $fontSizeLarge;
  }
}

/* Search Filters & Facets */

.suggest {
  font-weight: normal;
}

#sortAndPerPage {
  padding: 0.4em;
}

.css-dropdown li {
  padding: 1px 10px;
}

.constraints-container {
  padding: 0.4em;
  margin-bottom: .8em;
}

span.constraints-label {
  font-weight: normal;
  margin-right: .4em;
}

.appliedParams {
  font-size: 14px;
}

.appliedFilter {
  margin: .4em 0;
  padding: 3px 40px 3px 0.8em;
  border-radius: 6px;
}

.appliedFilter .queryName, .appliedFilter .filterName {
  /* ">" image */ 
  background:none;
  position: relative;
  &:after {
    content: "\003e";
    position: absolute;
    top: -2px;
    right: 0px; 
  }
}

.appliedFilter .btnRemove:active, .appliedFilter .btnRemove:focus {
  border: 1px dotted #FFD27A;
}

#facets span.selected, .facets span.selected {color: #2A5459;}

#creation_metadata {
  // Make <pre> formatted text look like normal output instead of
  // bounded in gray
  pre {
    background: $white;
    font-family: $sansFontFamily;
    font-size: $baseFontSize;
    padding: 0;
    background-color: transparent;
    border: 0;
    
    /* Force the summary to wrap neatly */
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}

.btn-options {
  margin-bottom: 1em;
}

#permalink {
  margin-top: 2em;
}

.progress-inline {
    display: inline-block;
    height: 9pt;
    width: 36pt;
    margin-right: 2pt;
    margin-bottom: 0;
    cursor: pointer;
}

/**
 * Fix some stuff relating to the facets so that they hide properly
 */
#facets .collapse,
.facet_limit .collapse {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom:0 ;
  height: 0;
  @include transition(all 0.35s ease);

  &.in {
    padding-top: 0.5em;
    padding-bottom: 1em;
    height: auto;
  }
}

/**
 * When H2s are muted reduced not only the color contrast but the
 * font size as well
 */
h2.muted {
  font-size: 150%;
  padding: 0;
  margin: 0;
}

button.close {
  display: block;
}

/**
 * Set the breakpoint for hiding the header based on the responsive point
 * where the navbar collapses
 */
@media (max-width: $navbarCollapseWidth) {
  .custom-header .container-fluid {
    display: none;
  }
}

{'fraction_non_alphanumeric': 0.1291187933390697, 'fraction_numerical': 0.02378903679708458, 'mean_word_length': 2.8642675532955213, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1771774', 'n_tokens_mistral': 7430, 'n_tokens_neox': 6945, 'n_words': 1917}