ref: master
public/stylesheets/blocks/highlights.scss
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
.highlights-block { float: left; background: transparent; text-align: center; a, a:visited { text-decoration: none; } .highlights-container { width: 100%; height: 300px; background: #000; .highlights-image-link, .highlights-img1, .highlights-img2 { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-position: 50% 50%; } .highlights-img1 { position: absolute; top: 0; z-index: 1; background-size: cover; filter: blur(3px); opacity: 0.5; } .highlights-img2 { position: relative; z-index: 2; background-size: contain; } } .highlights-label { border: 0; position: absolute; left: 0; right: 0; bottom: 0; display: block; margin: 0; padding: 10px 20px; overflow: hidden; z-index: 2; background: rgba(0,0,0,0.6); color: #fff; text-decoration: none; text-align: left; &.empty { display: none; } } .highlights-block-pager { border: 0; display: inline; padding-right: 5px; float: left; position: static; a { text-decoration: none; margin-left: 5px; } a.activeSlide:visited, a.activeSlide { color: #000; } } } .block-config-options.HighlightsBlock-options { min-width: 450px; .image-data-line select { width: 150px; } td { text-align: center; } .image-data-line td { padding-top: 7px; } .image-title { white-space: nowrap; border-bottom: 1px solid #CCC; &:last-child { border: none; } td { padding-bottom: 7px; } span { padding-right: 5px; } } } |