Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polish sidebar #215

Merged
merged 7 commits into from
Jun 27, 2017
Merged

polish sidebar #215

merged 7 commits into from
Jun 27, 2017

Conversation

artemanufrij
Copy link
Member

Signed-off-by: Artem Anufrij artem.anufrij@live.de

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
@artemanufrij
Copy link
Member Author

Current design:
screenshot_20170624_003433

@artemanufrij artemanufrij self-assigned this Jun 23, 2017
@artemanufrij artemanufrij modified the milestones: 0.2.1, 0.3.0 Jun 23, 2017
@codecov
Copy link

codecov bot commented Jun 23, 2017

Codecov Report

Merging #215 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #215   +/-   ##
=======================================
  Coverage   76.56%   76.56%           
=======================================
  Files          33       33           
  Lines         973      973           
=======================================
  Hits          745      745           
  Misses        228      228

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
@artemanufrij
Copy link
Member Author

last version:
screenshot_20170626_215550

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Copy link
Member

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nitpicking comments ;)

Also what do you think about combining the two duedate fields like it is done in the calendar app:

2017-06-27-202529_283x127_scrot

@@ -28,54 +28,45 @@
<?php p($l->t('by')); ?>
<span>{{ cardservice.getCurrent().owner.displayname }}</span>
</div>

<h3 style="padding-top: 0px; margin-top: 0px;">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No inline styles please ;)

<?php p($l->t('Description')); ?>
<a href="https://github.com/nextcloud/deck/wiki/Markdown-Help" target="_blank" class="icon-help" title="<?php p($l->t('Formatting help')); ?>"></a>
<span class="save-indicator"><?php p($l->t('Saved')); ?></span>
<div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the need of two wrapping divs here? h3 is already a block element that could be used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for display: flex.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But we can just apply the flex styles to #card-meta h3 or am I missing something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

display: flex changes some margin/padding behavior. It looks some different in compare to standard h3

</div>


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈 👍

@@ -926,6 +954,9 @@ button.button-inline:hover {
margin-bottom: 0;
}

.tabsContainer {
margin-top: 15px;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing newline.

css/style.css Outdated
}

#card-meta .duedate .icon:hover {
opacity: 0.7;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really needed, since the hover effect is done by the icon-delete class.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but it doesn't change opacity. only color. for buttons we use always a different opacity on mouse over.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah i see. Ok fine then.

css/style.css Outdated
}

#card-meta .duedate .icon {
opacity: 0.3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would go to 0.5 opacity, since it should be default for all icons on nextcloud: nextcloud/server#5157

@juliushaertl juliushaertl mentioned this pull request Jun 27, 2017
@artemanufrij
Copy link
Member Author

@juliushaertl
like this:
screenshot_20170627_210514

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
Copy link
Member

@juliushaertl juliushaertl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me now 👍

@juliushaertl juliushaertl merged commit 1029a21 into master Jun 27, 2017
@juliushaertl juliushaertl deleted the polish-sidebar branch June 27, 2017 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants