@color-themes: #a3777f; @color-themes1: #dcc167; @color-themes2: #93a7cf; @color-themes3: #ea958a; @color-themes-opacity: fade(@color-themes, 50%); @color-themes-opacity: fade(@color-themes1, 50%); @heading-color: #fff; @description-color: #bbb; @color-line: rgba(255, 255, 255, 0.5); @border-weight: 8px; @circle-figure: 50%; .item-hover { position: relative; -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; } .item-hover, .item-hover * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .item-hover a { color: #333; } .item-hover a:hover { text-decoration: none; } .item-hover img { width: 100%; height: 100%; } .item-hover.circle { position: relative; width: 220px; height: 220px; border-radius: @circle-figure; } .item-hover.circle .img { position: relative; width: 220px; height: 220px; border-radius: @circle-figure; } .item-hover.circle .img:before { position: absolute; display: block; content: ''; width: 100%; height: 100%; border-radius: @circle-figure; box-shadow: inset 0 0 0 @border-weight rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3); -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; } .item-hover.circle .img img { border-radius: @circle-figure; } .item-hover.circle .info { position: absolute; top: 0; bottom: 0; left: 0; right: 0; text-align: center; border-radius: @circle-figure; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .item-hover.square { position: relative; width: 316px; height: 216px; border: 8px solid #fff; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); } .item-hover.square .info { position: absolute; top: 0; bottom: 0; left: 0; right: 0; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .item-hover .info .icons{ margin-top: 90px; font-size: 26px; color: @heading-color; } .item-hover .info .icons i{ margin-right: 5px; } /* ------ Effect10 ------ */ .item-hover.circle.effect10 .img { z-index: 11; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; } .item-hover.circle.effect10.colored .info { background: @color-themes; } .item-hover.circle.effect10.colored_1 .info { background: @color-themes1; } .item-hover.circle.effect10.colored_2 .info { background: @color-themes2; } .item-hover.circle.effect10.colored_3 .info { background: @color-themes3; } .item-hover.circle.effect10 .info { background: #5e514d; opacity: 0; -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0); -webkit-transition: all 0.35s ease-in-out; -moz-transition: all 0.35s ease-in-out; transition: all 0.35s ease-in-out; } .item-hover.circle.effect10 .info h3 { color: #FFFFFF; text-transform: uppercase; position: relative; letter-spacing: 2px; font-size: 22px; text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3); } .item-hover.circle.effect10.colored .info h3 { color: @heading-color; } .item-hover.circle.effect10.colored_1 .info h3 { color: @heading-color; } .item-hover.circle.effect10 .info p { color: #BBBBBB; font-style: italic; font-size: 12px; border-top: 1px solid rgba(255, 255, 255, 0.5); } .item-hover.circle.effect10.colored .info p { color: @description-color; border-top: 1px solid @color-line; } .item-hover.circle.effect10.colored_1 .info p { color: @description-color; border-top: 1px solid @color-line; } .item-hover.circle.effect10 a:hover .info { visibility: visible; opacity: 1; -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); } .item-hover.circle.effect10.top_to_bottom .info h3 { margin: 0 30px; padding: 25px 0 0 0; height: 78px; } .item-hover.circle.effect10.top_to_bottom .info p { margin: 0 30px; padding: 5px; } .item-hover.circle.effect10.top_to_bottom a:hover .img { -webkit-transform: translateY(50px) scale(0.5); -moz-transform: translateY(50px) scale(0.5); -ms-transform: translateY(50px) scale(0.5); -o-transform: translateY(50px) scale(0.5); transform: translateY(50px) scale(0.5); } /* ------ End Effect10 ------ */