//replace with your own css styling if desired //unnecessary if jquery is already loaded
Company
Company Find Us The Gander Express Company Newsletter Events
Products
Jobs
Blog
Gander

Riparian Data

Company
Company Find Us The Gander Express Company Newsletter Events
Products
Jobs
Blog
Gander
trello-development

trello-development

Trello Made Awesome Part I: Life in Technicolor

Our development team adopted Trello several months ago for managing our work on Gander. In this ongoing blog series, we'll talk about how we've made it work for us in several ways that, in our most humble of opinions, are even better than the default setup Trello gives you. Up first, some CSS.

Very nearly every card in our Trello board has a label on it. It's great that Trello lets us do this, but it becomes hard to distinguish the different colors, especially from across the room during standup, or after a long day of hacking on email. Enter Scott's custom stylesheet that turns a Trello board so colorful I've seen peacocks get jealous: (Install it with Stylish or Stylebot or your browser's equivalent.) Now, even with just a glance from across the room, it's easy to see what's going on. Which lists are green, which are red? The board is expressive enough that it even starts to take the place of a burndown chart. Instead of graphing how well we're doing, we can just eyeball the board: is it the right color for this far through the sprint?

We think everyone should be using Trello like this, no matter what else you do. It sounds like a tiny thing, and the first time you see a board full of blocks of color it seems jarring, but trust us, it's great.

(Scott's currently working on a v2 of this stylesheet that can display more than one color per card using some sweet CSS gradients. We promise to update this space when it's done.)

PostedJune 21, 2012
Authorsean
CategoriesGeneral Development
Tagscss, Project Management, Trello
5 CommentsPost a comment

Responsive Pagination with Kaminari

Since Gander has to play nice on all sort of screen sizes, I've been learning the basics of responsive design. This is what a simple Kaminari pagination element looks like after a little tweaking  so that it styles properly with Twitter Bootstrap:

This is great, except that as the browser width decreases, or someone uses a phone, it starts looking a little less pretty:

The way we're going to fix this is by shrinking the number of links on either side of the active page as the viewport width shrinks. The first step to this is to give each of the page links a class based on how far they are from the active page:

  • This gives us a set of selectors we can use in CSS to grab pairs of page links. .page.active will select the center link to the current page, .page.away-1 will select the page links directly to the left and right of the center.

    Now we can write some simple media queries to start dropping page links as the window gets smaller.

    @media (max-width: 900px) { .pagination .page.away-4 { display:none; } } @media (max-width: 825px) { .pagination .page.away-3 { display:none; } } @media (max-width: 750px) { .pagination .page.away-2 { display:none; } }

    The screen widths I used there kept the pagination on one line in the viewport when there were four digits in the page numbers. Here's what it looks like in action:

  • PostedApril 26, 2012
    Authorsean
    CategoriesGeneral Development, Uncategorized
    Tagscss, kaminari, responsive design
    1 CommentPost a comment
    Search
     
    • Mobile Advertising (1)
    • Email Design (2)
    • Network Analysis (2)
    • Intern Diaries (3)
    • Search (3)
    • Uncategorized (3)
    • Day in the Life of an Inbox (4)
    • Information Visualization (4)
    • New York Big Data (4)
    • Timberwolf (4)
    • Hadoop (5)
    • Mobile design (5)
    • Email Analytics (6)
    • Email Habits (7)
    • Mo' Data Mo' Problems (7)
    • Startup talk (8)
    • Behind the Data (10)
    • Boston Big Data (10)
    • Mobile Email (10)
    • Email Overload (15)
    • General Development (17)
    • Big Data (25)
    • Events (32)
     
    • awayfind
    • cloudera
    • contactually
    • couchdb
    • data science
    • Datameer
    • elasticsearch
    • email analytics
    • encryption
    • enron
    • gander
    • Hadoop
    • HBase
    • hdfs
    • hive
    • inbox love
    • java
    • mapreduce
    • MEC
    • Microsoft Exchange
    • microsoft exchange conference
    • programming internship
    • Project Management
    • ruby
    • Ruby on Rails
    • sanebox
    • sendgrid
    • solr
    • strata conference
    • Trello
    • twitter
    • Ubuntu
    • December 2012 (1)
    • November 2012 (11)
    • October 2012 (12)
    • September 2012 (11)
    • August 2012 (8)
    • July 2012 (11)
    • June 2012 (13)
    • May 2012 (11)
    • April 2012 (8)
    • March 2012 (11)
    • February 2012 (19)
    • ad min (2)
    • Cameron (2)
    • christina (3)
    • Claire Willett (75)
    • dmitri leonov (1)
    • elise (1)
    • Jim Stallings (5)
    • Nick (7)
    • paula (2)
    • ramon (1)
    • Scott (3)
    • sean (8)
    • wihl (6)

    Copyright 2012 © Riparian Data. All Rights Reserved.