From 431276b3f5f88a455814f33ce0f545aabfd0f531 Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 21 Dec 2013 13:28:11 -0800 Subject: [PATCH] refactoring the tab bar. holy crap what were we thinking? --- dist/ratchet.css | 16 ++----- index.html | 108 ++++++++++++++++++--------------------------- lib/sass/bars.scss | 15 ++----- 3 files changed, 48 insertions(+), 91 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index 32aa3c6..b765b46 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -342,29 +342,19 @@ strong { } .bar-tab { + display: table; bottom: 0; height: 50px; padding: 0; border-top: 1px solid #dddddd; } -.tab-inner { - display: -webkit-box; - display: box; - height: 100%; - padding: 0; - margin: 0; - list-style: none; - -webkit-box-orient: horizontal; - box-orient: horizontal; -} - .tab-item { + display: table-cell; height: 100%; + width: 1%; padding-top: 9px; text-align: center; - -webkit-box-flex: 1; - box-flex: 1; } .tab-item .tab-label, .tab-item .icon { diff --git a/index.html b/index.html index ecfcbb4..c296849 100644 --- a/index.html +++ b/index.html @@ -151,7 +151,7 @@ layout: default Right -