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

18 lines
530 B
Text
Raw Normal View History

<%- unless SiteCustomization.override_default_style(session[:preview_style]) %>
<% if mobile_view? %>
<%= stylesheet_link_tag "mobile" %>
<%= stylesheet_link_tag "plugins_mobile" %>
<% else %>
<%= stylesheet_link_tag "desktop" %>
<%= stylesheet_link_tag "plugins" %>
<% end %>
<%- end %>
2013-02-11 06:41:23 -05:00
<%- if staff? %>
<%= stylesheet_link_tag "admin"%>
<%- end %>
<%- unless customization_disabled? %>
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>