Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazot icon improvements #260

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<ItemGroup>
<EmbeddedResource Include="wwwroot\**\*" />
<Content Remove="wwwroot\icons\blazot.svg" />
<Content Update="**\*.cshtml" Pack="false" />
</ItemGroup>

Expand Down
9 changes: 0 additions & 9 deletions src/TagzApp.Providers.Blazot/wwwroot/css/blazot-admin.css

This file was deleted.

44 changes: 28 additions & 16 deletions src/TagzApp.Providers.Blazot/wwwroot/css/blazot.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
/* Extends bootstrap icons to include a Blazot icon in the card item. */
.bi-blazot {
width: 24px;
height: 36px;
background-position: right 0 top 0.06rem;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml;utf8, <svg version="1.1" id="BlazotRocketOnlyIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 42 42" enable-background="new 0 0 42 42" xml:space="preserve" fill="currentColor"><g id="Rocket"><path d="M28.4,26c1-0.7,2-1.6,3.1-2.7c8.2-8.5,6.7-20.1,6.7-20.1s-11.2-1.5-19.4,7c-1,1-1.8,2.1-2.6,3.1l-7,0.3l-5.5,9l8.4,1.5c-0.1,0.4-0.1,0.7-0.2,1.1l5,5.2c0.3-0.1,0.7-0.1,1-0.2l1.5,8.7l8.6-5.7L28.4,26zM25.5,16.4c-2.1-2.2-2.1-5.8,0-8s5.6-2.2,7.7,0s2.1,5.8,0,8S27.7,18.6,25.5,16.4z"/></g><g id="Flame"><path d="M13.4,28.9c-1.7-1.7-4-2.1-6,0c-2,2.1-3.8,6.4-2.8,9.2c2.9,1,6.8-0.8,8.8-2.9C15.4,33,15,30.6,13.4,28.9zM6.7,35.8c-0.5-1.9,0.7-4.9,2.1-6.3c1.4-1.5,3-1.3,4.1-0.2c1.1,1.1,1.3,2.8-0.2,4.3C11.4,35.1,8.7,36.4,6.7,35.8z"/></g></svg>');
}

/* Extends bootstrap icons to include a Blazot icon in the modal. */
div.modal .bi-blazot {
display: inline-block;
vertical-align: middle;
width: 24px;
height: 26px;
}
@font-face {
font-display: block;
font-family: 'bootstrap-blazot-icons';
src:
url('../fonts/bootstrap-blazot-icons.woff2?cc11dd1c41f63204054ef9d2f5666701')
format('woff2'),
url('../fonts/bootstrap-blazot-icons.woff?cc11dd1c41f63204054ef9d2f5666701')
format('woff');
}

.bi-blazot::before,
[class^='bi-blazot']::before,
[class*=' bi-blazot']::before {
display: inline-block;
font-family: bootstrap-blazot-icons !important;
font-style: normal;
font-weight: normal !important;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align: -0.125em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.bi-blazot::before {
content: '\f2a5';
}
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions src/TagzApp.Providers.Blazot/wwwroot/icons/blazot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/TagzApp.Web/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link rel="stylesheet" href="~/TagzApp.Web.styles.css" asp-append-version="true" />
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.min.css" />
<link rel="stylesheet" href="~/_content/TagzApp.Providers.Blazot/css/blazot.css" />
<link rel="stylesheet" href="~/_content/TagzApp.Providers.Blazot/css/blazot-admin.css" />

@await RenderSectionAsync("Styles", required: false)

Expand Down
Loading