discourse/app/views/common/_discourse_stylesheet.html.erb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
994 B
Plaintext
Raw Normal View History

<%= discourse_color_scheme_stylesheets %>
<%- if rtl? %>
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
<%- else %>
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
<%- end %>
2013-02-11 19:41:23 +08:00
<%- if staff? %>
<%- if rtl? %>
<%= discourse_stylesheet_link_tag(:admin_rtl) %>
<%- else %>
<%= discourse_stylesheet_link_tag(:admin) %>
<%- end %>
<%- end %>
<%- if admin? %>
<%- if rtl? %>
<%= discourse_stylesheet_link_tag(:wizard_rtl) %>
<%- else %>
<%= discourse_stylesheet_link_tag(:wizard) %>
<%- end %>
<%- end %>
<%- Discourse.find_plugin_css_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, mobile_view: mobile_view?, desktop_view: !mobile_view?, request: request, rtl: rtl?).each do |file| %>
<%= discourse_stylesheet_link_tag(file) %>
<%- end %>
<%- if theme_id.present? %>
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
<%- end %>