/* General bar styles -------------------------------------------------- */ [class*="bar-"] { position: fixed; right: 0; left: 0; z-index: 10; height: 44px; padding: 5px; background-color: rgba(248,248,248,.98); border-bottom: 1px solid #adadad; box-sizing: border-box; } /* Modifier class to dock any bar below .bar-title */ .bar-header-secondary { top: 44px; } /* Modifier class to dock any bar to bottom of viewport */ .bar-footer { bottom: 0; } /* Flip border position to top for footer bars */ .bar-footer.bar-standard, .bar-footer-secondary.bar-standard { border-top: 1px solid #aaa; border-bottom-width: 0; } /* Title bar -------------------------------------------------- */ /* Bar docked to top of viewport for showing page title and actions */ .bar-title { top: 0; display: -webkit-box; display: box; -webkit-box-orient: horizontal; box-orient: horizontal; } /* Centered text in the .bar-title */ .bar-title .title { position: absolute; top: 0; left: 0; display: block; width: 100%; font-size: 18px; font-weight: 500; line-height: 44px; color: #000; text-align: center; white-space: nowrap; } .bar-title > a:not([class*="button"]) { display: block; width: 100%; height: 100%; } /* Retain specified title color */ .bar-title .title a { color: inherit; } /* Tab bar -------------------------------------------------- */ /* Bar docked to bottom used for primary app navigation */ .bar-tab { bottom: 0; height: 50px; padding: 0; border-top: 1px solid #adadad; border-bottom-width: 0; } /* Wrapper for individual tab */ .tab-inner { display: -webkit-box; display: box; height: 100%; list-style: none; -webkit-box-orient: horizontal; box-orient: horizontal; } /* Navigational tab */ .tab-item { height: 100%; padding-top: 9px; text-align: center; box-sizing: border-box; -webkit-box-flex: 1; box-flex: 1; } /* Icon for tab */ .tab-icon { display: block; height: 18px; margin: 0 auto; } /* Label for tab */ .tab-label { margin-top: 1px; font-size: 11px; font-weight: 400; color: #929292; } .tab-item.active .tab-label { color: #007aff; } /* Buttons in title bars -------------------------------------------------- */ /* Generic style for all buttons in .bar-title */ .bar-title [class*="button"] { position: relative; z-index: 10; /* Places buttons over full width title */ font-size: 16px; font-weight: 400; line-height: 29px; color: #007aff; border: 0; -webkit-box-flex: 0; box-flex: 0; } /* Hacky way to right align buttons outside of flex-box system Note: is only absolutely positioned button, would be better if flex-box had an "align right" option */ .bar-title .title + [class*="button"]:last-child, .bar-title .button + [class*="button"]:last-child, .bar-title [class*="button"].pull-right { position: absolute; top: 5px; right: 5px; } /* Override standard button active states */ .bar-title .button:active { opacity: .8; } /* Block buttons in any bar -------------------------------------------------- */ /* Add proper padding and replace buttons normal dropshadow with a shine from bar */ [class*="bar"] .button-block { padding: 7px 0; margin-bottom: 0; } /* Override standard padding changes for .button-blocks */ [class*="bar"] .button-block:active { padding: 7px 0; } /* Segmented controller in any bar -------------------------------------------------- */ /* Remove standard segmented bottom margin */ [class*="bar-"] .segmented-controller { margin-bottom: 0; } /* Add margins between segmented controllers and buttons */ [class*="bar-"] .segmented-controller + [class*="button"], [class*="bar-"] [class*="button"] + .segmented-controller { margin-left: 5px; } /* Segmented controller in a title bar -------------------------------------------------- */ .bar-title .segmented-controller { line-height: 18px; -webkit-box-flex: 1; box-flex: 1; } /* Search forms in standard bar -------------------------------------------------- */ /* Position/size search bar within the bar */ .bar-standard input[type=search] { height: 32px; margin: 0; }