Browse Source

make android buttons bigger

pull/253/head
connors 11 years ago
parent
commit
ff8ea8412b
  1. 12
      components.html
  2. 19
      dist/android-theme.css
  3. 16
      docs-assets/css/docs.css
  4. 28
      lib/sass/theme-android.scss

12
components.html

@ -902,12 +902,6 @@ document
<div class="component-example"> <div class="component-example">
<div id="popover" class="popover"> <div id="popover" class="popover">
<header class="bar bar-nav"> <header class="bar bar-nav">
<a class="btn btn-link pull-left">
Left
</a>
<a class="btn btn-link pull-right">
Right
</a>
<h3 class="title">Popover title</h3> <h3 class="title">Popover title</h3>
</header> </header>
<ul class="table-view"> <ul class="table-view">
@ -926,12 +920,6 @@ document
{% highlight html %} {% highlight html %}
<div id="popover" class="popover"> <div id="popover" class="popover">
<header class="bar bar-nav"> <header class="bar bar-nav">
<a class="btn btn-link pull-left">
Left
</a>
<a class="btn btn-link pull-right">
Right
</a>
<h3 class="title">Popover title</h3> <h3 class="title">Popover title</h3>
</header> </header>
<ul class="table-view"> <ul class="table-view">

19
dist/android-theme.css vendored

@ -70,12 +70,6 @@ a {
text-align: left; text-align: left;
} }
.card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
}
.popover .bar { .popover .bar {
border-radius: 0; border-radius: 0;
} }
@ -83,6 +77,12 @@ a {
padding-top: 50px; padding-top: 50px;
} }
.card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
}
.table-view { .table-view {
background-color: transparent; background-color: transparent;
} }
@ -170,6 +170,8 @@ textarea,
} }
.btn { .btn {
padding: 8px 15px;
font-size: 14px;
color: #222222; color: #222222;
background-color: #cecece; background-color: #cecece;
border: 0; border: 0;
@ -281,6 +283,11 @@ textarea,
box-shadow: none; box-shadow: none;
} }
.btn-block {
padding: 15px 0;
font-size: 18px;
}
.bar-nav .btn-link { .bar-nav .btn-link {
color: #33b5e5; color: #33b5e5;
} }

16
docs-assets/css/docs.css

@ -1239,17 +1239,17 @@ hr {
line-height: 50px; line-height: 50px;
text-align: left; text-align: left;
} }
.platform-android .card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
}
.platform-android .popover .bar { .platform-android .popover .bar {
border-radius: 0; border-radius: 0;
} }
.platform-android .popover .bar ~ .table-view { .platform-android .popover .bar ~ .table-view {
padding-top: 50px; padding-top: 50px;
} }
.platform-android .card {
border-color: #d9d9d9;
border-radius: 2px;
background-color: transparent;
}
.platform-android .table-view { .platform-android .table-view {
background-color: transparent; background-color: transparent;
} }
@ -1327,6 +1327,8 @@ hr {
border-bottom: 0; border-bottom: 0;
} }
.platform-android .btn { .platform-android .btn {
padding: 8px 15px;
font-size: 14px;
color: #222222; color: #222222;
background-color: #cecece; background-color: #cecece;
border: 0; border: 0;
@ -1431,6 +1433,10 @@ hr {
background-color: transparent; background-color: transparent;
box-shadow: none; box-shadow: none;
} }
.platform-android .btn-block {
padding: 15px 0;
font-size: 18px;
}
.platform-android .bar-nav .btn-link { .platform-android .bar-nav .btn-link {
color: #33b5e5; color: #33b5e5;
} }

28
lib/sass/theme-android.scss

@ -113,6 +113,15 @@ a {
line-height: $bar-base-height; line-height: $bar-base-height;
text-align: left; text-align: left;
} }
// `bar-nav` in popovers
.popover {
.bar {
border-radius: 0;
}
.bar ~ .table-view {
padding-top: $bar-base-height;
}
}
// //
@ -125,15 +134,6 @@ a {
background-color: transparent; background-color: transparent;
} }
// `bar-nav` in popovers
.popover {
.bar {
border-radius: 0;
}
.bar ~ .table-view {
padding-top: $bar-base-height;
}
}
// Table views // Table views
// -------------------------------------------------- // --------------------------------------------------
@ -244,6 +244,8 @@ textarea,
// -------------------------------------------------- // --------------------------------------------------
.btn { .btn {
padding: 8px 15px;
font-size: 14px;
color: $text-color; color: $text-color;
background-color: #cecece; background-color: #cecece;
border: 0; border: 0;
@ -259,6 +261,7 @@ textarea,
box-shadow: inset 0 -1px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.2); box-shadow: inset 0 -1px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.2);
} }
} }
.bar { .bar {
.btn { .btn {
padding-top: 9px; padding-top: 9px;
@ -277,7 +280,6 @@ textarea,
} }
} }
// Other button types // Other button types
// -------------------------------------------------- // --------------------------------------------------
@ -385,6 +387,12 @@ textarea,
} }
} }
// Block buttons
.btn-block {
padding: 15px 0;
font-size: 18px;
}
// Buttons in nav bars // Buttons in nav bars
// -------------------------------------------------- // --------------------------------------------------

Loading…
Cancel
Save