|
@@ -1,58 +1,60 @@
|
|
|
-.tabbar-item {
|
|
|
|
|
|
|
+.nut-tabbar-item {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
text-decoration: none;
|
|
text-decoration: none;
|
|
|
- color: $text-color;
|
|
|
|
|
|
|
+ color: $primary-color;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
-}
|
|
|
|
|
-.icon-box {
|
|
|
|
|
- padding: 0px;
|
|
|
|
|
- display: inline-block;
|
|
|
|
|
- position: relative;
|
|
|
|
|
-
|
|
|
|
|
- .tips {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- background: $tabbar-active-color;
|
|
|
|
|
- border: 1px solid $white;
|
|
|
|
|
- border-radius: 7px;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
|
|
|
|
|
- top: -2px;
|
|
|
|
|
- right: -7px;
|
|
|
|
|
- box-shadow: 0 0 0 1px $white;
|
|
|
|
|
- font-size: $font-size-1;
|
|
|
|
|
- color: $white;
|
|
|
|
|
|
|
+ &__icon--unactive {
|
|
|
|
|
+ color: $black;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .num {
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
- font-size: $font-size-0;
|
|
|
|
|
- color: $white;
|
|
|
|
|
- padding: 1px 2px 2px 3px;
|
|
|
|
|
- }
|
|
|
|
|
- .nums {
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
- font-size: $font-size-0;
|
|
|
|
|
- color: $white;
|
|
|
|
|
- padding: 2px 1px 2px 2px;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &_icon-box {
|
|
|
|
|
+ padding: 0px;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
|
|
|
-.icon-box .icon {
|
|
|
|
|
- display: block;
|
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
|
- background-position: center center;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &_tips {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ background: $tabbar-active-color;
|
|
|
|
|
+ border: 1px solid $white;
|
|
|
|
|
+ border-radius: 7px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ top: -2px;
|
|
|
|
|
+ right: -7px;
|
|
|
|
|
+ box-shadow: 0 0 0 1px $white;
|
|
|
|
|
+ font-size: $font-size-1;
|
|
|
|
|
+ color: $white;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-.icon-box .tabbar-nav-word {
|
|
|
|
|
- font-size: $font-size-0;
|
|
|
|
|
- display: block;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &_num {
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ font-size: $font-size-0;
|
|
|
|
|
+ color: $white;
|
|
|
|
|
+ padding: 1px 2px 2px 3px;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-.icon-box .big-word {
|
|
|
|
|
- font-size: $font-size-large;
|
|
|
|
|
- line-height: 1;
|
|
|
|
|
|
|
+ &_nums {
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ font-size: $font-size-0;
|
|
|
|
|
+ color: $white;
|
|
|
|
|
+ padding: 2px 1px 2px 2px;
|
|
|
|
|
+ }
|
|
|
|
|
+ &_icon {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
|
+ background-position: center center;
|
|
|
|
|
+ }
|
|
|
|
|
+ &_nav-word {
|
|
|
|
|
+ font-size: $font-size-0;
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ }
|
|
|
|
|
+ &_big-word {
|
|
|
|
|
+ font-size: $font-size-large;
|
|
|
|
|
+ line-height: 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|