map_page.less
1.99 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* Here provide some css. */
@import 'var';
@import 'init';
.header {
height: 100%;
transition: height .3s;
h1 {
text-align: center;
height: 50px;
line-height: 50px;
}
.wrap {
width: 100%;
position: absolute;
top: 50%;
margin-top: -12px;
transition: all .3s;
}
#what-this-for {
width: 140px;
text-align: left;
.inline;
}
&.headon {
height: 10%;
border-bottom: 2px solid @fontRed;
margin-bottom: 20px;
position: relative;
.wrap {
width: 50%;
}
}
}
.maphead {
.title {
font-size: 20px;
text-align: center;
}
#what-this-for {
color: @fontRed;
&:after {
content: '|';
color: @fontRed;
-webkit-animation: cursorblink 0.8s linear infinite;
animation: cursorblink 0.8s linear infinite;
}
&.end:after {
content: '.';
animation: none;
}
}
}
.mapthere {
#leftbar {
float: left;
li {
font-size: 20px;
}
a {
&.on:after {
content: ' >';
color: @fontRed;
}
}
}
#rightbar {
margin-left: 200px;
li {
margin-bottom: 10px;
font-size: 16px;
text-align: center;
position: relative;
a {
border: 1px solid @fontBlack;
border-radius: 20px;
padding: 5px 0;
.block;
position: relative;
&:hover {
color: @fontRed;
}
}
.border-wrap {
position: absolute;
left: -1px;
top: -1px;
height: 30px;
transition: .3s;
overflow: hidden;
.bor {
border: 1px solid @fontRed;
height: 30px;
width: 731px;
border-radius: 20px;
}
}
}
}
}
@keyframes cursorblink {
1% {
opacity: 0;
}
40% {
opacity: 0;
}
60% {
opacity: 1;
}
100% {
opacity: 1;
}
}
.footer {
position: fixed;
bottom: 0;
width: 100%;
text-indent: 2em;
height: 30px;
line-height: 30px;
background-color: @fontGray;
}