Browse Source

Fix segmented controller items

pull/214/head
connors 11 years ago
parent
commit
f57a25043f
  1. 11
      dist/ratchet.css
  2. 3
      lib/sass/segmented-controllers.scss

11
dist/ratchet.css vendored

@ -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;
}

3
lib/sass/segmented-controllers.scss

@ -51,6 +51,8 @@
}
}
}
}
.segmented-controller-item {
display: none;
@ -58,4 +60,3 @@
display: block;
}
}
}
Loading…
Cancel
Save