arXiv / arxiv-submission-ui

User interface of NG submit system.
MIT License
2 stars 6 forks source link

ARXIVNG-1213 Zebra striping on file display tree #37

Closed eawoods closed 6 years ago

eawoods commented 6 years ago

Added some styling to do alternating stripes, color configurable with a single SASS variable. There are a few artifacts that can get awkward - if a directory is an odd row, the top row of the subdirectory will also be odd and there's an extra line of white. I added some padding at the top and bottom of the subdirectories to visually define the subdirectory a bit. See screenshots.

Normal file view

screen shot 2018-10-03 at 12 55 29 pm

Example of awkward nesting

screen shot 2018-10-03 at 12 00 07 pm

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 340


Totals Coverage Status
Change from base Build 333: 0.0%
Covered Lines: 1119
Relevant Lines: 1597

💛 - Coveralls
eawoods commented 6 years ago

@DavidLFielding try it now - you may have to do a hard refresh (command-shift-R) to get the style sheet to reload. I used #E8E8E8 and am interested if that's not too subtle. It's a bit less harsh than #DDD.

CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: eawoods
:x: David Fielding


David Fielding seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

DavidLFielding commented 6 years ago

Striping looks great!