Sha256: f4c53808bf5781cb0c5b6aa4eeb186174444e54bf563a00665fd924314e5b0b2

Contents?: true

Size: 1.19 KB

Versions: 24

Compression:

Stored size: 1.19 KB

Contents

$animation-speed: 0.2s;

.st-top-controls {
  min-height: 1.750em;
  position: relative;
  z-index: 2;
}

.st-block-addition {
  text-align: center;
  outline:none;
  border:none;
  display:none;
  width:100%;
  background-color:transparent;
  padding:0;
  z-index: 2;

  &::-moz-focus-inner {
    padding:0;
    margin:0;
    margin-left:-1px;
  }

  .st-top-controls &,
  .st-block:last-child:not(.st-block--empty):not(.st-block--textable) &,
  .st-block[data-type="quote"]:last-child & {
    display: block;
  }
}

.st--hide-top-controls {
  .st-top-controls .st-block-addition {
    display: none;
  }
}

.st--block-limit-reached {
  .st-top-controls,
  .st-block-addition {
    display: none;
  }
}

.st-block-addition__button {
  transition: all $animation-speed 0.3s ease-in-out;
  border: 1px solid transparent;
  color: #444444;
  position:relative;
  box-sizing:border-box;
  padding:.2em;
  display: inline-block;
  margin: 0 auto;
  width: 100%;
  cursor: pointer;
  opacity: 0.2;
  cursor: pointer;

  transform:translateZ(0);

  .st-icon {
    height: 20px;
    width: 20px;
    color: inherit;
  }

  .st-block-addition:hover &,
  .st-block--active & {
    color: $accent-color;
    opacity: 1;
  }
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.5 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.4 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.3 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.2 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.1 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.3.0 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.2.0 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.1.2 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.1.1 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.1.0 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.0.3 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.0.2 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.0.1 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-4.0.0 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-3.6.0.beta10 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-3.6.0.beta9 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-3.6.0.beta8 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-3.6.0.beta7 vendor/assets/stylesheets/sir-trevor/block-addition.scss
blacklight-spotlight-3.6.0.beta6 vendor/assets/stylesheets/sir-trevor/block-addition.scss