mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge branch 'dashboard_list' of github.com:neocities/neocities into dashboard_list
This commit is contained in:
commit
097f17358e
2 changed files with 26 additions and 5 deletions
|
@ -360,6 +360,7 @@
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.html-thumbnail {
|
||||
font-size: 11px;
|
||||
|
@ -465,6 +466,9 @@
|
|||
margin-top: 2px;
|
||||
float: left;
|
||||
font-size: 13px;
|
||||
text-align: left;
|
||||
width: 30%;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
.html-thumbnail, .misc-icon {
|
||||
|
@ -492,10 +496,24 @@
|
|||
}
|
||||
.file > .overlay {
|
||||
border-radius: 3px;
|
||||
padding-top: 3px;
|
||||
text-align: right;
|
||||
background-color: transparent;
|
||||
display: block;
|
||||
|
||||
a {
|
||||
color: #e93250;
|
||||
display: inline;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
.html-thumbnail > .overlay {
|
||||
background-color: transparent;
|
||||
}
|
||||
.column {
|
||||
float: left;
|
||||
width: 15%;
|
||||
}
|
||||
}
|
||||
.site-actions {
|
||||
float: left;
|
||||
|
|
|
@ -137,12 +137,15 @@
|
|||
<% end %>
|
||||
|
||||
<a class="title">
|
||||
<% if file[:name].length > 19 %>
|
||||
<%= file[:name].slice(0..18) %>…
|
||||
<% else %>
|
||||
<%= file[:name] %>
|
||||
<% end %>
|
||||
</a>
|
||||
<div class="column size">
|
||||
5KB
|
||||
</div>
|
||||
<div class="column updated">
|
||||
5/13/15
|
||||
</div>
|
||||
|
||||
<div class="overlay">
|
||||
<% if file[:is_editable] %>
|
||||
<a href="/site_files/text_editor<%= file[:path] %>"><i class="fa fa-edit" title="Edit"></i> Edit</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue