1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
| @import '../../conf/vars';
| .index-entry {
| &-main {
| padding: 8px;
| background-color: white;
| transition: 0.2s;
| }
| &-main+&-main {
| margin-top: 16px;
| }
| &-body {
| display: flex;
| }
| &-main:active {
| background-color: #eee;
| }
| &-body+&-body {
| margin-top: 8px;
| }
| &-item {
| width: 33.33%;
| text-align: center;
| transition: 0.2s;
| }
| &-item:active {
| transform: scale(1.2);
| }
|
| &-wrap {
| width: 36%;
| display: inline-block;
| position: relative;
| }
|
| &-icon {
| width: 100%;
| }
| &-text {
| padding: 8px 0;
| }
| &-count {
| position: absolute;
| height: 1.62em;
| line-height: 1.62em;
| white-space: nowrap;
| min-width: 1.62em;
| border-radius: 1.62em;
| background-color: red;
| color: white;
| top: -0.81em;
| right: 0;
| transform: translate(50%, 0);
| }
| }
|
|