conflict fix

Conflicts:
	dist/ionic.css
	scss/ionic/_structure-variables.scss
This commit is contained in:
Adam Bradley
2013-09-09 19:09:52 -05:00
6 changed files with 63 additions and 84 deletions

View File

@@ -20,14 +20,19 @@ $roundedRadius: 5px;
// -------------------------------
$barHeight: 44px !default;
$barLineHeight: 44px !default;
$barButtonsLineHeight: 6px !default;
$barButtonLineHeight: 23px !default;
$barButtonBarLineHeight: 18px !default;
$barTitleFontSize: $fontSizeLarge;
$barTitleLineHeightComputed: 26px;//$barHeight - 2;
$barPaddingVertical: (($barHeight - $baseLineHeightComputed) / 2);
$barPaddingPortrait: 8px;
$barPaddingPortrait: 5px;
$barPaddingLandscape: 5px;
// Button bar stuff
// -------------------------------
$buttonBarButtonLineHeight: 15px !default;
// Forms
// -------------------------------
$textInputBorderRadius: 2px;

View File

@@ -65,7 +65,7 @@ $darkColor: #333;
// Buttons
// -------------------------------
$buttonColor: #222;
$buttonPadding: 10px 15px;
$buttonPadding: 4px 12px;
$buttonClearPadding: 10px 0px;
$buttonBorderRadius: 2px;
$buttonBorderWidth: 1px;

View File

@@ -3,6 +3,9 @@
.bar {
@include disable-user-select();
display: -webkit-box;
display: box;
position: fixed;
left: 0;
right: 0;
@@ -19,9 +22,9 @@
position: absolute;
z-index: 0;
width: 100%;
top: 0;
left: 0;
right: 0;
line-height: $barHeight;
@@ -44,41 +47,30 @@
color: inherit;
}
.button {
@include box-flex(0);
line-height: $barButtonLineHeight;
font-size: 12px;
}
.button-bar {
line-height: $barButtonBarLineHeight;
}
.button-bar + .button, .button + .button-bar {
margin-left: 5px;
}
// Place the last button in a bar on the right of the bar
/*
.title + .button:last-child,
.button + .button:last-child,
.button.pull-right {
> .button + .button:last-child,
> .button.pull-right {
position: absolute;
top: 5px;
right: 5px;
}
*/
}
.buttons {
position: absolute;
// Lift the buttons container above the title
z-index: 1;
padding: $barPaddingPortrait;
line-height: $barButtonsLineHeight;
.button {
padding: 6px 12px;
line-height: 14px;
}
}
.buttons:first-child {
left: 0;
top: 0;
}
.buttons:last-child {
right: 0;
top: 0;
}
// Header at top
.bar-header {

View File

@@ -75,9 +75,8 @@
.button-bar > .button {
@include box-flex(1);
// Fix for box-flex width issue
width: 0;
line-height: 8px;
line-height: $buttonBarButtonLineHeight;
border-radius: 0;
overflow: hidden;
@@ -88,6 +87,8 @@
border-width: 1px 0px 1px 1px;
padding: 8px 16px;
&:last-child {
border-right-width: 1px;
}