Skip to content

Commit

Permalink
Remove loading fontawesome 4
Browse files Browse the repository at this point in the history
  • Loading branch information
pineray committed Aug 17, 2022
1 parent 8fca2da commit 9e26a09
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 68 deletions.
78 changes: 47 additions & 31 deletions html/template/admin/assets/css/app.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion html/template/admin/assets/css/app.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion html/template/admin/assets/css/app.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion html/template/admin/assets/css/app.min.css.map

Large diffs are not rendered by default.

61 changes: 36 additions & 25 deletions html/template/admin/assets/scss/component/_directory.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,33 @@ Styleguide 7.0
//1層目
label {
&::before {
content: "\f147";
content: "\f146";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
}
}
label[data-toggle="collapse"] {
&::before {
content: "\f147";
content: "\f146";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
}
}

label.collapsed {
&::before {
content: "\f196";
content: "\f0fe";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
}
}
//2層目以降
Expand Down Expand Up @@ -70,33 +73,36 @@ Styleguide 7.0
}
label {
&::after {
content: "\f147";
content: "\f146";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
}
label[data-toggle="collapse"] {
&::after {
content: "\f147";
content: "\f146";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
}
label.collapsed {
&::after {
content: "\f196";
content: "\f0fe";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
Expand Down Expand Up @@ -191,30 +197,32 @@ Styleguide 7.2
//1層目
label {
&::before {
content: "\f114";
content: "\f07b";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
}
}
label[data-toggle="collapse"] {
&::before {
content: "\f115";
content: "\f07c";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;

font-weight: 400;
}
}
label.collapsed {
&::before {
content: "\f114";
content: "\f07b";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
}
}
//2層目以降
Expand Down Expand Up @@ -245,33 +253,36 @@ Styleguide 7.2
}
label {
&::after {
content: "\f114";
content: "\f07b";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
}
label[data-toggle="collapse"] {
&::after {
content: "\f115";
content: "\f07c";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
}
label.collapsed {
&::after {
content: "\f114";
content: "\f07b";
display: inline-block;
margin-right: .5em;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 16px;
font-weight: 400;
position: absolute;
left: 20px;
}
Expand Down
6 changes: 4 additions & 2 deletions html/template/admin/assets/scss/component/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ p 項目の内容はドラッグ&ドロップで変更可能です。

.delete-image {
display: none;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 18px;
font-weight: 400;
line-height: 1;
color: #54687A;
padding: 5px;
Expand All @@ -73,8 +74,9 @@ p 項目の内容はドラッグ&ドロップで変更可能です。

.delete-image {
display: inline-block;
font-family: FontAwesome;
font-family: 'Font Awesome 5 Free';
font-size: 18px;
font-weight: 400;
line-height: 1;
color: #54687A;
padding: 5px;
Expand Down
Loading

0 comments on commit 9e26a09

Please sign in to comment.