Files
ionic-framework/dist/framework-with-theme.css
2013-08-23 16:38:34 -05:00

177 lines
3.5 KiB
CSS

@charset "UTF-8";
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }
body {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
font: 14px/1.25 "Helvetica Neue", sans-serif; }
a {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
ul {
margin: 0;
padding: 0; }
.content {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: auto;
background-color: #fff;
-webkit-overflow-scrolling: touch; }
/* Hack to force all relatively and absolutely positioned elements still render while scrolling
Note: This is a bug for "-webkit-overflow-scrolling: touch" (via ratchet) */
.content > * {
-webkit-transform: translateZ(0px);
transform: translateZ(0px); }
.bar {
position: fixed;
right: 0;
left: 0;
z-index: 10;
display: -webkit-box;
display: box;
-webkit-box-orient: horizontal;
box-orient: horizontal;
box-sizing: border-box;
height: 50px;
/*
.title + .button:last-child,
.button + .button:last-child,
.button.pull-right {
position: absolute;
top: 5px;
right: 5px;
}
*/ }
.bar .title {
/*
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
*/
line-height: 20px;
margin: 0;
padding: 15px 0px;
text-align: center;
white-space: nowrap;
font-size: 18px;
-webkit-box-flex: 3;
-moz-box-flex: 3;
box-flex: 3; }
.bar .title a {
color: inherit; }
.bar .button {
-webkit-box-flex: 0;
-moz-box-flex: 0;
box-flex: 0; }
.bar-header {
top: 0; }
.bar-footer {
bottom: 0; }
/* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
Note: For these to work, content must come after both bars in the markup */
.bar ~ .content {
top: 50px; }
.bar ~ .content {
bottom: 51px; }
.button {
position: relative;
display: inline-block;
vertical-align: middle;
text-align: center;
cursor: pointer;
margin: 0; }
.list {
margin-bottom: 20px;
padding-left: 0; }
.list-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
border: 1px solid #dddddd; }
.list-item:last-child {
margin-bottom: 0; }
.list-item > .badge {
float: right; }
.list-item > i:last-child {
float: right; }
.list-item > .badge + .badge {
margin-right: 5px; }
.list-item.active, .list-item.active:hover, .list-item.active:focus {
z-index: 2; }
.list-item.active .list-item-heading, .list-item.active:hover .list-item-heading, .list-item.active:focus .list-item-heading {
color: inherit; }
a.list-item:hover, a.list-item:focus {
text-decoration: none; }
.list-divider {
padding: 5px 15px; }
.list-item-heading {
margin-top: 0;
margin-bottom: 5px; }
.list-item-text {
margin-bottom: 0;
line-height: 1.3; }
.bar {
background-color: white;
border-style: solid;
border-width: 0;
padding: 10px;
/*
Disabled temporarily because it's annoying for testing.
@media screen and (orientation : landscape) {
padding: $barPaddingLandscape;
}
*/ }
.bar.bar-header {
border-bottom-width: 1px; }
.bar.bar-footer {
border-top-width: 1px; }
.bar.bar-default {
background-color: white;
border-color: #dddddd; }
.bar.bar-secondary {
background-color: whitesmoke;
border-color: #cccccc; }
.button {
color: #222222;
border-radius: 2px;
padding: 10px 10px; }
.button-default {
background-color: white;
border: 1px solid #dddddd; }
.button-default:active {
background-color: #eeeeee; }
.list-divider {
background-color: whitesmoke;
color: #222222;
font-weight: bold; }