source: main/trunk/model-interfaces-dev/heritage-nz/iframe/heritage-nz-dl_files/nav.css@ 32796

Last change on this file since 32796 was 32796, checked in by davidb, 5 years ago

Initial set of files to provide look and feel of Heritage NZ site, plus SVN clickable map in an iframe

  • Property svn:executable set to *
File size: 5.3 KB
Line 
1/* span.ng-scope { display: none; height: 0; width: 0;} */
2
3.nav-overlay
4{
5 position: absolute;
6 top: 0;
7 z-index: 100;
8 display: none;
9 overflow-x: hidden;
10 overflow-y: auto;
11 width: 100%;
12 height: 100%;
13 background-color: #2c2c2c;
14 -moz-transition: all .3s ease;
15 -ms-transition: all .3s ease;
16 -o-transition: all .3s ease;
17 -webkit-transition: all .3s ease;
18 transition: all .3s ease;
19 -moz-transform: translate3d(100%,0,0);
20 -ms-transform: translate3d(100%,0,0);
21 -o-transform: translate3d(100%,0,0);
22 -webkit-transform: translate3d(100%,0,0);
23 transform: translate3d(100%,0,0);
24}
25
26 .nav-overlay.show
27 {
28 display: block;
29 -moz-transform: translate3d(0,0,0);
30 -ms-transform: translate3d(0,0,0);
31 -o-transform: translate3d(0,0,0);
32 -webkit-transform: translate3d(0,0,0);
33 transform: translate3d(0,0,0);
34 z-index: 99999;
35 }
36
37 .nav-overlay::-webkit-scrollbar, nav::-webkit-scrollbar
38 {
39 display: none!important;
40 width: 0!important;
41 }
42
43 .nav-overlay .nav-search
44 {
45 border: 0 none;
46 display: block;
47 margin: 0;
48 padding: 1.5em 3em 1.5em 1em;
49 width: 100%;
50 text-align: left;
51 text-decoration: none;
52 }
53
54 .nav-overlay .nav-container
55 {
56 position: relative;
57 background-color: #333;
58 }
59
60 .nav-overlay ul
61 {
62 position: absolute;
63 top: 0;
64 right: auto;
65 left: 0;
66 display: block;
67 margin: 0;
68 padding: 0;
69 width: 100%;
70 list-style: none;
71 -moz-transform: translate3d(0, 0, 0);
72 -ms-transform: translate3d(0, 0, 0);
73 -o-transform: translate3d(0, 0, 0);
74 -webkit-transform: translate3d(0, 0, 0);
75 -moz-transition: all .3s ease;
76 -o-transition: all .3s ease;
77 -webkit-transition: all .3s ease;
78 transition: all .3s ease;
79 transform: translate3d(0, 0, 0);
80 }
81
82 .nav-overlay ul ul
83 {
84 position: static;
85 }
86
87 .nav-overlay ul li
88 {
89 display: block;
90 float: left;
91 margin: 0;
92 width: 100%;
93 border-top: 2px solid #383838;
94 border-bottom: 2px solid #222;
95 list-style: none;
96 text-align: left;
97 }
98
99 .nav-overlay ul li#mobile-nav-results
100 {
101 -webkit-tap-highlight-color: rgba(51,51,51,0.5);
102 display: block;
103 float: left;
104 margin: 0;
105 padding: 1.5em .3333em 1.5em 1em;
106 width: 100%;
107 border-right: 2px solid #222;
108 color: #fff;
109 text-decoration: none;
110 -webkit-text-shadow: 1px 1px 0 #222;
111 text-shadow: 1px 1px 0 #222;
112 }
113
114 .nav-overlay ul li:first-child
115 {
116 margin-bottom: 0;
117 border: 0 none;
118 border-top: 2px solid #222;
119 border-bottom: 2px solid #222;
120 }
121
122 .nav-overlay ul li ul li
123 {
124 font-size: inherit;
125 }
126
127 .nav-overlay ul li a
128 {
129 -webkit-tap-highlight-color: #333333;
130 -webkit-tap-highlight-color: rgba(51,51,51,0.5);
131 display: block;
132 float: left;
133 margin: 0;
134 padding: 1.5em .3333em 1.5em 1em;
135 width: 100%;
136 border-right: 2px solid #222;
137 color: #fff;
138 text-decoration: none;
139 -webkit-text-shadow: 1px 1px 0 #222;
140 text-shadow: 1px 1px 0 #222;
141 font-size: inherit;
142 cursor: pointer;
143 }
144
145 .nav-overlay ul li.hasList > a
146 {
147 width: 80%;
148 }
149
150 .nav-overlay .showChildren, .nav-overlay .backLink
151 {
152 -webkit-tap-highlight-color: #333333;
153 -webkit-tap-highlight-color: rgba(51,51,51,0.5);
154 display: block;
155 float: left;
156 margin: 0;
157 padding: 1.5em .3333em;
158 width: 20%;
159 border: 0 none;
160 color: #fff;
161 text-decoration: none;
162 cursor: pointer;
163 }
164
165 .nav-overlay .showChildren
166 {
167 border-left: 2px solid #383838;
168 }
169
170 .nav-overlay i.icon
171 {
172 display: block;
173 margin: 0 auto;
174 width: 14px;
175 height: 15px;
176 text-align: center;
177 vertical-align: middle;
178 }
179
180 .nav-overlay i.icon.chevron-right
181 {
182 background: url(../heritage-nz-dl_images/glyphicons-halflings-white.png) no-repeat -456px -72px;
183 }
184
185 .nav-overlay i.icon.chevron-left
186 {
187 background: url(../heritage-nz-dl_images/glyphicons-halflings-white.png) no-repeat -431px -72px;
188 }
189
190 .nav-overlay .backLink
191 {
192 border-top: 2px solid #222;
193 border-right: 2px solid #222;
194 border-bottom: 2px solid #222;
195 }
196
197 .nav-overlay li.hasList ul
198 {
199 position: absolute;
200 top: 0;
201 right: 100%;
202 left: 100%;
203 display: none;
204 width: 100%;
205 }
206
207 .nav-overlay li.hasList ul.active
208 {
209 display: inline-block;
210 }
211
212 .nav-overlay li.hasList ul.active > a
213 {
214 padding-left: 1em;
215 width: 80%;
216 border-top: 2px solid #222;
217 border-bottom: 2px solid #222;
218 border-left: 2px solid #383838;
219 }
220
221 .nav-overlay .hide
222 {
223 display: none !important;
224 }
225
226 .nav-overlay span.deleteicon
227 {
228 position: absolute;
229 top: 3px;
230 right: 20px;
231 display: block;
232 width: 25px;
233 height: 25px;
234 background: url(../heritage-nz-dl_images/close-button.png);
235 cursor: pointer;
236 }
237
238 .nav-overlay .icon-wrap
239 {
240 display: block;
241 }
Note: See TracBrowser for help on using the repository browser.