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: transparent; 18} 19 20.loggedIn{ 21 .site-tools ul li:has(> a.action.media), .user-tools ul li:has(> a.action.admin), .page-tools ul li:has(> a.action.revs) { 22 display: block; 23 } 24} 25 26.page-tools { 27 a span.icon { 28 display: inline-block; 29 width: 20px; 30 height: 20px; 31 -webkit-font-smoothing: antialiased; 32 font-size: 20px; 33 line-height: 1; 34 font-family: 'bootstrap-icons'; 35 text-decoration: inherit; 36 font-weight: normal; 37 font-style: normal; 38 vertical-align: top; 39 } 40 41 a span.icon:before { content: '\F28A'; } 42 43 a.edit span.icon:before { content: '\F4CA'; } 44 a.create span.icon:before { content: '\F64D'; } 45 a.show span.icon:before { content: '\F341'; } 46 a.source span.icon:before { content: '\F2C6'; } 47 a.draft span.icon:before { content: '\F38B'; } 48 a.revs span.icon:before { content: '\F292'; } 49 a.backlink span.icon:before { content: '\F470'; } 50 a.top span.icon:before { content: '\F278'; } 51 a.revert span.icon:before { content: '\F117'; } 52 a.subscribe span.icon:before { content: '\F18A'; } 53} 54 55.site-tools { 56 a span { 57 display: inline-block; 58 width: 20px; 59 height: 20px; 60 -webkit-font-smoothing: antialiased; 61 font-size: 20px; 62 line-height: 1; 63 font-family: 'bootstrap-icons'; 64 text-decoration: inherit; 65 font-weight: normal; 66 font-style: normal; 67 vertical-align: top; 68 } 69 70 a span:before { content: '\F28A'; } 71 a.recent span:before { content: '\F293'; } 72 a.index span:before { content: '\F2EE'; } 73 a.media span:before { content: '\F2CB'; } 74} 75 76.user-tools { 77 a i { 78 display: inline-block; 79 width: 20px; 80 height: 20px; 81 -webkit-font-smoothing: antialiased; 82 font-size: 20px; 83 line-height: 20px; 84 vertical-align: middle; 85 font-family: 'bootstrap-icons'; 86 text-decoration: inherit; 87 font-weight: normal; 88 font-style: normal; 89 } 90 91 a i:before { content: '\F28A'; } 92 a.admin i:before { content: '\F3E5'; } 93 a.login i:before { content: '\F1BE'; } 94 a.logout i:before { content: '\F1C3'; } 95 a.register i:before { content: '\F89A'; } 96 a.profile i:before { content: '\F4CB'; } 97 98 p.user:before { 99 font-family: 'bootstrap-icons'; 100 content: "\F4E1"; 101 font-size: 20px; 102 padding-right: 4px; 103 line-height: 20px; 104 vertical-align: middle; 105 } 106} 107 108} /* /@media */ 109 110 111@media only screen and (min-width: 960px) { 112 113.page-tools { 114 position: fixed; 115 top: 40px; 116 left: 320px; 117 118 a span { 119 width: 60px; 120 display: block; 121 text-align: center; 122 } 123 a span.icon { 124 width: 60px; 125 height: 60px; 126 background: @ini_text_neu; 127 color: @ini_background; 128 font-size: 30px; 129 line-height: 2; 130 131 -webkit-border-radius: 50%; 132 -moz-border-radius: 50%; 133 border-radius: 50%; 134 transition: all 0.25s ease-in-out; 135 } 136 137 a:hover span.icon { 138 background: @ini_background; 139 color: @ini_text_alt; 140 } 141 142 a:focus { 143 outline: none; 144 145 span.icon { 146 background-color: @ini_theme_color; 147 color: #fff; 148 } 149 } 150} 151 152.mode_revisions .page-tools a.revs span.icon, 153.mode_backlink .page-tools a.backlink span.icon, 154.mode_revert .page-tools a.revert span.icon, 155.mode_subscribe .page-tools a.subscribe span.icon { 156 background: @ini_background; 157 color: @ini_text_alt; 158 position: relative; 159 160 &:after { 161 content: ''; 162 z-index: 2; 163 display: block; 164 position: absolute; 165 top: 25px; 166 right: -25px; 167 border-left: 5px solid @ini_text_alt; 168 border-top: 5px solid transparent; 169 border-bottom: 5px solid transparent; 170 } 171} 172 173} /* /@media */ 174 175@media only screen and (max-width: 959px) { 176 .page-tools .a11y { 177 position: static !important; 178 left: 0 !important; 179 right: 0 !important; 180 width: auto !important; 181 height: auto !important; 182 } 183} 184