forked from e621ng/e621ng
[CSS] Clean up duplicate table classes
width: 100% is already part of the class. Remove duplicate classes .table/.striped and exclusivly use the more common one. Add this class to PostReportReasons/Help, which were missing it.
This commit is contained in:
parent
4ee284f215
commit
9afc1949fa
@ -1,5 +1,5 @@
|
||||
|
||||
table.table {
|
||||
table.striped {
|
||||
width: 100%;
|
||||
|
||||
// DText formatting fix
|
||||
@ -66,11 +66,6 @@ table.table {
|
||||
}
|
||||
}
|
||||
|
||||
// Needed so that unconverted tables work.
|
||||
table.striped {
|
||||
@extend .table;
|
||||
}
|
||||
|
||||
/*
|
||||
* A table where one column expands to fill the screen, while the
|
||||
* other columns shrink to fit their contents.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id="c-admin">
|
||||
<div id="a-alt-list">
|
||||
<table class="table">
|
||||
<table class="striped">
|
||||
<tbody>
|
||||
<% @alts.each do |u1, alt_ids| %>
|
||||
<tr class="alt-header" data-alt="<%= u1 %>">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<%= f.submit "Search" %>
|
||||
<% end %>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-<%= artist_versions_listing_type %>-listing">
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-index">
|
||||
<%= render "search" %>
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="45%">Primary Name</th>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Creator</th>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<h4>Deleted Posts</h4>
|
||||
|
||||
<table class='table'>
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Post</th>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<%= render "search" %>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>Recent Edits</h1>
|
||||
|
||||
<table class='striped' style='width:100%;'>
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<%= render "search" %>
|
||||
<h1>Email Blacklists</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User</th>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div id="c-forum-posts">
|
||||
<div id="a-index">
|
||||
<%= render "search" %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Topic</th>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<section id="content">
|
||||
<h2>Help Entries</h2>
|
||||
<div>
|
||||
<table id="help-table" class="valign rounded" style="width:800px;">
|
||||
<table id="help-table" class="striped" style="width:800px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:15%"></th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>IP Bans</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>IP Address</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-view">
|
||||
<h1>API Key</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>API Key</th>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<% if @meta_search.tags.blank? %>
|
||||
<p>No results</p>
|
||||
<% else %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
@ -47,7 +47,7 @@
|
||||
<% if @meta_search.tag_aliases.blank? %>
|
||||
<p>No results</p>
|
||||
<% else %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>From</th>
|
||||
@ -83,7 +83,7 @@
|
||||
<% if @meta_search.tag_implications.blank? %>
|
||||
<p>No results</p>
|
||||
<% else %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>From</th>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<%= render "search" %>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<%= f.submit "Search" %>
|
||||
<% end %>
|
||||
|
||||
<table class="striped autofit" width="100%">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Post</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>News Updates</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Creator</th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-revert-listing">
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-standard-listing">
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h1>Notes</h1>
|
||||
|
||||
<%= render "search" %>
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Post</th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-revert-listing">
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pool</th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-standard-listing">
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pool</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<%= render partial: "search", locals: {path: pools_path} %>
|
||||
<h2>Pools</h2>
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="5%"></th>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<%= f.submit "Search" %>
|
||||
<% end %>
|
||||
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="1%">Post</th>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<%= render "search" %>
|
||||
|
||||
<table width="100%" class="table autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Post</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>Post Favorites</h1>
|
||||
<%= PostPresenter.preview(@post) %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Favorited by</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h1>Flags</h1>
|
||||
<%= render "search" %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
<table width="100%" class="table">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="1%">Post</th>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<%= render "search" %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<table width="100%" class="striped autofit" style="max-width:100%">
|
||||
<table class="striped autofit" style="max-width:100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="1%">Post</th>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>Post Report Reasons</h1>
|
||||
|
||||
<table class='rounded' style='width:100%;'>
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -5,7 +5,7 @@
|
||||
<h2>Sets</h2>
|
||||
|
||||
<div id="set-index">
|
||||
<table width="100%" class="table striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30%">Name</th>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div id="c-takedowns">
|
||||
<div id="a-index">
|
||||
<%= render partial: 'search', locals: {path: takedowns_path} %>
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<%= render partial: 'search' %>
|
||||
|
||||
<h2>Ticket Center</h2>
|
||||
<table class="valign striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:5%">ID</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<%= render "search" %>
|
||||
<h1>Upload Whitelists</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pattern</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<%= render "uploads/search" %>
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<table width="100%" class="striped autofit">
|
||||
<table class="striped autofit">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Upload</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h1>User Feedback</h1>
|
||||
|
||||
<%= render "search" %>
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="15%">User</th>
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<h1>Name Change Requests</h1>
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>User</th>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<h1>Users</h1>
|
||||
|
||||
<%= render "search" %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div id="p-global-listing">
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id="p-page-listing">
|
||||
<%= form_tag(diff_wiki_page_versions_path, :method => :get) do %>
|
||||
<table width="100%" class="striped">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="3%"></th>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<h1>Wiki</h1>
|
||||
|
||||
<%= render "search" %>
|
||||
<table class="striped" width="100%">
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
|
Loading…
Reference in New Issue
Block a user