Noosfero/noosfero

View on GitHub
public/stylesheets/slick-theme.css

Summary

Maintainability
Test Coverage
@charset 'UTF-8';
/* Slider */

.slick-loading .slick-list {
  background: #fff url('/images/loading.gif') center center no-repeat;
}

/* Icons */

@font-face {
  font-family: 'slick';
  font-weight: normal;
  font-style: normal;
  src: url('/fonts/slick.eot');
  src: url('/fonts/slick.eot?#iefix') format('embedded-opentype'), url('/fonts/slick.woff') format('woff'), url('/fonts/slick.ttf') format('truetype'), url('/fonts/slick.svg#slick') format('svg');
}

/* Arrows */

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 40px;
  height: 40px;
  margin-top: -10px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
  opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: .25;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'slick';
  font-size: 30px;
  line-height: 1;
  opacity: .75;
  color: rgb(174, 174, 174);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
  left: -20px;
}

@media only screen and (max-width: 768px) {
  .slick-prev {
    left: -45px;
  }
}

@media only screen and (max-width: 540px) {
  .slick-prev {
    left: -20px;
  }
}

[dir='rtl'] .slick-prev {
  right: -10px;
  left: auto;
}

.slick-prev:before {
  content: '←';
}

[dir='rtl'] .slick-prev:before {
  content: '→';
}

.slick-next {
  right: -20px;
}

@media only screen and (max-width: 768px) {
  .slick-next {
    right: -45px;
  }
}

@media only screen and (max-width: 540px) {
  .slick-next {
    right: -20px;
  }
}

[dir='rtl'] .slick-next {
  right: auto;
  left: -10px;
}

.slick-next:before {
  content: '→';
}

[dir='rtl'] .slick-next:before {
  content: '←';
}

/* Dots */

.slick-slider {
  width: 90%;
  margin: auto;
  margin-bottom: 40px;
}

@media only screen and (max-width: 540px) {
  .slick-slider {
    width: 85%;
  }
  #block-types .block-type {
    width: 85px !important;
  }
  .block-type img {
    width: 32px;
    height: 32px;
  }
}

.slick-dots {
  position: absolute;
  bottom: -40px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  font-family: 'slick';
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: '•';
  text-align: center;
  opacity: .25;
  color: black;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: .75;
  color: black;
}

.slick-track {
  width: 5000px !important;
  text-align: left;
}

.block-type {
  width: 100px !important;
}

.block-type a.help {
  color: #346392;
  font-size: 14px;
}

.block-type a.help:hover,
.block-type a.help:visited {
  color: #346392;
}