Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

PUBLIC / surfer-okd

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 9716e5b6 authored 8 years ago by Johannes Zellner's avatar Johannes Zellner
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Only show item action buttons on hover

1 parent fea6789c
Show whitespace changes
Inline Side-by-side
Showing with 20 additions and 2 deletions
  • frontend/css/style.css
  • frontend/index.html
frontend/css/style.css
View file @9716e5b
......@@ -64,3 +64,16 @@ footer {
footer:hover {
opacity: 1;
}
th {
overflow: hidden;
}
.entry-toolbar {
opacity: 0;
transition: opacity .25s;
}
tr:hover .entry-toolbar {
opacity: 1;
}
This diff is collapsed. Click to expand it.
frontend/index.html
View file @9716e5b
......@@ -148,7 +148,7 @@
<th>Name</th>
<th>Size</th>
<th>Modified</th>
<th style="text-align: right;">Action</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
......@@ -166,7 +166,12 @@
<th>{{ entry.filePath }}</th>
<th>{{ entry.size | prettyFileSize }}</th>
<th><span v-my-tooltip="foobar" data-toggle="tooltip" title="{{ entry.mtime }}">{{ entry.mtime | prettyDate }}</span></th>
<th style="text-align: right;"><button class="btn btn-sm btn-danger" v-on:click.stop="delAsk(entry)"><i class="fa fa-trash"></i></button></th>
<th style="text-align: right;">
<span class="entry-toolbar">
<!-- <button class="btn btn-sm btn-default" v-on:click.stop="renameAsk(entry)" title="Rename"><i class="fa fa-pencil"></i></button> -->
<button class="btn btn-sm btn-danger" v-on:click.stop="delAsk(entry)" title="Delete"><i class="fa fa-trash"></i></button>
</span>
</th>
</tr>
</tbody>
</table>
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
  • Please register or sign in to post a comment