Browse Source

simplifiy bars

pull/245/head
connors 11 years ago
parent
commit
d3376b25dd
  1. 2
      _includes/header.html
  2. 7
      dist/ratchet.css
  3. 6
      lib/sass/bars.scss
  4. 3
      lib/sass/buttons.scss
  5. 4
      lib/sass/segmented-controllers.scss

2
_includes/header.html

@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<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="assets/css/docs.css">
<link rel="stylesheet" href="assets/css/pygments.css">
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

7
dist/ratchet.css vendored

@ -292,7 +292,8 @@ strong {
left: 0;
z-index: 10;
height: 44px;
padding: 5px 10px;
padding-right: 10px;
padding-left: 10px;
border-bottom: 1px solid #dddddd;
background-color: white;
}
@ -314,9 +315,6 @@ strong {
}
.title {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
padding: 0;
@ -691,7 +689,6 @@ select {
position: relative;
z-index: 10;
padding: 0;
margin-top: -5px;
font-size: 16px;
font-weight: 400;
line-height: 44px;

6
lib/sass/bars.scss

@ -8,7 +8,8 @@
left: 0;
z-index: 10;
height: $bar-base-height;
padding: 5px $bar-side-spacing;
padding-right: $bar-side-spacing;
padding-left: $bar-side-spacing;
border-bottom: $border-default;
background-color: $chrome-color;
@ -45,9 +46,6 @@
// Centered text in the .bar-nav
.title {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
padding: 0;

3
lib/sass/buttons.scss

@ -110,14 +110,13 @@
position: relative;
z-index: 10; // Places buttons over full width title
padding: 0;
margin-top: -5px; // Offsets the bar's vertical padding
font-size: 16px;
font-weight: $font-weight-light;
line-height: $bar-base-height;
color: $primary-color;
background-color: transparent;
border: 0;
&.pull-right {
margin-left: $bar-side-spacing;
}

4
lib/sass/segmented-controllers.scss

@ -69,7 +69,5 @@
// Remove standard segmented bottom margin
[class*="bar-"] .segmented-controller {
margin-top: 3px;
margin-right: auto;
margin-left: auto;
margin: 8px auto 0;
}

Loading…
Cancel
Save