diff --git a/app/logical/sites/simple_definition.rb b/app/logical/sites/simple_definition.rb index 9bbbb3db..74aa4818 100644 --- a/app/logical/sites/simple_definition.rb +++ b/app/logical/sites/simple_definition.rb @@ -32,7 +32,7 @@ def handles_image_domain?(domain) end def icon_class - "site-icon-#{site_type.starts_with?('youtube') ? 'youtube' : site_type}" + "site-icon-#{site_type}" end def gallery_url(identifier) diff --git a/app/stylesheet/base/mixins.scss b/app/stylesheet/base/mixins.scss index e9013bdb..168fc8c5 100644 --- a/app/stylesheet/base/mixins.scss +++ b/app/stylesheet/base/mixins.scss @@ -47,7 +47,9 @@ $icons: ( "vkontakte" "weasyl" "ychart" - "youtube" + "youtube_channel" + "youtube_legacy" + "youtube_vanity" ); @mixin site_icon($icon_size) { diff --git a/public/icons/youtube.png b/public/icons/youtube_channel.png similarity index 100% rename from public/icons/youtube.png rename to public/icons/youtube_channel.png diff --git a/public/icons/youtube_legacy.png b/public/icons/youtube_legacy.png new file mode 100644 index 00000000..5ae83c7b Binary files /dev/null and b/public/icons/youtube_legacy.png differ diff --git a/public/icons/youtube_vanity.png b/public/icons/youtube_vanity.png new file mode 100644 index 00000000..5ae83c7b Binary files /dev/null and b/public/icons/youtube_vanity.png differ