mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Style edits (#19927)
This commit is contained in:
@@ -9,12 +9,9 @@
|
||||
<%= theme_lookup("head_tag") %>
|
||||
<%= render_google_universal_analytics_code %>
|
||||
<%= yield :head %>
|
||||
<% if show_browser_update? %>
|
||||
<style>.buorg {position:absolute; z-index:111111; width:100%; top:0px; left:0px; background:#FDF2AB; text-align:left; font-family: sans-serif; color:#000; font-size: 14px;} .buorg div {padding: 8px;} .buorg a, .buorg a:visited {color:#E25600; text-decoration: underline;} @media print { .buorg { display: none !important; } }</style>
|
||||
<% end %>
|
||||
<%= build_plugin_html 'server:before-head-close-crawler' %>
|
||||
</head>
|
||||
<body class="crawler">
|
||||
<body class="crawler <% if show_browser_update? %>browser-update<% end %>">
|
||||
<%= theme_lookup("header") %>
|
||||
<%= render partial: "layouts/noscript_header" %>
|
||||
<div id="main-outlet" class="wrap" role="main">
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<div itemscope itemtype='http://schema.org/ItemList'>
|
||||
<div class="topic-list-container" itemscope itemtype='http://schema.org/ItemList'>
|
||||
<meta itemprop='itemListOrder' content='http://schema.org/ItemListOrderDescending'>
|
||||
|
||||
<table class='topic-list'>
|
||||
@@ -109,7 +109,7 @@
|
||||
</div>
|
||||
|
||||
<% if @list.topics.length > 0 && @list.more_topics_url %>
|
||||
<div role='navigation' itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
||||
<div class="navigation" role='navigation' itemscope itemtype='http://schema.org/SiteNavigationElement'>
|
||||
<% if params[:page].to_i > 0 %>
|
||||
<span itemprop='name'><a href='<%= @list.prev_topics_url %>' rel='prev' itemprop='url'><%= t 'prev_page' %></a> </span>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user