Small CSS fixes for repository [SCI-6767]

This commit is contained in:
Anton 2022-04-28 14:32:34 +02:00
parent 892b5e2348
commit 98efcc04b5
4 changed files with 13 additions and 7 deletions

View file

@ -214,6 +214,11 @@
color: $color-volcano;
}
.empty-stock-render,
.consumption-locked {
color: $color-silver-chalice;
}
.row-stock,
.row-consumption {
min-width: 140px;

View file

@ -75,12 +75,13 @@
@media (max-width: 1299px) {
.repository-toolbar {
.btn {
.btn:not(.prevent-shrink) {
padding: 7px;
width: 36px;
}
.button-text {
display: none;
.button-text {
display: none;
}
}
.auto-shrink-button {

View file

@ -53,11 +53,11 @@
</span>
<span id="saveCancel" data-toggle="buttons" style="display:none">
<button type="button" class="btn btn-success" id="saveRecord" data-view-mode="active">
<button type="button" class="btn btn-success prevent-shrink" id="saveRecord" data-view-mode="active">
<span class="fas fa-save"></span>
<%= t("repositories.save_record") %>
</button>
<button type="button" class="btn btn-light" id="cancelSave" data-view-mode="active">
<button type="button" class="btn btn-light prevent-shrink" id="cancelSave" data-view-mode="active">
<span class="fas fa-times-circle"></span>
<%= t("repositories.cancel_save") %>
</button>

View file

@ -1901,7 +1901,7 @@ en:
stock_low_html: "Only <strong>%{stock_formated}</strong> left."
stock_empty: "There is no stock left."
date_reminder: "Date reminder."
date_expiration_html: "This item is expiring in <strong>%{date_expiration}</strong>"
date_expiration_html: "This item is expiring in <strong>%{date_expiration}</strong>."
item_expired: "This item has expired."
day: "day"
label_printers: