forked from SmartTeleMax/MaSha-nav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.sass
94 lines (83 loc) · 1.48 KB
/
example.sass
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#mashajs-nav {
position: relative;
height: 100%;
}
@media only screen and (max-width: 730px) {
#mashajs-nav {
display: none;
}
}
#mashajs-nav .num {
position: absolute;
left: -13.5px;
top: 50%;
margin-top: -7.5px;
font-size: 11px;
line-height: 15px;
width: 55px;
text-align: center;
color: #8C90A5;
transition: opacity 0.5s ease-in-out;
}
#mashajs-up,
#mashajs-down {
width: 26px;
height: 26px;
position: absolute;
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
border: 0;
border-radius: 13px;
background: transparent;
background: url("./img/masha-nav-arrow.svg") no-repeat 0 0;
background-size: 20px 24px;
background-position: center 0;
opacity: 1;
}
#mashajs-up:hover,
#mashajs-down:hover {
background-image: url("./img/masha-nav-arrow-hover.svg");
}
#mashajs-down {
bottom: 0;
transform: rotate(180deg);
}
#mashajs-up {
top: 0;
}
#mashajs-down.disabled,
#mashajs-up.disabled {
cursor: default;
opacity: 0.5;
background-image: url("./img/masha-nav-arrow.svg");
}
#mashajs-nav-position {
position: fixed;
z-index: 100000;
height: 62px;
top: 50%;
height: 90px;
margin-top: -45px;
bottom: 20px;
width: 28px;
left: 942px;
display: block;
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
#mashajs-nav-position.is-disabled {
display: none;
opacity: 0;
}
@media only screen and (max-width: 730px) {
#mashajs-nav-position {
display: none;
}
}
#mashajs-nav-center {
height: 100%;
display: block;
margin: auto;
position: relative;
}