Wallet/src/sass/views/includes/wallets.scss
2016-11-15 15:19:47 -05:00

95 lines
1.9 KiB
SCSS

.wallets {
.slides {
.swiper-container {
width: 85% !important;
overflow: visible;
}
.card {
max-width: 350px;
box-shadow:$subtle-box-shadow;
padding:0;
border-radius: 6px;
margin: 0 auto;
@media (min-width: 500px) {
& {
width: 350px;
position: relative;
margin: 1.5rem auto 0;
}
}
.item{
padding: 3vh 3vw 3vh 3vw;
span{
clear:both;
width: 100%;
display: inline-block;
&.wallet-name{
font-size:16px;
width: 70%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-weight: 600;
}
&.wallet-number{
visibility: hidden;
}
&.visible{
visibility: visible !important;
}
}
.big-icon-svg{
& > .bg{padding:.3rem;width: 40px;height:40px;}
}
}
}
.swiper-slide {
width: 100% !important;
max-width: 450px;
@media (min-width: 500px) {
& {
margin: 0 auto;
display: block;
float: none;
max-width: none;
}
&.swiper-slide-next .card {
float: left;
}
&.swiper-slide-prev .card {
float: right;
}
}
&.swiper-slide-prev,
&.swiper-slide-next {
opacity: .3;
-webkit-transform: scale(.8);
transform: scale(.8);
}
&.swiper-slide-prev {
left: 5vw;
}
&.swiper-slide-next {
left: -5vw;
}
}
}
.swiper-pagination {
visibility: hidden;
}
}
.platform-browser {
.wallets {
.slides {
.swiper-slide {
&.swiper-slide-prev,
&.swiper-slide-next {
&:hover {
opacity: 1;
}
}
}
}
}
}