Browse Source

refining the android app

pull/253/head
connors 11 years ago
parent
commit
dcec8a91a8
  1. 6
      dist/android-theme.css
  2. 2
      dist/ratchet.css
  3. 6
      docs-assets/css/docs.css
  4. 5
      examples/app-android-notes/index.html
  5. 2
      lib/sass/bars.scss
  6. 8
      lib/sass/theme-android.scss

6
dist/android-theme.css vendored

@ -178,9 +178,6 @@ a:active {
.bar-tab .tab-item.active, .bar-tab .tab-item:active { .bar-tab .tab-item.active, .bar-tab .tab-item:active {
color: #33b5e5; color: #33b5e5;
} }
.bar-tab .tab-item .icon {
top: 2px;
}
.title { .title {
position: static; position: static;
@ -215,9 +212,6 @@ a:active {
color: #33b5e5; color: #33b5e5;
opacity: .6; opacity: .6;
} }
.bar-nav .btn-link .icon {
top: 2px;
}
.bar .segmented-control { .bar .segmented-control {
top: 7px; top: 7px;

2
dist/ratchet.css vendored

@ -543,7 +543,6 @@ input[type="button"] {
.bar-tab .tab-item .icon { .bar-tab .tab-item .icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
top: 2px;
} }
.bar-tab .tab-item .icon ~ .tab-label { .bar-tab .tab-item .icon ~ .tab-label {
display: block; display: block;
@ -614,6 +613,7 @@ input[type="button"] {
.bar .icon { .bar .icon {
position: relative; position: relative;
top: 2px;
z-index: 20; z-index: 20;
font-size: 24px; font-size: 24px;
} }

6
docs-assets/css/docs.css

@ -1357,9 +1357,6 @@ hr {
.platform-android .bar-tab .tab-item.active, .platform-android .bar-tab .tab-item:active { .platform-android .bar-tab .tab-item.active, .platform-android .bar-tab .tab-item:active {
color: #33b5e5; color: #33b5e5;
} }
.platform-android .bar-tab .tab-item .icon {
top: 2px;
}
.platform-android .title { .platform-android .title {
position: static; position: static;
padding-left: 15px; padding-left: 15px;
@ -1391,9 +1388,6 @@ hr {
color: #33b5e5; color: #33b5e5;
opacity: .6; opacity: .6;
} }
.platform-android .bar-nav .btn-link .icon {
top: 2px;
}
.platform-android .bar .segmented-control { .platform-android .bar .segmented-control {
top: 7px; top: 7px;
} }

5
examples/app-android-notes/index.html

@ -113,7 +113,10 @@
<div id="composeModal" class="modal"> <div id="composeModal" class="modal">
<header class="bar bar-nav"> <header class="bar bar-nav">
<a class="icon icon-close pull-right" href="#composeModal"></a> <a class="icon icon-close pull-right" href="#composeModal"></a>
<h1 class="title">Settings</h1> <h1 class="title">
<span class="icon icon-gear"></span>
Settings
</h1>
</header> </header>
<div class="content"> <div class="content">

2
lib/sass/bars.scss

@ -106,7 +106,6 @@
.icon { .icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
top: 2px;
// Make the label smaller if it's used with an icon // Make the label smaller if it's used with an icon
~ .tab-label { ~ .tab-label {
@ -213,6 +212,7 @@
.bar { .bar {
.icon { .icon {
position: relative; position: relative;
top: 2px;
z-index: 20; // Position the buttons on top of .title z-index: 20; // Position the buttons on top of .title
font-size: 24px; font-size: 24px;

8
lib/sass/theme-android.scss

@ -263,10 +263,6 @@ a {
&:active { &:active {
color: $primary-color; color: $primary-color;
} }
.icon {
top: 2px;
}
} }
} }
@ -311,10 +307,6 @@ a {
color: $primary-color; color: $primary-color;
opacity: .6; opacity: .6;
} }
// Position icons in link buttons correctly.
.icon {
top: 2px;
}
} }
} }

Loading…
Cancel
Save