Commit 3268a7e6 authored by Milan's avatar Milan

add the new buttons to /map and /stats

define :focus style for .btn
parent 3ad1e9ce
......@@ -5,11 +5,13 @@
transition: all ease .1s;
}
.btn:hover {
.btn:hover,
.btn:focus {
color: #fff;
filter: brightness(90%);
}
.btn-i {
background-color: #4A8EC3;
}
......
......@@ -7,15 +7,15 @@
<div style="padding-top:10px;"></div>
<div class="btn-group btn-group-justified" role="group" aria-label="...">
<div class="btn-group" role="group">
<a class="btn btn-primary" href="map-fullscreen" target="_blank">
<a class="btn btn-i" href="map-fullscreen" target="_blank">
<i class="glyphicon glyphicon-fullscreen"></i> <%= t('home.mapshots.new_tab') %></a>
</div>
<div class="btn-group" role="group">
<a class="btn btn-primary" href="//files.illuna-minetest.tk/mapshots/daily.tar.bz2">
<a class="btn btn-i" href="//files.illuna-minetest.tk/mapshots/daily.tar.bz2">
<i class="glyphicon glyphicon-save-file"></i> <%= t('home.mapshots.static_image') %></a>
</div>
<div class="btn-group" role="group">
<a class="btn btn-primary" href="//files.illuna-minetest.tk/mapshots/" target="_blank">
<a class="btn btn-i" href="//files.illuna-minetest.tk/mapshots/" target="_blank">
<i class="glyphicon glyphicon-list-alt"></i> <%= t('home.mapshots.history') %></a>
</div>
</div>
......
......@@ -8,7 +8,7 @@
<img class="stat-img fadeintopright" src="https://monitor.tchncs.de/illuna-minetest/illuna-minetest/minetest_players-week.png" alt="" width="100%" />
</div>
<div class="">
<button class="btn btn-default btn-xs" type="button" data-toggle="collapse" data-target="#more_players" aria-expanded="false" aria-controls="more_players">
<button class="btn btn-xs" type="button" data-toggle="collapse" data-target="#more_players" aria-expanded="false" aria-controls="more_players">
monthly & yearly
</button>
</div>
......@@ -34,7 +34,7 @@
<img class="stat-img fadeinright" src="https://monitor.tchncs.de/illuna-minetest/illuna-minetest/minetest_lw_players-week.png" alt="" width="100%" />
</div>
<div class="">
<button class="btn btn-default btn-xs" type="button" data-toggle="collapse" data-target="#more_lw_players" aria-expanded="false" aria-controls="more_players">
<button class="btn btn-xs" type="button" data-toggle="collapse" data-target="#more_lw_players" aria-expanded="false" aria-controls="more_players">
monthly & yearly
</button>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment