mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fixed a bunch of alignment issues with files on the dashboard
This commit is contained in:
parent
fa3eba3a22
commit
5b1b1003a6
4 changed files with 12 additions and 8 deletions
|
@ -60,5 +60,5 @@ a{
|
|||
@import 'project-Footer'; // Project Specific Footer Styling
|
||||
|
||||
.alert{
|
||||
background-color:#F39C12; color:#fff;
|
||||
background-color:#F5BA00; color:#fff;
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
}
|
||||
.file {
|
||||
float: left;
|
||||
padding: 5px;
|
||||
padding: 5px 0px;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
width: 125px;
|
||||
|
@ -196,7 +196,11 @@
|
|||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
margin-top: 4px;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
.html-thumbnail {
|
||||
font-size: 11px;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -113,18 +113,18 @@
|
|||
<% end %>
|
||||
|
||||
<a class="title">
|
||||
<% if file.filename.length > 15 %>
|
||||
<%= file.filename.slice(0..15) %>…
|
||||
<% if file.filename.length > 14 %>
|
||||
<%= file.filename.slice(0..14) %>…
|
||||
<% else %>
|
||||
<%= file.filename %>
|
||||
<% end %>
|
||||
</a>
|
||||
<div class="overlay">
|
||||
<% if file.ext.match(/html|htm|txt|js|css|md/) %>
|
||||
<a href="/site_files/text_editor/<%= file.filename %>"><i class="icon-edit" style="margin-right: 10px" title="Edit"> Edit</i></a>
|
||||
<a href="/site_files/text_editor/<%= file.filename %>"><i class="icon-edit" title="Edit"> Edit</i></a>
|
||||
<% end %>
|
||||
<% if file.filename != 'index.html' %>
|
||||
<a href="#" onclick="confirmFileDelete('<%= file.filename %>')"><i class="icon-trash" style="margin-right: 10px" title="Delete"> Delete</i></a>
|
||||
<a href="#" onclick="confirmFileDelete('<%= file.filename %>')"><i class="icon-trash" title="Delete"> Delete</i></a>
|
||||
<% end %>
|
||||
<a class="link-overlay" href="http://<%= current_site.username %>.neocities.org/<%= file.filename %>" title="View <%= file.filename %>" target="_blank"></a>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue