Merge pull request #61 from d4708/top_right_button_vision
Top right button vision
This commit is contained in:
commit
24acf63cf8
2 changed files with 15 additions and 1 deletions
|
@ -38,14 +38,26 @@ a { color: black }
|
|||
text-align: center; color: white; font-family: Consolas, Monaco, monospace; font-size: 25px;
|
||||
}
|
||||
.fixbutton-bg {
|
||||
-webkit-border-radius: 80px; -moz-border-radius: 80px; -o-border-radius: 80px; -ms-border-radius: 80px; border-radius: 80px ; background-color: rgba(180, 180, 180, 0.5); cursor: pointer;
|
||||
-webkit-border-radius: 80px; -moz-border-radius: 80px; -o-border-radius: 80px; -ms-border-radius: 80px; border-radius: 80px ; background-color: rgba(180, 180, 180, 0.5);
|
||||
display: block; width: 80px; height: 80px; -webkit-transition: background-color 0.2s, box-shadow 0.5s; -moz-transition: background-color 0.2s, box-shadow 0.5s; -o-transition: background-color 0.2s, box-shadow 0.5s; -ms-transition: background-color 0.2s, box-shadow 0.5s; transition: background-color 0.2s, box-shadow 0.5s ; -webkit-transform: scale(0.6); -moz-transform: scale(0.6); -o-transform: scale(0.6); -ms-transform: scale(0.6); transform: scale(0.6) ; margin-left: -20px; margin-top: -20px; /* 2x size to prevent blur on anim */
|
||||
/*box-shadow: inset 105px 260px 0 -200px rgba(0,0,0,0.1);*/ /* -webkit-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -moz-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -o-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -ms-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1) ; */
|
||||
|
||||
/* #50, #53 */
|
||||
cursor: move;
|
||||
background-color: #FFF;
|
||||
background-image: url('img/logo.png');
|
||||
background-size: 60px;
|
||||
background-position-x: 10px;
|
||||
background-position-y: 10px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/* #50, #53 @TODO remove
|
||||
.fixbutton-text { pointer-events: none; position: absolute; z-index: 999; width: 40px; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden ; -webkit-perspective: 1000px; -moz-perspective: 1000px; -o-perspective: 1000px; -ms-perspective: 1000px; perspective: 1000px ; line-height: 0; padding-top: 5px; opacity: 0.9 }
|
||||
.fixbutton-burger { pointer-events: none; position: absolute; z-index: 999; width: 40px; opacity: 0; left: -20px; font-size: 40px; line-height: 0; font-family: Verdana, sans-serif; margin-top: 17px }
|
||||
.fixbutton-bg:hover { background-color: #AF3BFF }
|
||||
.fixbutton-bg:active { background-color: #9E2FEA; top: 1px; -webkit-transition: none ; -moz-transition: none ; -o-transition: none ; -ms-transition: none ; transition: none }
|
||||
*/
|
||||
|
||||
/* Notification */
|
||||
|
||||
|
|
|
@ -38,8 +38,10 @@ else if (window.opener && window.opener.location.toString()) {
|
|||
|
||||
<!-- Fixed button -->
|
||||
<div class='fixbutton'>
|
||||
<!-- #50, #53 @TODO remove
|
||||
<div class='fixbutton-text' style='font-size:150%'>←</div>
|
||||
<div class='fixbutton-burger'>≡</div>
|
||||
-->
|
||||
<a class='fixbutton-bg' href="{homepage}/"></a>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue