-
Notifications
You must be signed in to change notification settings - Fork 0
/
ng-front-page.css
executable file
·133 lines (133 loc) · 3.11 KB
/
ng-front-page.css
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
126
127
128
129
130
131
132
133
html.front-page-init {
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
}
body.front-page-enabled {
height: 100%;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.flex {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flex.align-center {
align-items: center;
justify-content: center;
}
.border-box {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body > [front-page],
body > [data-front-page] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
height: 100%;
width: 100%;
position: relative;
overflow: hidden;
background-size: cover;
background-position: center center;
}
body > [front-page] .slide,
body > [data-front-page] .slide {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
height: 100%;
margin: 0 !important;
float: left;
width: 100%;
background-size: cover;
background-position: center center;
}
body > [front-page] .horizontal-nav,
body > [data-front-page] .horizontal-nav {
position: absolute;
bottom: 8%;
width: 240px;
text-align: center;
left: 50%;
margin-left: -120px;
}
body > [front-page] .horizontal-nav > a,
body > [data-front-page] .horizontal-nav > a {
display: inline-block;
margin: 5px;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
/*-webkit-transition: all 350ms ease;
transition: all 350ms ease;*/
}
body > [front-page] .horizontal-nav > a.active,
body > [data-front-page] .horizontal-nav > a.active {
margin: 3px;
width: 12px;
height: 12px;
border: 2px solid rgba(255, 255, 255, 0.8);
background-color: rgba(255, 255, 255, 0.5);
}
body > [front-page] .prev-button,
body > [data-front-page] .prev-button {
position: absolute;
top: 50%;
left: 4%;
margin-top: -35px;
display: block;
width: 50px;
height: 50px;
border-bottom: 2px solid rgba(255, 255, 255, 0.8);
border-left: 2px solid rgba(255, 255, 255, 0.8);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
body > [front-page] .prev-button > a,
body > [data-front-page] .prev-button > a {
display: block;
width: 100%;
height: 100%;
}
body > [front-page] .next-button,
body > [data-front-page] .next-button {
position: absolute;
top: 50%;
right: 4%;
margin-top: -35px;
display: block;
width: 50px;
height: 50px;
border-bottom: 2px solid rgba(255, 255, 255, 0.8);
border-left: 2px solid rgba(255, 255, 255, 0.8);
-webkit-transform: rotate(225deg);
-moz-transform: rotate(225deg);
-ms-transform: rotate(225deg);
-o-transform: rotate(225deg);
transform: rotate(225deg);
}
body > [front-page] .next-button > a,
body > [data-front-page] .next-button > a {
display: block;
width: 100%;
height: 100%;
}
body > [front-page] .slide-container,
body > [data-front-page] .slide-container {
clear: both;
height: 100%;
width: 100%;
-webkit-transition: margin-left 1s ease;
transition: margin-left 1s ease;
}