From 2655bfcd8748f20decbfe349b2ba1db282fabfcb Mon Sep 17 00:00:00 2001 From: Saivann Date: Mon, 11 Aug 2014 17:16:51 -0400 Subject: [PATCH] Fix download button display on mobiles --- _less/rtl.less | 16 +++++++--------- _less/screen.less | 25 +++++++++---------------- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git a/_less/rtl.less b/_less/rtl.less index 99c4d56c..21c629fb 100644 --- a/_less/rtl.less +++ b/_less/rtl.less @@ -228,21 +228,19 @@ h2 .rssicon{ margin-left:0; margin-right:10px; } -.wallets>div>div>h2:first-child+div+div{ - margin:2px 0 8px 0; -} .wallets>div>div>h2:first-child+div+div>a, .wallets>div>div>h2:first-child+div+div>a:visited, .wallets>div>div>h2:first-child+div+div>a:link, .wallets>div>div>h2:first-child+div+div>a:active{ padding:0 8px; + margin:2px 0 8px 0; } -.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{ - margin-left:0; - 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{ + margin-right:0; + margin-left:10px; } .wallets>div>div>h2:first-child+div+div+div+p{ padding-right:0; diff --git a/_less/screen.less b/_less/screen.less index d0cdc1e5..da7ba4aa 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -1424,17 +1424,20 @@ table td,table th{ .wallets>div>div>h2:first-child+div>img{ margin-left:4px; } -.wallets>div>div>h2:first-child+div+div{ - margin:10px 0 12px 0; - padding:0; +.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, .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{ - display:inline-block; font-weight:bold; - text-decoration:none; color:#fff; background-color:#2c6fad; background-image:-o-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); @@ -1443,10 +1446,7 @@ table td,table th{ background-image:-ms-linear-gradient(bottom, #255f96 14%, #2c6fad 70%); background-image:linear-gradient(bottom, #255f96 14%, #2c6fad 70%); border:1px solid #255f96; - padding:4px 8px; - -webkit-border-radius:4px; - -moz-border-radius:4px; - border-radius:4px; + margin-right:10px; } .wallets>div>div>h2:first-child+div+div>a:first-child:hover{ background-image:none; @@ -1455,16 +1455,9 @@ table td,table th{ .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{ - display:inline-block; font-weight:normal; - text-decoration:none; color:#255f96; border:1px solid #255f96; - margin-left:10px; - padding:4px 8px; - -webkit-border-radius:4px; - -moz-border-radius:4px; - border-radius:4px; } .wallets>div>div>h2:first-child+div+div+div{ margin:5px 0;