0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-21 08:50:29 +01:00

IMPROVE: move Pavilion icon to dedicated file and implementation standard

Dieser Commit ist enthalten in:
merefield 2023-11-17 09:08:56 +00:00
Ursprung 4fd128f471
Commit b0d91ccd3c
4 geänderte Dateien mit 33 neuen und 24 gelöschten Zeilen

Datei anzeigen

@ -4,29 +4,7 @@
@title={{this.title}}
{{did-insert this.update}}
>
<svg
width="300px"
height="300px"
viewBox="0 0 300 300"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<g
id="pavilion-logo"
stroke="none"
stroke-width="1"
fill="none"
fill-rule="evenodd"
>
<path
id="Combined-Shape"
stroke="currentColor"
stroke-width="35"
d="M41.1381822,291.00006 L40.5778853,130.009744 M258.850727,291.638415 L259.290397,130.37133 M36.0002279,140.721678 L139.995368,36.2122772 M263.350577,141.009083 L138.927245,16.2478517"
></path>
</g>
</svg>
{{d-icon "pavilion-logo"}}
<span>{{this.label}}</span>
</DButton>
<span class="loading-container">

Datei anzeigen

@ -938,7 +938,6 @@ $error: #ef1700;
display: inline-flex;
.btn-pavilion-support {
margin-left: 10px;
&:hover {
color: var(--pavilion-secondary);
}
@ -946,6 +945,19 @@ $error: #ef1700;
.wizard-subscription-badge {
margin-right: 5px;
svg {
margin-right: 0.45em;
}
&.none {
svg {
color: #919191;
}
}
&.community, &.standard, &.business {
svg {
color: #fff;
}
}
}
.loading-container {

Datei anzeigen

@ -12,6 +12,7 @@ gem "discourse_subscription_client", "0.1.0.pre15", require_name: "discourse_sub
gem 'discourse_plugin_statistics', '0.1.0.pre7', require: true
register_asset 'stylesheets/common/admin.scss'
register_asset 'stylesheets/common/wizard.scss'
register_svg_icon 'pavilion-logo'
enabled_site_setting :custom_wizard_enabled

18
svg-icons/plugin-icons.svg Normale Datei
Datei anzeigen

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<symbol
id="pavilion-logo"
viewBox="0 0 300 300"
stroke-width="35"
stroke="currentColor"
fill="currentColor"
>
<path
d="M41.1381822,291.00006 L40.5778853,130.009744 M258.850727,291.638415 L259.290397,130.37133 M36.0002279,140.721678 L139.995368,36.2122772 M263.350577,141.009083 L138.927245,16.2478517"
></path>
</symbol>
</svg>

Nachher

Breite:  |  Höhe:  |  Größe: 512 B