zulip/tools/lib
Steve Howell c0a6038a95 css: Enforce one selector per line.
While it's sometimes nice to put a few selectors on the same line,
it is generally better to have a consistent way of formatting our
selectors, and most of our code up until now lists them vertically.
This change fixes the linter to enforce one selector per line, and
it cleans up the places in the CSS where we had multiple selectors
on the same line.

The advantages of one-per-line are as followers:
    * cleaner diffs
    * easier to see when multiple areas of the app may have the
      same format
    * less likely to go over 80 cols
    * makes it more clear where we have deep nesting in the
      individual selectors
    * makes it easier for our linting tools to enforce
      whitespace violations

This also fixed an old bug where we had ".landing_page h2, h4", which
sets "h4" styles outside of the landing page.
2017-03-26 16:57:33 -07:00
..
__init__.py Extract tools/lib/template_parser.py. 2016-08-01 16:27:50 -07:00
api_tests.py lint: Clean up E712 PEP-8 rule. 2017-01-23 21:11:18 -08:00
capitalization.py Add Slack webhook. 2017-03-23 23:32:38 -07:00
css_parser.py css: Enforce one selector per line. 2017-03-26 16:57:33 -07:00
find_add_class.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
graph.py Add roadmap feature to js-dep-visualizer. 2017-03-21 07:39:30 -07:00
html_branches.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
html_grep.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
pretty_print.py linter: Add support for automatic checking for 4 space indents in HTML. 2017-03-14 14:50:16 -07:00
provision.py Add wrapper and log file output for provisioning. 2017-01-17 14:23:28 -08:00
sanity_check.py tools: Create more consistent checks for venv. 2017-02-06 21:50:32 -08:00
template_parser.py Enhance template parser for comments, Fix deep nesting in Jinja2. 2017-03-11 15:16:44 -08:00
test_script.py test_script: Use LooseVersion for version conparisons. 2017-03-25 19:49:03 -07:00
test_server.py Change bot domains to string_id.EXTERNAL_HOST. 2017-03-08 16:26:13 -08:00