diff --git a/assets/css/other.css b/assets/css/other.css index 682dc2a..99558fd 100644 --- a/assets/css/other.css +++ b/assets/css/other.css @@ -10,7 +10,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. #userlist .row { overflow-y: auto; - + /* 160px obtained from trial-and-error adjustments, if the login screen is changed, this might need to be updated @@ -25,4 +25,18 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. .nav-tabs { border-bottom: 1px solid #ddd; +} + +.btn-huge { + height: 100px; + text-align: center; + font-size: 120%; +} + +.btn-huge .icon { + display: block; +} + +#sign-out-btn, #refresh-btn { + background-color: rgba(255,255,255,.75); } \ No newline at end of file diff --git a/cards/js/qwikclock_punchinout.js b/cards/js/qwikclock_punchinout.js index b070ff6..7cafeb3 100644 --- a/cards/js/qwikclock_punchinout.js +++ b/cards/js/qwikclock_punchinout.js @@ -4,6 +4,13 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +if (largebtns) { + $(".start_btn").addClass("btn-huge"); + $(".start_btn .icon svg").addClass("fa-2x"); + $(".stop_btn").addClass("btn-huge"); + $(".stop_btn .icon svg").addClass("fa-2x"); +} + $(".card_qwikclock_punchinout").each(function () { var card = $(this); var url = $(this).data("apiurl"); diff --git a/cards/qwikclock_punchinout.html b/cards/qwikclock_punchinout.html index 964f966..a5a18b9 100644 --- a/cards/qwikclock_punchinout.html +++ b/cards/qwikclock_punchinout.html @@ -5,6 +5,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. -->