mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Tab bar icons
This commit is contained in:
12
dist/framework-with-theme.css
vendored
12
dist/framework-with-theme.css
vendored
@@ -55,7 +55,7 @@ ul {
|
||||
-webkit-box-orient: horizontal;
|
||||
box-orient: horizontal;
|
||||
box-sizing: border-box;
|
||||
height: 98px;
|
||||
height: 60px;
|
||||
/*
|
||||
.title + .button:last-child,
|
||||
.button + .button:last-child,
|
||||
@@ -75,7 +75,7 @@ ul {
|
||||
*/
|
||||
line-height: 20px;
|
||||
margin: 0;
|
||||
padding: 39px 0px;
|
||||
padding: 20px 0px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
font-size: 18px;
|
||||
@@ -98,7 +98,7 @@ ul {
|
||||
/* Pad top/bottom of content so it doesn't hide behind .bar-title and .bar-tab.
|
||||
Note: For these to work, content must come after both bars in the markup */
|
||||
.bar ~ .content {
|
||||
top: 98px; }
|
||||
top: 60px; }
|
||||
|
||||
.bar ~ .content {
|
||||
bottom: 51px; }
|
||||
@@ -295,13 +295,13 @@ a.list-item:hover, a.list-item:focus {
|
||||
color: white; }
|
||||
|
||||
.tabs {
|
||||
font-size: 20px;
|
||||
height: 98px; }
|
||||
font-size: 16px;
|
||||
height: 60px; }
|
||||
|
||||
.tab-item a {
|
||||
font-family: "Helvetica Neue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
||||
.tab-item i {
|
||||
font-size: 40px; }
|
||||
font-size: 25px; }
|
||||
|
||||
.button {
|
||||
color: #222222;
|
||||
|
||||
@@ -59,26 +59,26 @@
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-home"></i>
|
||||
Home
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
Friends
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-home"></i>
|
||||
Home
|
||||
<i class="glyphicon glyphicon-thumbs-down"></i>
|
||||
Enemies
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-home"></i>
|
||||
Home
|
||||
<i class="glyphicon glyphicon-wrench"></i>
|
||||
Settings
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-home"></i>
|
||||
Home
|
||||
<i class="glyphicon glyphicon-th"></i>
|
||||
More
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -15,8 +15,8 @@ $baseLineHeightComputed: floor($baseFontSize * $baseLineHeight); // ~20px
|
||||
$contentPadding: 10px;
|
||||
|
||||
// Bar stuff
|
||||
$barHeight: 98px !default;
|
||||
$barLineHeight: 98px !default;
|
||||
$barHeight: 60px !default;
|
||||
$barLineHeight: 60px !default;
|
||||
$barTitleFontSize: $fontSizeLarge;
|
||||
$barTitleLineHeightComputed: $baseLineHeightComputed;
|
||||
$barPaddingVertical: (($barHeight - $baseLineHeightComputed) / 2);
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
.tabs {
|
||||
font-size: 20px;
|
||||
height: 98px;
|
||||
|
||||
|
||||
font-size: 16px;
|
||||
height: 60px;
|
||||
}
|
||||
.tab-item {
|
||||
a {
|
||||
font-family: $lightSansFontFamily;
|
||||
}
|
||||
i {
|
||||
font-size: 40px;
|
||||
font-size: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user