]> git.uio.no Git - u/erikhf/frm.git/blob - src/css/map.css
start paa modal
[u/erikhf/frm.git] / src / css / map.css
1 * {
2     margin: 0;
3 }
4
5 html, body {
6     height: 100%;
7 }
8
9 #map {
10     height: 100%;
11     width: 100%;
12     position:absolute;
13     top: 0;
14     left: 0;
15     z-index: 0;
16 }
17
18 /* search div */
19
20 #search {
21     position: relative;
22     z-index: 1;
23     margin-top: 20px;
24     margin-left: 20px;
25     background: transparent;
26     display: inline-block;
27     width: 400px;
28     max-width: 100%;
29 }
30
31 /* search input*/
32
33 #livesearch{
34     box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.3);
35     font-size: 16px;
36     font-family: Montserrat, sans-serif;
37     border: 1px solid white;
38     height: 52px;
39     margin-right: 0;
40     color: black;
41     outline: none;
42     background: white;
43     float: left;
44     box-sizing: border-box;
45     transition: all 0.15s;
46     border-radius: 2px 0px 0px 2px; /* top left, top right, bottom right, bottom left */
47
48 }
49
50 ::-webkit-input-placeholder {
51     color: grey;
52 }
53 :-moz-placeholder {
54     color: grey;
55 }
56 ::-moz-placeholder {
57     color: grey;
58 }
59 :-ms-input-placeholder {
60     color: grey;
61 }
62
63 #livesearch:focus {
64     background: white;
65 }
66
67 .knapp
68 {
69     border-radius: 0px 2px 2px 0px; /* top left, top right, bottom right, bottom left */
70     box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.3);
71     border-right: 1px solid white;
72     border-top:1px solid white;
73     border-bottom: 1px solid white;
74     border-left: 2px solid darkgrey;
75     background: white;
76     width: 60px;
77     padding: 0;
78     margin: 0;
79     text-align: center;
80     height: 52px;
81     cursor: pointer;
82     float: left;
83 }
84
85 .knapp:focus {
86     outline:0;
87 }
88
89 /* search results */
90
91
92 .divresult{
93     padding:0;
94     margin: 0;
95     background-color: white;
96     border-radius: 0;
97     border-top: 2px solid darkgrey;
98     box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
99
100 }
101
102 .divhelp{
103     padding:0;
104     margin-left: 5px;
105     height: 40vh;
106     position: relative;
107     z-index: 1;
108     display: inline-block;
109     width: 80%;
110     margin-top: 0;
111     left: 0;
112     float: left;
113     font-size: 14px;
114     text-align: left;
115     list-style: none;
116     background-color: transparent;
117     border: none;
118     border-radius: 0px;
119 }
120
121 .result{
122     opacity: 0.8;
123     height: 25vh;
124     overflow: scroll;
125     position: relative;
126     z-index: 1;
127     display: inline-block;
128     width: 100%;
129     margin-top: 0;
130     left: 0;
131     float: left;
132     font-size: 14px;
133     text-align: left;
134     list-style: none;
135     background-color: #fff;
136     border: 1px solid whitesmoke;
137     box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
138     border-radius: 0px 0px 2px 2px; /* top left, top right, bottom right, bottom left */
139 }
140
141 .result li{
142     padding: 0.5em 0.5em 0.5em 0;
143     margin: auto;
144     float: none;
145     border-bottom: 2px solid whitesmoke;
146
147 }
148
149 .result > li:first-child {
150     padding: 5px;
151     border: none;
152 }
153
154 .results > li > a{
155     position: relative;
156     margin-top: 10px;
157     display: block;
158     padding: 3px 5px;
159     clear: both;
160     font-weight: 400;
161     line-height: 1.42857143;
162     color: #333;
163     white-space: nowrap
164 }
165
166 .results > li > a:focus, .results > li > a:hover {
167     position: relative;
168     color: #262626;
169     text-decoration: none;
170     background-color: #f5f5f5
171 }
172
173 .emptyresult{
174     float: right;
175     border: 0;
176 }
177
178 .emptyresult:hover{
179     outline:0;
180     background: white;
181 }
182
183 /* filter options */
184
185 .dropdowndiv{
186     padding:0;
187     margin: 0;
188
189 }
190 .meny{
191     border: none;
192     border-top: 2px solid darkgrey;
193     box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
194     border-radius: 0px 2px 2px 2px; /* top left, top right, bottom right, bottom left */
195     top: 0px;
196     margin-top: 0;
197     z-index: 1;
198     position: absolute;
199     float: left;
200     background-color: white;
201     margin-left: 2px;
202 }
203
204 .meny li{
205     background-color: white;
206     padding-left: 20px;
207     padding-right: 20px;
208 }
209
210 .filtervalg{
211     box-shadow: 0 0 1px darkgrey;
212     margin-top: 5px;
213     margin-bottom: 5px;
214     width: 100%;
215     font-size: 12px;
216     font-family: Montserrat, sans-serif;
217     border: none;
218     border-radius: 2px;
219     color: black;
220     outline: none;
221     background: white;
222     box-sizing: border-box;
223     transition: all 0.15s;
224 }
225
226 .filtervalg:focus{
227     outline: 0;
228 }
229 .bootstrap-select .btn:focus {
230     outline: none !important;
231 }
232
233 .hide {
234     display:none;
235 }
236
237 .glyphicon-menu-down{
238     color: white;
239 }
240
241 /* modal */
242
243 #divModal{
244     position: relative;
245     margin-top: 0;
246     width: 20%;
247     background: red;
248     overflow: hidden;
249 }
250
251 /* other */
252
253 .no-padding{
254     padding: 0;
255     padding: 0 !important;
256     margin: 0 !important;
257 }
258