fixes
This commit is contained in:
@@ -271,7 +271,7 @@ Danbooru.Note = {
|
||||
|
||||
$textarea = $('<textarea></textarea>');
|
||||
$textarea.css({
|
||||
width: "100%",
|
||||
width: "95%",
|
||||
height: "10em"
|
||||
});
|
||||
|
||||
|
||||
@@ -122,24 +122,15 @@ select:focus {
|
||||
outline: 1px dotted #666; // Select elements don't get box-shadow styles, so instead we do outline
|
||||
}
|
||||
|
||||
// button styles
|
||||
button, input[type="submit"] {
|
||||
// Sets the close button to the middle of message
|
||||
.close {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
// Base .btn styles
|
||||
button, input[type="submit"] {
|
||||
button, input[type="submit"], a.btn {
|
||||
// Button Base
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
@include vertical-three-colors-gradient(#fff, #fff, 25%, darken(#fff, 10%));
|
||||
padding: 3px 10px 3px;
|
||||
text-shadow: 0 1px 1px rgba(255,255,255,.75);
|
||||
color: #222;
|
||||
color: black;
|
||||
font-size: $basefont;
|
||||
line-height: normal;
|
||||
border: 1px solid #ccc;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
div.ui-dialog {
|
||||
overflow: visible;
|
||||
|
||||
ul {
|
||||
margin-left: 1em;
|
||||
margin-bottom: 1em;
|
||||
|
||||
@@ -28,7 +28,6 @@ header#top {
|
||||
li.current a {
|
||||
background: $menu_color;
|
||||
font-weight: bold;
|
||||
@include border-radius(4px 4px 0 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% if true || (post.is_flagged? || post.is_deleted?) && post.flags.any? %>
|
||||
<% if (post.is_flagged? || post.is_deleted?) && post.flags.any? %>
|
||||
<div class="ui-corner-all ui-state-highlight notice">
|
||||
This post has been flagged for deletion: <%= post_flag_reasons(post) %>
|
||||
</div>
|
||||
@@ -9,10 +9,10 @@
|
||||
This post is pending approval (<%= link_to "learn more", wiki_pages_path(:title => "help:post_moderation") %>)
|
||||
|
||||
<% if CurrentUser.is_janitor? && !post.disapproved_by?(CurrentUser.user) %>
|
||||
<span class="quick-mod">
|
||||
<%= link_to "Approve", moderator_post_approval_path(:post_id => post.id), :method => :post, :remote => true %>
|
||||
| <%= link_to "Disapprove", moderator_post_disapproval_path(:post_id => post.id), :method => :post, :remote => true %>
|
||||
</span>
|
||||
<div class="quick-mod">
|
||||
<%= link_to "Approve", moderator_post_approval_path(:post_id => post.id), :method => :post, :remote => true, :class => "btn" %>
|
||||
<%= link_to "Disapprove", moderator_post_disapproval_path(:post_id => post.id), :method => :post, :remote => true, :class => "btn" %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -118,9 +118,9 @@ drop table dmails_orig;
|
||||
alter table tag_subscriptions drop column id;
|
||||
alter table tag_subscriptions add column id serial primary key;
|
||||
|
||||
alter table favorites drop constraint fk_favorites__post;
|
||||
alter table favorites drop constraint fk_favorites__user;
|
||||
alter table favorites drop constraint favorites_pkey;
|
||||
-- alter table favorites drop constraint fk_favorites__post;
|
||||
-- alter table favorites drop constraint fk_favorites__user;
|
||||
-- alter table favorites drop constraint favorites_pkey;
|
||||
drop index idx_favorites__post;
|
||||
drop index idx_favorites__user;
|
||||
alter table favorites rename to favorites_orig;
|
||||
|
||||
Reference in New Issue
Block a user