Skip to content

Commit

Permalink
Interfaces page - Tweak margin and padding to achieve better indentat…
Browse files Browse the repository at this point in the history
…ion alignment (#3201)
  • Loading branch information
rdwebdesign authored Jan 30, 2025
2 parents ee75f51 + e61df20 commit 8f730a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
3 changes: 2 additions & 1 deletion scripts/js/interfaces.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ $(function () {
data: json,
expandIcon: "fa fa-angle-down fa-fw",
collapseIcon: "fa fa-angle-right fa-fw",
indent: 1.25,
parentsMarginLeft: "0",
indent: 2.5,
});
$("#spinner").hide();

Expand Down
24 changes: 14 additions & 10 deletions style/themes/lcars.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

/*** General ***/
html {
font-size: 17px;
/* fix #2554: browser not detecting dark mode */
color-scheme: dark;
}
Expand Down Expand Up @@ -60,25 +59,25 @@ h1 {
}

h2 {
font-size: 1.6rem;
font-size: 1.6em;
font-weight: normal;
}

h3,
.box-header .box-title {
font-size: 1.2rem;
font-size: 1.2em;
}

h4 {
font-size: 1rem;
font-size: 1em;
}

h5 {
font-size: 0.9rem;
font-size: 0.9em;
}

h6 {
font-size: 0.75rem;
font-size: 0.75em;
}

a {
Expand All @@ -98,8 +97,8 @@ td a {
code,
pre {
padding: 1px 3px;
line-height: 1rem;
font-size: 1rem;
line-height: 1em;
font-size: 1em;
color: #000;
background-color: #9ab;
border-radius: 4px;
Expand Down Expand Up @@ -331,7 +330,7 @@ select.form-control {
background: #678;
border: none;
border-radius: 8px;
font-size: 1rem;
font-size: 1em;
color: #000;
}

Expand Down Expand Up @@ -1704,7 +1703,7 @@ table.dataTable {
font-size: 1.8em;
}
h2 {
font-size: 1.4rem;
font-size: 1.4em;
}
.sidebar-collapse {
--sidebar-width: 230px;
Expand Down Expand Up @@ -2181,3 +2180,8 @@ td.highlight {
#advanced-settings-menu ul > li:not(.active) a {
color: #000;
}

.bstreeview .list-group-item {
padding-top: 0.2em;
padding-bottom: 0.55em;
}

0 comments on commit 8f730a4

Please sign in to comment.