Skip to content

Commit

Permalink
more beautification b/c of bootstrap 5.3 #2
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Oct 17, 2023
1 parent 7556685 commit 462a798
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/Froxlor/assets/scss/components/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.form-control[readonly] {
background: $body-tertiary-bg;
background-color: $body-tertiary-bg;
}

@include color-mode(dark) {
Expand All @@ -12,7 +12,7 @@
}
.form-control,
.form-select {
background: $dark-bg;
background-color: $dark-bg;
}

.form-switch {
Expand All @@ -22,7 +22,7 @@
}

.form-control[readonly] {
background: $body-tertiary-bg-dark;
background-color: $body-tertiary-bg-dark;
}

}
2 changes: 1 addition & 1 deletion templates/Froxlor/assets/scss/components/_generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ td.text-end {
}

@include color-mode(dark) {
.table>:not(caption)>*>* {
.table>thead>*>* {
background-color: transparent;
}
}
12 changes: 12 additions & 0 deletions templates/Froxlor/assets/scss/components/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@
}
}
}

@include color-mode(dark) {
#search {
.search-input {
color: $body-color-dark;
}
.search-results-box {
background: $dark-bg;
border: $border-color-dark solid 1px;
}
}
}
4 changes: 2 additions & 2 deletions templates/Froxlor/settings/configuration.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
{{ lng('admin.configfiles.recommendednote') }}
</div>
<div class="col-12 col-md-6 text-end">
<button type="button" class="btn btn-outline-secondary me-1" id="selectRecommendedConfig">{{ lng('admin.configfiles.selectrecommended') }}</button>
<button type="button" class="btn btn-outline-secondary me-1" id="downloadSelectionAsJson">
<button type="button" class="btn btn-outline-secondary me-md-3" id="selectRecommendedConfig">{{ lng('admin.configfiles.selectrecommended') }}</button>
<button type="button" class="btn btn-outline-secondary me-md-3" id="downloadSelectionAsJson">
<i class="fa-solid fa-download"></i>
{{ lng('admin.configfiles.downloadselected') }}</button>
<button type="submit" class="btn btn-primary">{{ lng('update.proceed') }}</button>
Expand Down

0 comments on commit 462a798

Please sign in to comment.