Skip to content

Commit

Permalink
Merge branch 'manage-polymer2' into 'master'
Browse files Browse the repository at this point in the history
Manage polymer2

See merge request mistio/mist-list!29
  • Loading branch information
d-mo committed Nov 5, 2018
2 parents aec46aa + 3434a56 commit b9bb178
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mist-list",
"version": "1.6.0",
"version": "1.7.0",
"authors": [
"Dimitris Moraitis <[email protected]>",
"Christina Papakonstantinou <[email protected]>"
Expand Down Expand Up @@ -32,6 +32,6 @@
"iron-a11y-announcer": "^v2.0.0",
"iron-a11y-keys-behavior": "^v2.0.0",
"iron-scroll-target-behavior": "^v2.0.0",
"vaadin-grid": "master"
"vaadin-grid": "3.0.2"
}
}
13 changes: 10 additions & 3 deletions mist-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<link rel="import" href="../vaadin-context-menu/vaadin-context-menu.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../iron-icons/iron-icons.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-menu/paper-menu.html">
<link rel="import" href="../app-layout/app-layout.html">
Expand Down Expand Up @@ -48,7 +50,6 @@
--vaadin-grid-cell: {
cursor: pointer;
}
;
}

:host[toolbar] vaadin-grid {
Expand Down Expand Up @@ -221,6 +222,7 @@
margin-bottom: -56px;
color: #fff;
display: flex;
top: 0;
}

app-toolbar {
Expand Down Expand Up @@ -267,6 +269,11 @@
padding: 0 !important;
}

paper-input#filterName {
max-width: 100%;
width: calc(100% - 48px);
}

paper-input#searchInput {
margin-bottom: 16px;
margin-left: 8px;
Expand Down Expand Up @@ -341,8 +348,8 @@
<app-toolbar class$="preset-filters-[[combinedPresetFilters.length]]" hidden$=[[!toolbar]]>
<paper-icon-button icon="menu" drawer-toggle on-tap="_toggleDrawer" hidden$=[[!drawer]]></paper-icon-button>
<paper-menu-button id="presetFilters" horizontal-align="left" vertical-align="top" vertical-offset="40" hidden$="[[!combinedPresetFilters.length]]">
<paper-icon-button icon="icons:filter-list" class="dropdown-trigger" alt="select filter" title="Select preset filters"></paper-icon-button>
<paper-menu class="dropdown-content" attr-for-selected="id" selected="{{selectedPresetFilter}}">
<paper-icon-button icon="filter-list" slot="dropdown-trigger" class="dropdown-trigger" alt="select filter" title="Select preset filters"></paper-icon-button>
<paper-menu slot="dropdown-content" class="dropdown-content" attr-for-selected="id" selected="{{selectedPresetFilter}}">
<paper-item id="" class="filter all-items" on-tap="_clearFilter"><span>[[name]]</span></paper-item>
<template is="dom-repeat" items="[[combinedPresetFilters]]">
<paper-item id$="[[item.filter]]" class="filter"><span>[[item.name]]</span>
Expand Down

0 comments on commit b9bb178

Please sign in to comment.