mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Added border radius to button bar items. Fixes #48
This commit is contained in:
5
dist/css/ionic-ios7.css
vendored
5
dist/css/ionic-ios7.css
vendored
@ -2037,8 +2037,11 @@ a.button {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
line-height: 15px; }
|
line-height: 15px; }
|
||||||
|
.button-bar > .button:first-child {
|
||||||
|
border-radius: 2px 0px 0px 2px; }
|
||||||
.button-bar > .button:last-child {
|
.button-bar > .button:last-child {
|
||||||
border-right-width: 1px; }
|
border-right-width: 1px;
|
||||||
|
border-radius: 0px 2px 2px 0px; }
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
box-flex: 1;
|
box-flex: 1;
|
||||||
|
|||||||
5
dist/css/ionic-scoped.css
vendored
5
dist/css/ionic-scoped.css
vendored
@ -2729,8 +2729,11 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
line-height: 15px; }
|
line-height: 15px; }
|
||||||
|
.ionic .button-bar > .button:first-child {
|
||||||
|
border-radius: 2px 0px 0px 2px; }
|
||||||
.ionic .button-bar > .button:last-child {
|
.ionic .button-bar > .button:last-child {
|
||||||
border-right-width: 1px; }
|
border-right-width: 1px;
|
||||||
|
border-radius: 0px 2px 2px 0px; }
|
||||||
.ionic .buttons {
|
.ionic .buttons {
|
||||||
box-flex: 1;
|
box-flex: 1;
|
||||||
-webkit-box-flex: 1;
|
-webkit-box-flex: 1;
|
||||||
|
|||||||
5
dist/css/ionic.css
vendored
5
dist/css/ionic.css
vendored
@ -3258,8 +3258,11 @@ a.button {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
line-height: 15px; }
|
line-height: 15px; }
|
||||||
|
.button-bar > .button:first-child {
|
||||||
|
border-radius: 2px 0px 0px 2px; }
|
||||||
.button-bar > .button:last-child {
|
.button-bar > .button:last-child {
|
||||||
border-right-width: 1px; }
|
border-right-width: 1px;
|
||||||
|
border-radius: 0px 2px 2px 0px; }
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
box-flex: 1;
|
box-flex: 1;
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
.button-bar {
|
.button-bar {
|
||||||
@include box-flex(1);
|
@include box-flex(1);
|
||||||
@include box-orient(horizontal);
|
@include box-orient(horizontal);
|
||||||
@ -26,8 +25,12 @@
|
|||||||
|
|
||||||
line-height: $button-bar-button-line-height;
|
line-height: $button-bar-button-line-height;
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
border-radius: 2px 0px 0px 2px;
|
||||||
|
}
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border-right-width: 1px;
|
border-right-width: 1px;
|
||||||
|
border-radius: 0px 2px 2px 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user