Sha256: 455e88e3839c59f3f1352b45387e4085f2bebdc00f36c950fe5ca3c8815e0d42

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

/* CSS for use across sir-trevor widgets */

.widget-header {
  padding: 5px;
  margin-bottom: 20px;
  border-bottom: 1px solid #D4D4D4;
}

.blacklight-home_pages-edit {
  [data-type="search_results"] {
    display: none;
  }
}

.content-block {
  margin-top: 3*$padding-large-vertical;
  margin-bottom: 3*$padding-large-vertical;
}

// Sir-trevor sets the overflow to hidden which
// obscures the bottom of things like the typeahead
.st-blocks {
  overflow: visible;
}

.st-block__inner {
  border: 1px solid $gray-700;
  box-shadow: 3px 3px 15px $gray-700;
  margin: 1em 20px;
  padding: 1.875em 1.875em 2.8em;
}

.st-block--textable .st-block__inner {
  margin: 1em 20px;
  transition: padding-left .2s ease;
}

.st-block--empty.st-block--textable .st-block__inner {
  padding-left: 75px;
}

.st-block-replacer {
  top: 40%;
}

.form-group .st-text-block {
  @extend .form-control;
  height: auto !important;
  min-height: 6em;
}

.st-block .st-block-ui-btn__delete {
  display: block !important;
}

.st-block-addition {
  display: block !important;
}

.st-block-controls {
  display: none !important;
}

.st-block--controls-active .st-block__inner {
  display: none;
}

.spotlight-block-controls {
  border: 1px solid $gray-700;
  border-radius: 4px;
  box-shadow: 3px 3px 15px $gray-700;
  margin: 1em 20px;
  padding: 1.875em 1.875em 2.8em 70px;
}

.st-block-controls__button {
  @extend .btn;
  @extend .btn-secondary;

  background-color: theme-colors("secondary");
  border: 1px solid $gray-700;
  color: theme-colors("light");

  .st-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.alpha.3 app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss
blacklight-spotlight-3.0.0.alpha.2 app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss
blacklight-spotlight-3.0.0.alpha.1 app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss