This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ html /deep/ core-item {
14
14
white-space : nowrap;
15
15
}
16
16
17
+ html / deep/ cor e-item.font-scalable {
18
+ min-height : 2.5em ;
19
+ }
20
+
17
21
html / deep/ cor e-item.core-selected {
18
22
font-weight : bold;
19
23
}
@@ -22,6 +26,12 @@ html /deep/ core-item::shadow core-icon {
22
26
margin : 0 16px 0 4px ;
23
27
}
24
28
29
+ html / deep/ cor e-item.font-scalable ::shadow core-icon {
30
+ margin : 0 1em 0 0.25em ;
31
+ height : 1.5em ;
32
+ width : 1.5em ;
33
+ }
34
+
25
35
html / deep/ cor e-item::shadow ::content > a {
26
36
position : absolute;
27
37
top : 0 ;
Original file line number Diff line number Diff line change 20
20
core-item {
21
21
width : 300px ;
22
22
}
23
+
24
+ core-item .big {
25
+ font-size : 24px ;
26
+ }
27
+
28
+ core-item .small {
29
+ font-size : 12px ;
30
+ }
23
31
24
32
core-item .contact-item {
25
33
height : 50px ;
@@ -54,6 +62,12 @@ <h2>links (via <a>):</h2>
54
62
55
63
< core-item icon ="settings " label ="Settings "> < a href ="#settings " target ="_self "> </ a > </ core-item >
56
64
< core-item icon ="account-box " label ="Account "> < a href ="#account " target ="_self "> </ a > </ core-item >
65
+
66
+ < h2 > items sized with CSS:</ h2 >
67
+ < core-item icon ="settings " label ="Settings " class ="font-scalable big "> </ core-item >
68
+ < core-item icon ="account-box " label ="Account " class ="font-scalable big "> </ core-item >
69
+ < core-item icon ="settings " label ="Settings " class ="font-scalable small "> </ core-item >
70
+ < core-item icon ="account-box " label ="Account " class ="font-scalable small "> </ core-item >
57
71
58
72
< h2 > custom item:</ h2 >
59
73
You can’t perform that action at this time.
0 commit comments