mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
start tab icon alignment options
This commit is contained in:
74
dist/css/ionic.css
vendored
74
dist/css/ionic.css
vendored
@@ -1945,22 +1945,22 @@ a.subdued {
|
||||
* A navigation bar with any number of tab items supported.
|
||||
*/
|
||||
.tabs {
|
||||
font-size: 16px;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
z-index: 5;
|
||||
box-orient: horizontal;
|
||||
-webkit-box-orient: horizontal;
|
||||
-moz-box-orient: horizontal;
|
||||
display: -webkit-box;
|
||||
display: box;
|
||||
border-top-width: 1px;
|
||||
border-style: solid;
|
||||
background-color: white;
|
||||
border-color: #dddddd;
|
||||
color: #333333; }
|
||||
color: #333333;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
z-index: 5;
|
||||
display: -webkit-box;
|
||||
display: box;
|
||||
width: 100%;
|
||||
height: 49px;
|
||||
border-style: solid;
|
||||
border-top-width: 1px;
|
||||
font-size: 16px; }
|
||||
.tabs.tabs-default {
|
||||
background-color: white;
|
||||
border-color: #dddddd;
|
||||
@@ -1998,25 +1998,52 @@ a.subdued {
|
||||
top: 44px; }
|
||||
|
||||
.tab-item {
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 100%;
|
||||
box-flex: 1;
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
padding-top: 4px;
|
||||
width: 0;
|
||||
height: 100%;
|
||||
color: inherit;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 10px;
|
||||
color: inherit;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
opacity: 0.7; }
|
||||
.tab-item i {
|
||||
font-size: 32px; }
|
||||
|
||||
.tabs-icon-top .tab-item,
|
||||
.tabs-icon-right .tab-item,
|
||||
.tabs-icon-bottom .tab-item,
|
||||
.tabs-icon-left .tab-item {
|
||||
position: relative;
|
||||
padding-top: 0;
|
||||
font-size: 10px; }
|
||||
|
||||
.tabs-icon-left .tab-item i {
|
||||
position: absolute;
|
||||
left: 4px;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center; }
|
||||
|
||||
.tabs-icon-right .tab-item i {
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center; }
|
||||
|
||||
/* Icon for tab */
|
||||
.tab-item i {
|
||||
display: block;
|
||||
margin: 1px auto -3px auto;
|
||||
font-size: 32px; }
|
||||
|
||||
/* Navigational tab */
|
||||
/* Active state for tab */
|
||||
@@ -2037,11 +2064,6 @@ a.subdued {
|
||||
.tab-item.active.tab-item-dark, .tab-item:active.tab-item-dark {
|
||||
color: #444444; }
|
||||
|
||||
/* Icon for tab */
|
||||
.tab-item i {
|
||||
display: block;
|
||||
margin: 1px auto -3px auto; }
|
||||
|
||||
/* Label for tab */
|
||||
.tab-label {
|
||||
margin-top: 1px;
|
||||
|
||||
Reference in New Issue
Block a user