From a13fad749e8a75025bb13de87f0170e1ea9e462d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Tue, 8 Dec 2015 16:18:44 -0500 Subject: Change the board import layout from a popup to a full page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit also removes the “import a single Trello card” as we couldn’t figure out some reasonable use case. We also create a new publication on the server to provide the minimal user profile informations required to display an avatar. --- client/components/import/import.styl | 42 ++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) (limited to 'client/components/import/import.styl') diff --git a/client/components/import/import.styl b/client/components/import/import.styl index 187ec6c4..a0de74bb 100644 --- a/client/components/import/import.styl +++ b/client/components/import/import.styl @@ -1,17 +1,47 @@ @import 'nib' .map-members - .mapping:first-of-type - border-top: solid 1px #999 - .mapping - padding: 10px 0 - border-bottom: solid 1px #999 - .source + &:after + content: ""; + flex: auto; + + .mapping-list + display: flex + flex-wrap: wrap + margin: 0 -4px + + .mapping-item + max-width: 300px + min-width: 200px + padding: 6px + margin: 5px + flex:1 + background: white + border-radius: 3px + box-shadow: 0 1px 2px rgba(0,0,0,.15) + + &:hover + background: darken(white, 5%) + + &.filled + background: #E0FFE5 + + &:hover + background: #FFE0E0 + + &.ghost-item + height: 0 + visibility: hidden + border: none + + .profile-source display: inline-block width: 80% + .wekan display: inline-block width: 35px + .member float: none -- cgit v1.2.3-1-g7c22