From f57a25043f05023be236961d69f75597bec3df4b Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 14 Sep 2013 14:42:57 -0700 Subject: [PATCH] Fix segmented controller items --- dist/ratchet.css | 11 +++-------- lib/sass/segmented-controllers.scss | 11 ++++++----- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index aca5792..de18bbd 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -94,8 +94,6 @@ html { -webkit-text-size-adjust: 100%; } -/* Base styles --------------------------------------------------- */ body { position: fixed; top: 0; @@ -419,8 +417,6 @@ a { background-color: #f8f8f8; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1); - /* Rounding first divider on inset lists and remove border on the top */ - /* Rounding last divider on inset table views */ } .table-view .table-view-divider:first-child { top: 0; @@ -627,8 +623,6 @@ button.button-block { width: 100%; } -/* Counts in buttons --------------------------------------------------- */ [class*="button"] [class*="count"] { padding-top: 2px; padding-bottom: 2px; @@ -731,10 +725,11 @@ button.button-block { .segmented-controller li.active > a { color: #fff; } -.segmented-controller .segmented-controller-item { + +.segmented-controller-item { display: none; } -.segmented-controller .segmented-controller-item.active { +.segmented-controller-item.active { display: block; } diff --git a/lib/sass/segmented-controllers.scss b/lib/sass/segmented-controllers.scss index 629f085..b62e0a7 100644 --- a/lib/sass/segmented-controllers.scss +++ b/lib/sass/segmented-controllers.scss @@ -51,11 +51,12 @@ } } } - .segmented-controller-item { - display: none; +} - &.active { - display: block; - } +.segmented-controller-item { + display: none; + + &.active { + display: block; } } \ No newline at end of file