fixed width icons
This commit is contained in:
parent
c36f7f85f1
commit
956e9279d3
2 changed files with 17 additions and 17 deletions
|
@ -226,14 +226,6 @@ li.btn.btn-default.pill:active,li.btn.btn-default.pill:focus,li.btn.btn-default.
|
|||
border-left: 4px solid #bbbbbb !important;
|
||||
}
|
||||
|
||||
.dropdown-menu > li.bg-danger > a,
|
||||
.dropdown-menu > li.bg-info > a,
|
||||
.dropdown-menu > li.bg-success > a,
|
||||
.dropdown-menu > li.bg-warning > a,
|
||||
.dropdown-menu > li.bg-default > a {
|
||||
padding-left: 11px !important;
|
||||
}
|
||||
|
||||
.success.pulsate {
|
||||
animation: pulse 3s infinite;
|
||||
}
|
||||
|
@ -254,3 +246,11 @@ li.btn.btn-default.pill:active,li.btn.btn-default.pill:focus,li.btn.btn-default.
|
|||
#fileOptionMenu li.divider {
|
||||
margin: 4.5px 0 !important;
|
||||
}
|
||||
|
||||
#fileOptionMenu > li.bg-danger > a,
|
||||
#fileOptionMenu > li.bg-info > a,
|
||||
#fileOptionMenu > li.bg-success > a,
|
||||
#fileOptionMenu > li.bg-warning > a,
|
||||
#fileOptionMenu > li.bg-default > a {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
|
|
@ -41,17 +41,17 @@ class ContextMenuClass {
|
|||
newFilePath = `${currentPath}${currentName}`;
|
||||
}
|
||||
return '<ul id="fileOptionMenu" class="dropdown-menu" role="menu" style="display:none" > \
|
||||
<li data-action="move"><a tabindex="-1" href="#"><i class="fa fa-arrow-right"></i> Move</a></li> \
|
||||
<li data-action="copy"><a tabindex="-1" href="#"><i class="fa fa-clone"></i> Copy</a></li> \
|
||||
<li data-action="rename"><a tabindex="-1" href="#"><i class="fa fa-pencil-square-o"></i> Rename</a></li> \
|
||||
<li data-action="compress" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-file-archive-o"></i> Compress</a></li> \
|
||||
<li data-action="decompress" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-expand"></i> Decompress</a></li> \
|
||||
<li data-action="move"><a tabindex="-1" href="#"><i class="fa fa-fw fa-arrow-right"></i> Move</a></li> \
|
||||
<li data-action="copy"><a tabindex="-1" href="#"><i class="fa fa-fw fa-clone"></i> Copy</a></li> \
|
||||
<li data-action="rename"><a tabindex="-1" href="#"><i class="fa fa-fw fa-pencil-square-o"></i> Rename</a></li> \
|
||||
<li data-action="compress" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-fw fa-file-archive-o"></i> Compress</a></li> \
|
||||
<li data-action="decompress" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-fw fa-expand"></i> Decompress</a></li> \
|
||||
<li class="divider"></li> \
|
||||
<li data-action="file"><a href="/server/{{ $server->uuidShort }}/files/add/?dir=' + newFilePath + '" class="text-muted"><i class="fa fa-plus"></i> New File</a></li> \
|
||||
<li data-action="folder"><a tabindex="-1" href="#"><i class="fa fa-folder"></i> New Folder</a></li> \
|
||||
<li data-action="file"><a href="/server/{{ $server->uuidShort }}/files/add/?dir=' + newFilePath + '" class="text-muted"><i class="fa fa-fw fa-plus"></i> New File</a></li> \
|
||||
<li data-action="folder"><a tabindex="-1" href="#"><i class="fa fa-fw fa-folder"></i> New Folder</a></li> \
|
||||
<li class="divider"></li> \
|
||||
<li data-action="download" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-download"></i> Download</a></li> \
|
||||
<li data-action="delete" class="bg-danger"><a tabindex="-1" href="#"><i class="fa fa-trash-o"></i> Delete</a></li> \
|
||||
<li data-action="download" class="hidden"><a tabindex="-1" href="#"><i class="fa fa-fw fa-download"></i> Download</a></li> \
|
||||
<li data-action="delete" class="bg-danger"><a tabindex="-1" href="#"><i class="fa fa-fw fa-trash-o"></i> Delete</a></li> \
|
||||
</ul>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue