Added .btn-default to unify buttons across browsers (#418)

This commit is contained in:
Dominik Süß 2016-10-11 23:00:30 +02:00 committed by Simon Michael
parent cf71a803f9
commit 36d2998b77
2 changed files with 3 additions and 3 deletions

View File

@ -382,7 +382,7 @@ addform _ vd@VD{..} = [hamlet|
|] |]
| otherwise = [hamlet| | otherwise = [hamlet|
<td #addbtncell style="text-align:right;"> <td #addbtncell style="text-align:right;">
<button type=submit .btn .btn-lg name=submit>add <button type=submit .btn .btn-default .btn-lg name=submit>add
$if length filepaths > 1 $if length filepaths > 1
<br> <br>
<span class="input-lg">to: <span class="input-lg">to:

View File

@ -114,8 +114,8 @@ searchform VD{..} = [hamlet|
<a role=button .btn .close style="position:absolute; right:0; padding-right:.1em; padding-left:.1em; margin-right:.1em; margin-left:.1em; font-size:24px;" href="@{here}" title="Clear search terms">&times; <a role=button .btn .close style="position:absolute; right:0; padding-right:.1em; padding-left:.1em; margin-right:.1em; margin-left:.1em; font-size:24px;" href="@{here}" title="Clear search terms">&times;
<input .form-control style="font-size:18px; padding-bottom:2px;" name=q value=#{q} title="Enter hledger search patterns to filter the data below"> <input .form-control style="font-size:18px; padding-bottom:2px;" name=q value=#{q} title="Enter hledger search patterns to filter the data below">
<td width="1%" style="white-space:nowrap;"> <td width="1%" style="white-space:nowrap;">
<button .btn style="font-size:18px;" type=submit title="Apply search terms">Search <button .btn .btn-default style="font-size:18px;" type=submit title="Apply search terms">Search
<button .btn style="font-size:18px;" type=button data-toggle="modal" data-target="#helpmodal" title="Show search and general help">? <button .btn .btn-default style="font-size:18px;" type=button data-toggle="modal" data-target="#helpmodal" title="Show search and general help">?
|] |]
where where
filtering = not $ null q filtering = not $ null q