Browse Source

fix search bars on android

pull/253/head
connors 11 years ago
parent
commit
dff3ea824b
  1. 5
      components.html
  2. 4
      dist/android-theme.css
  3. 3
      docs-assets/css/docs.css
  4. 2
      examples/app-default/index.html
  5. 7
      lib/sass/theme-android.scss

5
components.html

@ -317,7 +317,10 @@ base_url: "../"
<!-- Block button in standard bar fixed below top bar --> <!-- Block button in standard bar fixed below top bar -->
<div class="bar bar-standard bar-header-secondary"> <div class="bar bar-standard bar-header-secondary">
<a class="btn btn-block">Block level button</a> <!-- <a class="btn btn-block">Block level button</a> -->
<form>
<input type="search" placeholder="Search">
</form>
</div> </div>
{% endhighlight %} {% endhighlight %}

4
dist/android-theme.css vendored

@ -228,6 +228,10 @@ a:active {
margin-top: 13px; margin-top: 13px;
} }
.bar input[type="search"] {
height: 35px;
}
.badge.badge-inverted { .badge.badge-inverted {
color: #999999; color: #999999;
background-color: transparent; background-color: transparent;

3
docs-assets/css/docs.css

@ -1397,6 +1397,9 @@ hr {
.platform-android .bar .icon { .platform-android .bar .icon {
margin-top: 13px; margin-top: 13px;
} }
.platform-android .bar input[type="search"] {
height: 35px;
}
.platform-android .badge.badge-inverted { .platform-android .badge.badge-inverted {
color: #999999; color: #999999;
background-color: transparent; background-color: transparent;

2
examples/app-default/index.html

@ -8,7 +8,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css"> <link rel="stylesheet" href="../../dist/ratchet.css">
<!-- <link rel="stylesheet" href="../../dist/ios-theme.css"> --> <link rel="stylesheet" href="../../dist/android-theme.css">
<link rel="stylesheet" href="css/app.css"> <link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script> <script src="../../dist/ratchet.js"></script>
</head> </head>

7
lib/sass/theme-android.scss

@ -331,6 +331,13 @@ a {
margin-top: 13px; margin-top: 13px;
} }
// Standard bars with search forms
//
// Position/size search bar within the bar
.bar input[type="search"] {
height: 35px;
}
// Badges // Badges
// -------------------------------------------------- // --------------------------------------------------

Loading…
Cancel
Save