css: clean up various unnecessary css.
This commit is contained in:
@@ -130,7 +130,6 @@
|
||||
|
||||
--fetch-source-data-border: 1px solid #666;
|
||||
|
||||
--post-mode-menu-view-background: white;
|
||||
--post-mode-menu-edit-background: #5C5;
|
||||
--post-mode-menu-tag-script-background: #D6D;
|
||||
--post-mode-menu-add-fav-background: #FFA;
|
||||
@@ -382,7 +381,6 @@ body[data-user-theme="dark"] {
|
||||
--post-artist-commentary-container-background: var(--grey-3);
|
||||
--post-artist-commentary-container-border: 1px solid var(--grey-3);
|
||||
|
||||
--post-mode-menu-view-background: var(--body-background-color);
|
||||
--post-mode-menu-edit-background: var(--green-0);
|
||||
--post-mode-menu-tag-script-background: var(--indigo-0);
|
||||
--post-mode-menu-add-fav-background: var(--yellow-0);
|
||||
|
||||
@@ -1,21 +1,10 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
div#c-artists, div#excerpt {
|
||||
span.new-artist {
|
||||
font-weight: bold;
|
||||
color: var(--new-artist-color);
|
||||
}
|
||||
|
||||
ul ul {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
div.recent-posts {
|
||||
margin-top: 1em;
|
||||
|
||||
h1 {
|
||||
font-size: $h2_size;
|
||||
margin: 0;
|
||||
}
|
||||
.recent-posts h2 {
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
div#c-favorites {
|
||||
section#content > h1 {
|
||||
font-size: $h3_size;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,3 @@
|
||||
body.mode-view {
|
||||
background-color: var(--post-mode-menu-view-background);
|
||||
}
|
||||
|
||||
body.mode-edit {
|
||||
background-color: var(--post-mode-menu-edit-background);
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
div#c-post-versions {
|
||||
div#a-index {
|
||||
tr.hilite {
|
||||
background: var(--table-row-hover-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
#c-saved-searches {
|
||||
#a-index {
|
||||
table {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,11 +13,11 @@
|
||||
<%= yield %>
|
||||
|
||||
<div class="recent-posts">
|
||||
<h1>Recent Posts</h1>
|
||||
<h2>Recent Posts</h2>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<div style="margin: 1em 0;">
|
||||
<div>
|
||||
<%= @post_set.presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<% end %>
|
||||
<% if artist.domains.any? %>
|
||||
<li><strong>Domains</strong></li>
|
||||
<ul>
|
||||
<ul class="list-bulleted">
|
||||
<% artist.domains.each do |url, count| %>
|
||||
<li><%= url %>: <%= count %></li>
|
||||
<% end %>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @post_versions.each do |post_version| %>
|
||||
<tr id="post-version-<%= post_version.id %>" <% if params[:hilite].to_i == post_version.id %>class="hilite"<% end %>>
|
||||
<tr id="post-version-<%= post_version.id %>">
|
||||
<td><%= link_to("#{post_version.post_id}.#{post_version.id}", post_path(post_version.post_id)) %></td>
|
||||
<td><%= compact_time(post_version.updated_at) %></td>
|
||||
<td>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @post_versions.each do |post_version| %>
|
||||
<tr id="post-version-<%= post_version.id %>" <% if params[:hilite].to_i == post_version.id %>class="hilite"<% end %>>
|
||||
<tr id="post-version-<%= post_version.id %>">
|
||||
<td>
|
||||
<%= link_to("#{post_version.post_id}.#{post_version.id}", post_path(post_version.post_id)) %>
|
||||
<%= link_to "»", post_versions_path(search: {post_id: post_version.post_id}) %>
|
||||
|
||||
Reference in New Issue
Block a user