Use dots for pager

Bug #1653773 reported by Cassidy James Blaede
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Slingshot
Fix Released
Low
Danielle Foré

Bug Description

Instead of the relatively bulky number buttons for page switching, it'd be nice to have dots for the page. I imagine the active dot being the fg color and the inactive dot being around 50% opacity.

The buttons should remain the same size, just with a .flat class added.

Dan and I discussed that we could use two icons (active and inactive), a single symbolic icon with opacity on the inactive, or the bullet character (•) with the `dim-label` class for inactive buttons.

Related branches

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

I threw together a quick mockup in GIMP :)

Revision history for this message
Danielle Foré (danrabbit) wrote :

It looks like we have a class already for "switcher". We need a bit of custom CSS anyways because flat:active buttons are still depressed looking. So we could achieve the desired effect with something like:

.switcher {
    font-size: 16px;
    padding: 0;
    opacity: 0.5;
    border: none;
    box-shadow: none;
}

.switcher:checked {
    background-color: transparent;
    opacity: 1;
}

We also have to be careful about which bullet character we're using. One of them isn't completely round in the font. ∙ seems to be round while • is not.

Changed in slingshot:
status: New → Confirmed
importance: Undecided → Low
Changed in slingshot:
status: Confirmed → In Progress
assignee: nobody → Daniel Fore (danrabbit)
Changed in slingshot:
status: In Progress → Fix Committed
Changed in slingshot:
milestone: none → juno-beta1
Cody Garver (codygarver)
Changed in slingshot:
milestone: juno-beta1 → 2.1.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.