.wallets { width: 705px; height: 250px; text-align: left; position: relative; margin: auto; padding: 60px 0 20px 0; font-size: 0; opacity: 1; -moz-transition: opacity 400ms ease-out; -webkit-transition: opacity 400ms ease-out; transition: opacity 400ms ease-out; } .wallets.disabled { opacity: 0; } .wallets > div { display: inline-block; vertical-align: top; font-size: 16px; } .wallets > div:nth-child(1n + 15) { display: none; } .wallets > div > a { color: #2c6fad; cursor: pointer; font-size: 94%; text-align: center; text-decoration: none; font-weight: bold; width: 72px; height: 110px; display: inline-block; vertical-align: top; position: relative; margin: 0 14px 20px 14px; white-space: nowrap; outline: 0; -moz-transition: opacity 400ms ease-out; -webkit-transition: opacity 400ms ease-out; transition: opacity 400ms ease-out; } .wallets > div > a:hover { color: #63a4e1; } .wallets > div > a > span { display: none; position: absolute; z-index: 100; height: 32px; background: url(/img/icons/wallet_bubble.svg) no-repeat center 0; top: 0; left: 0; right: 0; } .wallets > div > a > img { display: block; width: 72px; height: 72px; margin: auto; margin-bottom: 5px; } .wallets > div > div, .wallets > div > span { opacity: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; display: inline-block; position: absolute; padding: 20px; top: -382px; left: -20px; right: -20px; -moz-transition: opacity 400ms ease-out; -webkit-transition: opacity 400ms ease-out; transition: opacity 400ms ease-out; } .wallets > div > span { z-index: 100; border: solid 2px #2c6faf; background-color: #f1f8fb; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .wallets > div > div { z-index: 102; } .wallets > div:nth-child(1n + 7) > div, .wallets > div:nth-child(1n + 7) > span { top: -252px; } .wallets > div:nth-child(1n + 13) > div, .wallets > div:nth-child(1n + 13) > span { top: -92px; } .wallets > div > div > h2 { margin: 0; text-align: left; display: inline-block; } .wallets > div > div > h2:first-child + div { display: inline-block; margin-left: 10px; } .wallets > div > div > h2:first-child + div > img { margin-left: 4px; } .wallets > div > div > h2:first-child + div + div > a { display: inline-block; text-decoration: none; margin: 10px 0; padding: 4px 8px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .wallets > div > div > h2:first-child + div + div > a:first-child { font-weight: bold; background-color: #2c6fad; background-image: -o-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -moz-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -webkit-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -ms-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: linear-gradient(bottom, #255f96 14%, #2c6fad 70%); border: 1px solid #255f96; margin-right: 10px; } .wallets > div > div > h2:first-child + div + div > a:first-child, .wallets > div > div > h2:first-child + div + div > a:first-child:visited, .wallets > div > div > h2:first-child + div + div > a:first-child:link, .wallets > div > div > h2:first-child + div + div > a:first-child:active { color: #fff; } .wallets > div > div > h2:first-child + div + div > a:first-child + a { font-weight: normal; color: #255f96; border: 1px solid #255f96; } .wallets > div > div > h2:first-child + div + div > a:first-child + a, .wallets > div > div > h2:first-child + div + div > a:first-child + a:visited, .wallets > div > div > h2:first-child + div + div > a:first-child + a:link, .wallets > div > div > h2:first-child + div + div > a:first-child + a:active { color: #255f96; } .wallets > div > div > h2:first-child + div + div + div { margin: 5px 0; } .wallets > div > div > h2:first-child + div + div + div > div { padding: 5px 0 5px 22px; background-repeat: no-repeat; background-position: left 4px; cursor: default; line-height: 16px; } .wallets > div > div > h2:first-child + div + div + div > div > div { display: inline-block; background-image: url(/img/icons/wallet_help.png); background-image: none, url(/img/icons/wallet_help.svg), url(/img/icons/wallet_help.png); width: 16px; height: 16px; margin-left: 5px; vertical-align: top; position: relative; } .wallets > div > div > h2:first-child + div + div + div > div > div > span { display: none; position: absolute; left: 6px; top: -30px; width: 25px; height: 70px; z-index: 90; background-repeat: no-repeat; background-position: right 30px; } .wallets > div > div > h2:first-child + div + div + div > div > div > p, .wallets > div > div > h2:first-child + div + div + div > div > div > div { opacity: 0; width: 0; height: 0; overflow: hidden; border: 1px solid; visibility: hidden; position: absolute; background-color: #fff; left: 30px; margin: 0; -moz-transition: opacity 400ms ease-out; -webkit-transition: opacity 400ms ease-out; transition: opacity 400ms ease-out; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; z-index: 90; } .wallets > div > div > h2:first-child + div + div + div > div > div > p { font-size: 85%; padding: 10px; top: -30px; } .wallets > div > div > h2:first-child + div + div + div > div > div > div { padding: 0 10px; top: -80px; } .wallets > div > div > h2:first-child + div + div + div > div > div > div > div > p:first-child + p { font-size: 85%; } .wallets > div > div > h2:first-child + div + div + div + p { font-size: 95%; margin: 0; padding-right: 5px; height: 137px; width: 320px; overflow: auto; } .wallets > div > div > h2:first-child + div + div + div + p + div { position: absolute; top: 20px; right: 20px; height: 400px; width: 250px; } .wallets > div > div > h2:first-child + div + div + div + p + div > img { border: 1px solid #BDBDBD; } // ----------------------------- new $checks: control, validation, transparency, environment, fees, privacy; $green: #329239; $grey: #8b8b8b; $red: #ee9209; $blue: #2c6faf; $light-blue: #f0f8ff; $scores: good $green bold, pass $green normal, neutral $grey normal, fail $red normal; .wallet { .wallet-logo-container { text-align: center; .wallet-logo { width: 72px; height: 72px; } h1 { text-align: center; } } .wallet-platforms { .wallet-platforms-menu { text-align: center; margin-bottom: 20px; .wallet-os-btn { background-color: transparent; font-weight: bold; border: 1px solid #255f96; margin-right: 10px; text-decoration: none; padding: 4px 8px; border-radius: 4px; text-align: center; &.active { background-color: #2c6fad; background-image: -o-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -moz-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -webkit-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -ms-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: linear-gradient(bottom, #255f96 14%, #2c6fad 70%); color: #fff; &:hover { background-image: none; } } span { vertical-align: text-top; } } } .wallet-os-container { background-color: $light-blue; padding: 20px; border: 2px solid $blue; border-radius: 4px; margin-bottom: 20px; display: flex; &.hidden { display: none; } .wallet-os-screenshot { img { border: 1px solid $grey; } } .wallet-os-overview { flex: 1; display: flex; flex-direction: column; .wallet-os-name { h3 { margin: 0; margin-right: 5px; display: inline-block; vertical-align: top; } margin-bottom: 20px; } .wallet-os-download-buttons { margin-bottom: 20px; .wallet-os-source-link, .wallet-os-download-link { font-weight: bold; border: 1px solid #255f96; margin-right: 10px; text-decoration: none; padding: 4px 8px; border-radius: 4px; text-align: center; } .wallet-os-download-link { background-color: #2c6fad; background-image: -o-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -moz-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -webkit-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: -ms-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image: linear-gradient(bottom, #255f96 14%, #2c6fad 70%); color: #fff; &:hover { background-image: none; } } .wallet-os-source-link { } } .wallet-os-checks { padding-right: 40px; .wallet-os-check-title { display: inline-block; margin: 0; } .wallet-os-check-help-icon { display: inline-block; background-image: url(/img/icons/wallet_help.png); background-image: none, url(/img/icons/wallet_help.svg), url(/img/icons/wallet_help.png); width: 16px; height: 16px; vertical-align: text-bottom; cursor: pointer; } .hover { .wallet-os-check-details { z-index: 100; display: block; border: 2px solid; border-radius: 4px; margin: 10px 0; padding: 10px; } } .wallet-os-check-details { display: none; position: absolute; background-color: #FFFFFF; max-width: 350px; p { margin: 0; text-align: left; } } } } } } // Generate backgrounds for checks and scores @each $score, $color, $font-weight in $scores { .check#{$score} { background-repeat: no-repeat; background-position-y: center; padding-left: 25px; margin-bottom: 10px; .wallet-os-check-title { color: $color; font-weight: $font-weight; } .wallet-os-check-details { color: $color; border-color: $color; } > div > span { @if $score == good { background-image: url('/img/icons/checkbubble_pass.svg'); } @else { background-image: url('/img/icons/checkbubble_#{$score}.svg'); } } @each $check in $checks { &.check#{$check} { @if $score == good { background-image: url('/img/icons/check_#{$check}_pass.svg'); } @else { background-image: url('/img/icons/check_#{$check}_#{$score}.svg'); } } } } } } .wallets > div:hover > a > span, .wallets > div.active > a > span, .wallets.nohover > div.active:hover > a > span { display: block; } .wallets.nohover > div:hover > a > span { display: none; } .wallets > div:hover > div, .wallets > div:hover > span, .wallets > div.active > div, .wallets > div.active > span, .wallets.nohover > div.active:hover > div, .wallets.nohover > div.active:hover > span { opacity: 1; width: auto; height: 400px; visibility: visible; overflow: visible; } .wallets.nohover > div:hover > div, .wallets.nohover > div:hover > span { opacity: 0; width: 0; height: 0; visibility: hidden; } .wallets > div > div > h2:first-child + div + div > a:first-child:hover { background-image: none; } .wallets > div > div > h2:first-child + div + div + div > div:hover > div > span { display: block; } .wallets > div > div > h2:first-child + div + div + div > div:hover > div > p, .wallets > div > div > h2:first-child + div + div + div > div:hover > div > div { opacity: 1; width: 400px; height: auto; visibility: visible; } .walletsswitch { display: none; } .walletsmobile { display: none; } .walletsdisclaimer h2 { text-align: center; }