File tree 4 files changed +51
-41
lines changed
template-tab-navigation/app
template-tab-navigation-ng/src 4 files changed +51
-41
lines changed Original file line number Diff line number Diff line change 2
2
// This is where the vast majority of your CSS code goes.
3
3
// Font icon class
4
4
.fa {
5
- font-family : " FontAwesome" ;
5
+ font-family : " FontAwesome" ;
6
6
}
7
+
8
+ .t-36 {
9
+ font-size : 36 ;
10
+ }
11
+
7
12
// Common page class
8
13
.page-content {
9
14
.page-placeholder {
25
30
// Action bar
26
31
ActionBar .action-bar-title {
27
32
horizontal-align : center ;
28
- }
33
+ }
Original file line number Diff line number Diff line change 17
17
will "adopt"; any other layout elements you try to specify will be ignored
18
18
-->
19
19
< Label text ="Home "> </ Label >
20
- < Image src ="font:// " class ="fa "> </ Image >
20
+ < Image src ="font:// " class ="fa t-36 "> </ Image >
21
21
</ TabStripItem >
22
22
< TabStripItem >
23
23
< Label text ="Browse "> </ Label >
24
- < Image src ="font:// " class ="fa "> </ Image >
24
+ < Image src ="font:// " class ="fa t-36 "> </ Image >
25
25
</ TabStripItem >
26
26
< TabStripItem >
27
27
< Label text ="Search "> </ Label >
28
- < Image src ="font:// " class ="fa "> </ Image >
28
+ < Image src ="font:// " class ="fa t-36 "> </ Image >
29
29
</ TabStripItem >
30
30
</ TabStrip >
31
31
Original file line number Diff line number Diff line change 4
4
.fa {
5
5
font-family : " FontAwesome" ;
6
6
}
7
- // Common page class
8
- .page-content {
9
- .page-placeholder {
10
- color : $page-icon-color ;
11
- font-size : $page-content-placeholder-font-size ;
12
- vertical-align : center ;
13
- horizontal-align : center ;
14
- }
15
-
16
- .page-icon {
17
- font-size : 72 ;
18
- vertical-align : top ;
19
- horizontal-align : center ;
20
- color : $page-icon-color ;
21
- margin-top : 20% ;
22
- }
23
- }
24
7
25
- // Action bar
26
- ActionBar .action-bar-title {
27
- horizontal-align : center ;
28
- }
8
+ .t-36 {
9
+ font-size : 36 ;
10
+ }
29
11
30
- TabStripItem Label {
31
- color : $blue-dark ;
32
- }
12
+ // Common page class
13
+ .page-content {
14
+ .page-placeholder {
15
+ color : $page-icon-color ;
16
+ font-size : $page-content-placeholder-font-size ;
17
+ vertical-align : center ;
18
+ horizontal-align : center ;
19
+ }
33
20
34
- TabStripItem:active Label {
35
- color : $item-active-color ;
36
- }
21
+ .page-icon {
22
+ font-size : 72 ;
23
+ vertical-align : top ;
24
+ horizontal-align : center ;
25
+ color : $page-icon-color ;
26
+ margin-top : 20% ;
27
+ }
28
+ }
37
29
38
- TabStripItem Image {
39
- color : $blue-dark ;
40
- }
30
+ // Action bar
31
+ ActionBar .action-bar-title {
32
+ horizontal-align : center ;
33
+ }
41
34
42
- TabStripItem:active Image {
43
- color : $item-active-color ;
44
- }
35
+ TabStripItem Label {
36
+ color : $blue-dark ;
37
+ }
38
+
39
+ TabStripItem:active Label {
40
+ color : $item-active-color ;
41
+ }
42
+
43
+ TabStripItem Image {
44
+ color : $blue-dark ;
45
+ }
46
+
47
+ TabStripItem:active Image {
48
+ color : $item-active-color ;
49
+ }
Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ https://docs.nativescript.org/angular/ui/ng-ui-widgets/tabs.
25
25
will "adopt"; any other layout elements you try to specify will be ignored
26
26
-->
27
27
<Label text =" Home" />
28
- <Image src =" font:// " class =" fa" />
28
+ <Image src =" font:// " class =" fa t-36 " />
29
29
</TabStripItem >
30
30
<TabStripItem >
31
31
<Label text =" Browse" />
32
- <Image src =" font:// " class =" fa" />
32
+ <Image src =" font:// " class =" fa t-36 " />
33
33
</TabStripItem >
34
34
<TabStripItem >
35
35
<Label text =" Search" />
36
- <Image src =" font:// " class =" fa" />
36
+ <Image src =" font:// " class =" fa t-36 " />
37
37
</TabStripItem >
38
38
</TabStrip >
39
39
You can’t perform that action at this time.
0 commit comments