Skip to content

Commit

Permalink
Upd: merge material-icons classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Jul 30, 2023
1 parent 59e5d41 commit ccc74e6
Showing 1 changed file with 17 additions and 46 deletions.
63 changes: 17 additions & 46 deletions htdocs/css/mympd.css
Original file line number Diff line number Diff line change
Expand Up @@ -535,22 +535,35 @@ div.card-toolbar > div {
src: url("../assets/MaterialIcons-Regular.woff2") format("woff2");
}

.mi {
.mi,
.sort-dir::before,
a.external::before,
a.download::before,
a.launch::before,
body.locked button.protected::before,
div.alert-warning::before,
div.alert-danger::before,
div.alert-secondary::before,
div.alert-success::before,
h4.offcanvas-title::before {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.4rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
vertical-align: top;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
}

.mi {
font-size: 1.4rem;
line-height: 1;
vertical-align: top;
}

.mi-sm {
font-size: 1rem;
}
Expand Down Expand Up @@ -883,34 +896,16 @@ input[type="color"] {
body.locked button.protected::before {
content: "lock";
float: left;
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.4rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
vertical-align: top;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
margin-right: 0.5rem;
}

a.external::before,
a.download::before,
a.launch::before {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.4rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
vertical-align: top;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
margin-right: 0.5rem;
}

Expand Down Expand Up @@ -962,16 +957,8 @@ button.select-inner-button {
}

.sort-dir::before {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.2rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
}

.sort-asc::before {
Expand All @@ -991,16 +978,8 @@ div.alert-danger::before,
div.alert-secondary::before,
div.alert-success::before {
float: left;
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.4rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
margin-right: 0.5rem;
}

Expand Down Expand Up @@ -1165,16 +1144,8 @@ body[data-uiState="disabled"] th,
}

h4.offcanvas-title::before {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
font-size: 1.4rem;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
text-rendering: optimizelegibility;
font-feature-settings: "liga";
margin-right: 0.5rem;
}

Expand Down

0 comments on commit ccc74e6

Please sign in to comment.