mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42: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;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: block;
|
display: block;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
.html-thumbnail {
|
.html-thumbnail {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
|
@ -465,6 +466,9 @@
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
text-align: left;
|
||||||
|
width: 30%;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.html-thumbnail, .misc-icon {
|
.html-thumbnail, .misc-icon {
|
||||||
|
@ -492,10 +496,24 @@
|
||||||
}
|
}
|
||||||
.file > .overlay {
|
.file > .overlay {
|
||||||
border-radius: 3px;
|
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 {
|
.html-thumbnail > .overlay {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
.column {
|
||||||
|
float: left;
|
||||||
|
width: 15%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.site-actions {
|
.site-actions {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
|
@ -137,12 +137,15 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<a class="title">
|
<a class="title">
|
||||||
<% if file[:name].length > 19 %>
|
|
||||||
<%= file[:name].slice(0..18) %>…
|
|
||||||
<% else %>
|
|
||||||
<%= file[:name] %>
|
<%= file[:name] %>
|
||||||
<% end %>
|
|
||||||
</a>
|
</a>
|
||||||
|
<div class="column size">
|
||||||
|
5KB
|
||||||
|
</div>
|
||||||
|
<div class="column updated">
|
||||||
|
5/13/15
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
<% if file[:is_editable] %>
|
<% if file[:is_editable] %>
|
||||||
<a href="/site_files/text_editor<%= file[:path] %>"><i class="fa fa-edit" title="Edit"></i> Edit</a>
|
<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