Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /* Portfolio */ |
| 2 | /* Portfolio Filter */ |
||
| 3 | .mix-filter { |
||
| 4 | list-style: none; |
||
| 5 | margin: 0 0 20px; |
||
| 6 | padding: 0; |
||
| 7 | } |
||
| 8 | .mix-filter li { |
||
| 9 | color: #555; |
||
| 10 | cursor: pointer; |
||
| 11 | padding: 6px 15px; |
||
| 12 | margin-right: 2px; |
||
| 13 | margin-bottom: 5px; |
||
| 14 | background: #eee; |
||
| 15 | display: inline-block; |
||
| 16 | } |
||
| 17 | .mix-filter li:hover, |
||
| 18 | .mix-filter li.active { |
||
| 19 | color: #fff; |
||
| 20 | background: #e44f00; |
||
| 21 | } |
||
| 22 | .mix-grid .mix { |
||
| 23 | opacity: 0; |
||
| 24 | display: none; |
||
| 25 | } |
||
| 26 | |||
| 27 | /* Portfolio Hover */ |
||
| 28 | .mix-grid .mix { |
||
| 29 | position: relative; |
||
| 30 | overflow: hidden; |
||
| 31 | margin-bottom: 15px; |
||
| 32 | } |
||
| 33 | .mix-grid .mix .mix-inner { |
||
| 34 | position: relative; |
||
| 35 | width: 100%; |
||
| 36 | } |
||
| 37 | .mix-grid .mix .mix-details { |
||
| 38 | color: #fff; |
||
| 39 | width: 100%; |
||
| 40 | height: 100%; |
||
| 41 | bottom: -100%; |
||
| 42 | text-align: center; |
||
| 43 | position: absolute; |
||
| 44 | background: rgba(228,79,0,1); |
||
| 45 | transition: all 0.5s ease; |
||
| 46 | -o-transition: all 0.5s ease; |
||
| 47 | -ms-transition: all 0.5s ease; |
||
| 48 | -moz-transition: all 0.5s ease; |
||
| 49 | -webkit-transition: all 0.5s ease; |
||
| 50 | } |
||
| 51 | .mix-grid .mix:hover .mix-details { |
||
| 52 | bottom: 0; |
||
| 53 | transition: all 0.5s ease; |
||
| 54 | -o-transition: all 0.5s ease; |
||
| 55 | -ms-transition: all 0.5s ease; |
||
| 56 | -moz-transition: all 0.5s ease; |
||
| 57 | -webkit-transition: all 0.5s ease; |
||
| 58 | } |
||
| 59 | .mix-grid .mix .mix-details h4 { |
||
| 60 | color: #fff; |
||
| 61 | margin-top: 30px; |
||
| 62 | padding: 0 10px; |
||
| 63 | } |
||
| 64 | .mix-grid .mix .mix-details p { |
||
| 65 | padding: 0 30px; |
||
| 66 | } |
||
| 67 | .mix-grid .mix .mix-details i { |
||
| 68 | color: #fff; |
||
| 69 | font-size: 14px; |
||
| 70 | } |
||
| 71 | .mix-grid .mix a.mix-link, |
||
| 72 | .mix-grid .mix a.mix-preview { |
||
| 73 | color: #555; |
||
| 74 | display: block; |
||
| 75 | cursor: pointer; |
||
| 76 | margin-top: 10px; |
||
| 77 | position: absolute; |
||
| 78 | padding: 10px 15px; |
||
| 79 | background: #DB3A1B; |
||
| 80 | } |
||
| 81 | .mix-grid .mix a.mix-preview { |
||
| 82 | left: 50%; |
||
| 83 | margin-left: 5px; |
||
| 84 | } |
||
| 85 | .mix-grid .mix a.mix-link { |
||
| 86 | right: 50%; |
||
| 87 | margin-right: 5px; |
||
| 88 | } |
||
| 89 | .mix-grid .mix a.mix-link:hover, |
||
| 90 | .mix-grid .mix a.mix-preview:hover { |
||
| 91 | color: #fff; |
||
| 92 | padding: 9px 14px; |
||
| 93 | text-decoration: none; |
||
| 94 | border: solid 1px #eee; |
||
| 95 | } |
||
| 96 | |||
| 97 | /* Portrait tablet to landscape and desktop */ |
||
| 98 | @media (min-width: 992px) { |
||
| 99 | .mix-grid .mix.col-md-6.col-sm-6 .mix-details { |
||
| 100 | height: 50%; |
||
| 101 | } |
||
| 102 | |||
| 103 | } |
||
| 104 | @media (min-width: 768px) and (max-width: 991px) { |
||
| 105 | .mix-grid .mix a.mix-link, |
||
| 106 | .mix-grid .mix a.mix-preview { |
||
| 107 | margin-top: 5px; |
||
| 108 | } |
||
| 109 | } |