58
58
}
59
59
60
60
// Different themes for items
61
- & .item-light {
61
+ & .item-light {
62
62
@include item-style ($item-light-bg , $item-light-border , $item-light-text );
63
63
}
64
- & .item-stable {
64
+ & .item-stable {
65
65
@include item-style ($item-stable-bg , $item-stable-border , $item-stable-text );
66
66
}
67
- & .item-positive {
67
+ & .item-positive {
68
68
@include item-style ($item-positive-bg , $item-positive-border , $item-positive-text );
69
69
}
70
- & .item-calm {
70
+ & .item-calm {
71
71
@include item-style ($item-calm-bg , $item-calm-border , $item-calm-text );
72
72
}
73
- & .item-assertive {
73
+ & .item-assertive {
74
74
@include item-style ($item-assertive-bg , $item-assertive-border , $item-assertive-text );
75
75
}
76
- & .item-balanced {
76
+ & .item-balanced {
77
77
@include item-style ($item-balanced-bg , $item-balanced-border , $item-balanced-text );
78
78
}
79
- & .item-energized {
79
+ & .item-energized {
80
80
@include item-style ($item-energized-bg , $item-energized-border , $item-energized-text );
81
81
}
82
- & .item-royal {
82
+ & .item-royal {
83
83
@include item-style ($item-royal-bg , $item-royal-border , $item-royal-text );
84
84
}
85
- & .item-dark {
85
+ & .item-dark {
86
86
@include item-style ($item-dark-bg , $item-dark-border , $item-dark-text );
87
87
}
88
88
95
95
@include item-active-style ($item-default-active-bg , $item-default-active-border );
96
96
97
97
// Different active themes for <a> and <button> items
98
- & .item-light {
98
+ & .item-light {
99
99
@include item-active-style ($item-light-active-bg , $item-light-active-border );
100
100
}
101
- & .item-stable {
101
+ & .item-stable {
102
102
@include item-active-style ($item-stable-active-bg , $item-stable-active-border );
103
103
}
104
- & .item-positive {
104
+ & .item-positive {
105
105
@include item-active-style ($item-positive-active-bg , $item-positive-active-border );
106
106
}
107
- & .item-calm {
107
+ & .item-calm {
108
108
@include item-active-style ($item-calm-active-bg , $item-calm-active-border );
109
109
}
110
- & .item-assertive {
110
+ & .item-assertive {
111
111
@include item-active-style ($item-assertive-active-bg , $item-assertive-active-border );
112
112
}
113
- & .item-balanced {
113
+ & .item-balanced {
114
114
@include item-active-style ($item-balanced-active-bg , $item-balanced-active-border );
115
115
}
116
- & .item-energized {
116
+ & .item-energized {
117
117
@include item-active-style ($item-energized-active-bg , $item-energized-active-border );
118
118
}
119
- & .item-royal {
119
+ & .item-royal {
120
120
@include item-active-style ($item-royal-active-bg , $item-royal-active-border );
121
121
}
122
- & .item-dark {
122
+ & .item-dark {
123
123
@include item-active-style ($item-dark-active-bg , $item-dark-active-border );
124
124
}
125
125
}
126
126
127
127
// Handle text overflow
128
128
.item ,
129
- .item h1 ,
130
- .item h2 ,
131
- .item h3 ,
132
- .item h4 ,
133
- .item h5 ,
134
- .item h6 ,
129
+ .item h1 ,
130
+ .item h2 ,
131
+ .item h3 ,
132
+ .item h4 ,
133
+ .item h5 ,
134
+ .item h6 ,
135
135
.item p ,
136
136
.item-content ,
137
- .item-content h1 ,
138
- .item-content h2 ,
139
- .item-content h3 ,
140
- .item-content h4 ,
141
- .item-content h5 ,
142
- .item-content h6 ,
137
+ .item-content h1 ,
138
+ .item-content h2 ,
139
+ .item-content h3 ,
140
+ .item-content h4 ,
141
+ .item-content h5 ,
142
+ .item-content h6 ,
143
143
.item-content p {
144
144
overflow : hidden ;
145
145
text-overflow : ellipsis ;
@@ -245,7 +245,7 @@ a.item-content {
245
245
246
246
& :before {
247
247
display : block ;
248
- width : $item-icon-font-size - 4 ;
248
+ width : $item-icon-font-size ;
249
249
text-align : center ;
250
250
}
251
251
}
@@ -375,7 +375,7 @@ button.item.item-button-right {
375
375
* then a arrow will be added to the right side of the item.
376
376
*/
377
377
378
- a .item ,
378
+ a .item ,
379
379
button .item ,
380
380
.item a [href ].item-content ,
381
381
.item [ng-click ] a .item-content {
@@ -494,7 +494,7 @@ button.item-button-right:after,
494
494
.item-image {
495
495
padding : 0 ;
496
496
text-align : center ;
497
-
497
+
498
498
img :first-child , .list-img {
499
499
width : 100% ;
500
500
vertical-align : middle ;
@@ -510,7 +510,7 @@ button.item-button-right:after,
510
510
padding : $item-padding ;
511
511
text-overflow : inherit ;
512
512
white-space : normal ;
513
-
513
+
514
514
h1 , h2 , h3 , h4 , h5 , h6 , p {
515
515
margin-top : $item-padding ;
516
516
margin-bottom : $item-padding ;
0 commit comments