added button for new folder to interface

Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
This commit is contained in:
Florian Schunk 2018-12-14 12:35:15 +01:00
parent 8593edd66d
commit 74197462c0
2 changed files with 27 additions and 1 deletions

View File

@ -701,7 +701,6 @@ code {
position: relative;
.dirtree {
width: 100%;
flex-wrap: wrap;
padding-left: 12px;
padding-right: 44px;
@ -746,6 +745,32 @@ code {
#picker-showgridview:focus + #picker-view-toggle {
opacity: 1;
}
.actions.creatable {
flex-wrap: wrap;
padding: 0px;
box-sizing: border-box;
display: inline-flex;
float: none;
max-height: 44px;
background-color: var(--color-background-dark);
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius-pill);
position: static;
.icon.icon-add{
background-image: var(--icon-add-000);
background-size: 16px 16px;
max-height:44px;
}
a {
width: 44px;
padding: 0px;
position: static;
}
}
.filelist-container {
box-sizing: border-box;

View File

@ -1,5 +1,6 @@
<div id="{dialog_name}" title="{title}">
<span class="dirtree breadcrumb"></span>
<span class="actions creatable"><a href="#" class="icon icon-add button"></a></span>
<input type="checkbox" class="hidden-visually" id="picker-showgridview" checked="checked" />
<label id="picker-view-toggle" for="picker-showgridview" class="button icon-toggle-filelist"></label>
<div class="filelist-container">