Skip to content
Next Next commit
added button for new folder to interface
Signed-off-by: Florian Schunk <[email protected]>
  • Loading branch information
rummatee committed Jan 9, 2019
commit 74197462c0299a766b33289571dcbdc54b6eeabd
27 changes: 26 additions & 1 deletion core/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,6 @@ code {
position: relative;

.dirtree {
width: 100%;
flex-wrap: wrap;
padding-left: 12px;
padding-right: 44px;
Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions core/templates/filepicker.html
Original file line number Diff line number Diff line change
@@ -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">
Expand Down