1/* =Tools 2----------------------------------------------- */ 3 4@media screen { 5 6/* highlight selected tool */ 7.mode_admin a.action.admin, 8.mode_login a.action.login, 9.mode_register a.action.register, 10.mode_profile a.action.profile, 11.mode_recent a.action.recent, 12.mode_index a.action.index, 13.mode_media a.action.media, 14.mode_revisions a.action.revs, 15.mode_backlink a.action.backlink, 16.mode_subscribe a.action.subscribe { 17 background-color: @ini_text_neu; 18} 19 20.page-tools { 21 a span:first-child { 22 display: inline-block; 23 width: 20px; 24 height: 20px; 25 -webkit-font-smoothing: antialiased; 26 font-size: 20px; 27 line-height: 1; 28 font-family: 'Genericons'; 29 text-decoration: inherit; 30 font-weight: normal; 31 font-style: normal; 32 vertical-align: top; 33 } 34 35 a span:first-child:before { content: '\f101'; } 36 37 a.edit span:first-child:before { content: '\f411'; } 38 a.create span:first-child:before { content: '\f510'; } 39 a.show span:first-child:before { content: '\f400'; } 40 a.source span:first-child:before { content: '\f462'; } 41 a.draft span:first-child:before { content: '\f416'; } 42 a.revs span:first-child:before { content: '\f303'; } 43 a.backlink span:first-child:before { content: '\f107'; } 44 a.top span:first-child:before { content: '\f435'; } 45 a.revert span:first-child:before { content: '\f467'; } 46 a.subscribe span:first-child:before { content: '\f410'; } 47} 48 49} /* /@media */ 50 51 52@media only screen and (min-width: 960px) { 53 54.page-tools { 55 position: fixed; 56 top: 40px; 57 left: 320px; 58 59 a span:first-child { 60 display: block; 61 width: 60px; 62 height: 60px; 63 background: @ini_text_neu; 64 color: @ini_background; 65 font-size: 30px; 66 line-height: 2; 67 text-align: center; 68 69 -webkit-border-radius: 50%; 70 -moz-border-radius: 50%; 71 border-radius: 50%; 72 -webkit-transition: all 0.25s ease-in-out; 73 -moz-transition: all 0.25s ease-in-out; 74 -ms-transition: all 0.25s ease-in-out; 75 -o-transition: all 0.25s ease-in-out; 76 transition: all 0.25s ease-in-out; 77 } 78 79 a:hover span:first-child { 80 background: @ini_background; 81 color: @ini_text_alt; 82 } 83} 84 85.mode_revisions .page-tools a.revs span:first-child, 86.mode_backlink .page-tools a.backlink span:first-child, 87.mode_revert .page-tools a.revert span:first-child, 88.mode_subscribe .page-tools a.subscribe span:first-child { 89 background: @ini_background; 90 color: @ini_text_alt; 91 position: relative; 92 93 &:after { 94 content: ''; 95 z-index: 2; 96 display: block; 97 position: absolute; 98 top: 25px; 99 right: -25px; 100 border-left: 5px solid @ini_text_alt; 101 border-top: 5px solid transparent; 102 border-bottom: 5px solid transparent; 103 } 104} 105 106} /* /@media */ 107 108@media only screen and (max-width: 959px) { 109 .page-tools .a11y { 110 position: static !important; 111 left: 0 !important; 112 width: auto !important; 113 height: auto !important; 114 } 115} 116