Small style refinements

This commit is contained in:
Bernd Bestel 2019-09-21 08:38:28 +02:00
parent d2a841143e
commit ab44566890
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
3 changed files with 9 additions and 5 deletions

View File

@ -214,6 +214,10 @@ input::-webkit-inner-spin-button {
border-radius: 0.2rem;
}
.text-larger {
font-size: 125%;
}
/* Third party component customizations - DataTables */
.dataTable td {
vertical-align: middle !important;

View File

@ -163,8 +163,8 @@
</div>
<div class="col-2">
<label>{{ $__t('Energy (kcal)') }}</label>
<p class="font-weight-bold font-italic">
<span class="locale-number-format" data-format="generic">{{ $selectedRecipeTotalCalories }}</span>
<p class="mb-0">
<h3 class="locale-number-format pt-0" data-format="generic">{{ $selectedRecipeTotalCalories }}</h3>
</p>
</div>
@if(GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING)
@ -172,8 +172,8 @@
<label>{{ $__t('Costs') }}&nbsp;&nbsp;
<span class="small text-muted">{{ $__t('Based on the prices of the last purchase per product') }}</span>
</label>
<p class="font-weight-bold font-italic">
<span class="locale-number-format" data-format="currency">{{ $selectedRecipeTotalCosts }}</span>
<p class="mb-0">
<h3 class="locale-number-format pt-0" data-format="currency">{{ $selectedRecipeTotalCosts }}</h3>
</p>
</div>
@endif

View File

@ -148,7 +148,7 @@
<div class="row mt-3 d-print-none">
<div class="col-xs-12 col-md-8">
<div class="form-group">
<label for="notes">{{ $__t('Notes') }}</label>
<label class="text-larger font-weight-bold" for="notes">{{ $__t('Notes') }}</label>
<a id="save-description-button" class="btn btn-success btn-sm ml-1 mb-2 disabled" href="#">{{ $__t('Save') }}</a>
<textarea class="form-control wysiwyg-editor" id="description" name="description">{{ FindObjectInArrayByPropertyValue($shoppingLists, 'id', $selectedShoppingListId)->description }}</textarea>
</div>