Commit 3268a7e6 authored by Milan's avatar Milan
Browse files

add the new buttons to /map and /stats

define :focus style for .btn
parent 3ad1e9ce
...@@ -5,11 +5,13 @@ ...@@ -5,11 +5,13 @@
transition: all ease .1s; transition: all ease .1s;
} }
.btn:hover { .btn:hover,
.btn:focus {
color: #fff; color: #fff;
filter: brightness(90%); filter: brightness(90%);
} }
.btn-i { .btn-i {
background-color: #4A8EC3; background-color: #4A8EC3;
} }
......
...@@ -7,15 +7,15 @@ ...@@ -7,15 +7,15 @@
<div style="padding-top:10px;"></div> <div style="padding-top:10px;"></div>
<div class="btn-group btn-group-justified" role="group" aria-label="..."> <div class="btn-group btn-group-justified" role="group" aria-label="...">
<div class="btn-group" role="group"> <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> <i class="glyphicon glyphicon-fullscreen"></i> <%= t('home.mapshots.new_tab') %></a>
</div> </div>
<div class="btn-group" role="group"> <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> <i class="glyphicon glyphicon-save-file"></i> <%= t('home.mapshots.static_image') %></a>
</div> </div>
<div class="btn-group" role="group"> <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> <i class="glyphicon glyphicon-list-alt"></i> <%= t('home.mapshots.history') %></a>
</div> </div>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -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%" /> <img class="stat-img fadeintopright" src="https://monitor.tchncs.de/illuna-minetest/illuna-minetest/minetest_players-week.png" alt="" width="100%" />
</div> </div>
<div class=""> <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 monthly & yearly
</button> </button>
</div> </div>
...@@ -34,7 +34,7 @@ ...@@ -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%" /> <img class="stat-img fadeinright" src="https://monitor.tchncs.de/illuna-minetest/illuna-minetest/minetest_lw_players-week.png" alt="" width="100%" />
</div> </div>
<div class=""> <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 monthly & yearly
</button> </button>
</div> </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