142 |
142 |
position: relative;
|
143 |
143 |
z-index: 0;
|
144 |
144 |
|
145 |
|
& > li > a {
|
146 |
|
display: -ms-flexbox;
|
147 |
|
display: flex;
|
148 |
|
-ms-align-items: baseline;
|
149 |
|
align-items: baseline;
|
150 |
|
|
151 |
|
-ms-flex-wrap: wrap;
|
152 |
|
flex-wrap: wrap;
|
153 |
|
padding: 1rem;
|
154 |
|
color: $cell-entry-color;
|
|
145 |
& > li {
|
155 |
146 |
border-bottom: 1px solid $cell-entry-border-color;
|
156 |
|
position: relative;
|
157 |
147 |
|
158 |
|
&:hover {
|
159 |
|
color: $cell-entry-hover-color;
|
160 |
|
@if $cell-entry-hover-effect != none {
|
161 |
|
&:after {
|
162 |
|
width: 100%;
|
163 |
|
height: 100%;
|
|
148 |
> a {
|
|
149 |
display: -ms-flexbox;
|
|
150 |
display: flex;
|
|
151 |
-ms-align-items: baseline;
|
|
152 |
align-items: baseline;
|
|
153 |
|
|
154 |
-ms-flex-wrap: wrap;
|
|
155 |
flex-wrap: wrap;
|
|
156 |
padding: 1rem;
|
|
157 |
color: $cell-entry-color;
|
|
158 |
position: relative;
|
|
159 |
|
|
160 |
&:hover {
|
|
161 |
color: $cell-entry-hover-color;
|
|
162 |
@if $cell-entry-hover-effect != none {
|
|
163 |
&:after {
|
|
164 |
width: 100%;
|
|
165 |
height: 100%;
|
|
166 |
}
|
|
167 |
} @else {
|
|
168 |
background-color: $cell-entry-hover-background;
|
164 |
169 |
}
|
165 |
|
} @else {
|
166 |
|
background-color: $cell-entry-hover-background;
|
167 |
|
}
|
168 |
|
}
|
169 |
|
&:after {
|
170 |
|
@if $cell-entry-hover-effect != none {
|
171 |
|
background-color: $cell-entry-hover-background;
|
172 |
|
content: "";
|
173 |
|
position: absolute;
|
174 |
|
z-index: -1;
|
175 |
|
transition: all 0.3s ease;
|
176 |
|
box-sizing: border-box;
|
177 |
|
width: 0;
|
178 |
|
}
|
179 |
|
@if $cell-entry-hover-effect == left-to-right {
|
180 |
|
width: 0%; height: 100%; top: 0; left: 0;
|
181 |
|
}
|
182 |
|
@if $cell-entry-hover-effect == right-to-left {
|
183 |
|
width: 0%; height: 100%; top: 0; right: 0;
|
184 |
|
}
|
185 |
|
@if $cell-entry-hover-effect == top-to-bottom {
|
186 |
|
width: 100%; height: 0%; top: 0; left: 0;
|
187 |
170 |
}
|
188 |
|
@if $cell-entry-hover-effect == bottom-to-top {
|
189 |
|
width: 100%; height: 0%; bottom: 0; left: 0;
|
190 |
|
}
|
191 |
|
@if $cell-entry-hover-effect == middle-to-edges {
|
192 |
|
top: 50%;
|
193 |
|
left: 50%;
|
194 |
|
transition: translateY(-50%) translateX(-50%);
|
|
171 |
&:after {
|
|
172 |
@if $cell-entry-hover-effect != none {
|
|
173 |
background-color: $cell-entry-hover-background;
|
|
174 |
content: "";
|
|
175 |
position: absolute;
|
|
176 |
z-index: -1;
|
|
177 |
transition: all 0.3s ease;
|
|
178 |
box-sizing: border-box;
|
|
179 |
width: 0;
|
|
180 |
}
|
|
181 |
@if $cell-entry-hover-effect == left-to-right {
|
|
182 |
width: 0%; height: 100%; top: 0; left: 0;
|
|
183 |
}
|
|
184 |
@if $cell-entry-hover-effect == right-to-left {
|
|
185 |
width: 0%; height: 100%; top: 0; right: 0;
|
|
186 |
}
|
|
187 |
@if $cell-entry-hover-effect == top-to-bottom {
|
|
188 |
width: 100%; height: 0%; top: 0; left: 0;
|
|
189 |
}
|
|
190 |
@if $cell-entry-hover-effect == bottom-to-top {
|
|
191 |
width: 100%; height: 0%; bottom: 0; left: 0;
|
|
192 |
}
|
|
193 |
@if $cell-entry-hover-effect == middle-to-edges {
|
|
194 |
top: 50%;
|
|
195 |
left: 50%;
|
|
196 |
transition: translateY(-50%) translateX(-50%);
|
|
197 |
}
|
195 |
198 |
}
|
196 |
199 |
}
|
197 |
200 |
}
|
... | ... | |
217 |
220 |
}
|
218 |
221 |
|
219 |
222 |
li div.description {
|
220 |
|
position: relative;
|
221 |
|
top: -1px;
|
222 |
|
border-top: 1px solid $cell-background;
|
223 |
223 |
padding: 0 1rem;
|
224 |
224 |
font-size: 90%;
|
225 |
225 |
color: #666;
|
... | ... | |
227 |
227 |
margin-top: 0;
|
228 |
228 |
margin-bottom: 0.7em;
|
229 |
229 |
}
|
230 |
|
border-bottom: 1px solid $cell-entry-border-color;
|
231 |
230 |
}
|
232 |
231 |
}
|
233 |
232 |
|
234 |
|
-
|