mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
use display-flex() mixin
This commit is contained in:
10
dist/css/ionic.css
vendored
10
dist/css/ionic.css
vendored
@@ -2663,6 +2663,12 @@ a.subdued {
|
||||
* --------------------------------------------------
|
||||
*/
|
||||
.bar {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: -moz-box;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
@@ -2671,8 +2677,6 @@ a.subdued {
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
display: -webkit-box;
|
||||
display: box;
|
||||
box-sizing: border-box;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
@@ -2790,8 +2794,8 @@ a.subdued {
|
||||
font-size: 12px;
|
||||
line-height: 30px; }
|
||||
.bar .button .icon {
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
font-size: 24px;
|
||||
line-height: 30px; }
|
||||
.bar .button-bar > .button, .bar .buttons > .button {
|
||||
|
||||
@@ -5,14 +5,13 @@
|
||||
*/
|
||||
|
||||
.bar {
|
||||
@include display-flex();
|
||||
@include user-select(none);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
|
||||
display: -webkit-box;
|
||||
display: box;
|
||||
box-sizing: border-box;
|
||||
padding: $bar-padding-portrait;
|
||||
|
||||
@@ -44,6 +43,7 @@
|
||||
border: none;
|
||||
background: none;
|
||||
color: #fff;
|
||||
|
||||
.button {
|
||||
color: #fff;
|
||||
}
|
||||
@@ -123,8 +123,8 @@
|
||||
line-height: $button-bar-button-height - $button-border-width - 1;
|
||||
|
||||
.icon {
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
font-size: $button-bar-button-icon-size;
|
||||
line-height: $button-bar-button-height - $button-border-width - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user