Newer
Older
Sébastien DA ROCHA
committed
/* ---------------------------------- */
Sébastien DA ROCHA
committed
/* ---------------------------------- */
#app {
position: relative;
min-height: 100vh; /* keep the space for loader, before page contents are injected */
display: flex; /* used to fix height on sticky header and footer */
flex-direction: column; /* used to fix height on sticky header and footer */
}
position: sticky;
top: 0;
z-index: 1;
Sébastien DA ROCHA
committed
background: #373636;
}
#app-content {
overflow: auto;
flex: 1 0 auto; /* used to fix height on sticky header and footer */

Timothee P
committed
.page-content {
padding: 0 2em;
margin: 2em auto;
}
#map {
width: 100%;
height: 100%;
min-height: 250px;
touch-action: none; /* workaround for modifying feature on mobile */
overflow: hidden;
flex-shrink: 0; /* used to fix height on sticky header and footer */
position: sticky;
bottom: 0;
}
#app-footer .ui.text.menu {
min-height: 30px !important;
}
#app-footer .ui.text.menu .item {
color: #ffffff;
padding: 5px 14px;
}
#app-footer .ui.text.menu a.item:hover {
color: #1ab2b6;
}
#app-footer .ui.text.menu .item:not(:first-child) {
border-left: 1px solid rgba(34,36,38,.15);
Sébastien DA ROCHA
committed
}
/* ---------------------------------- */
/* UTILS */
/* ---------------------------------- */
.no-margin {
margin: 0 !important;
}
.margin-top {
margin-top: 1rem;
}
.margin-bottom {
margin-bottom: 1rem;
}
.tiny-margin {
margin: 0.1rem 0 0.1rem 0.1rem !important;
}
.tiny-margin-left {
margin-left: 0.1rem !important;
}

Timothee P
committed
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
}

Timothee P
committed
.nowrap {
white-space: nowrap;
}

Timothee P
committed
.important-flex {
display: flex !important;
}
.pointer:hover {
cursor: pointer;
}

Timothee P
committed
.dimmer-anchor {
position: relative;
}
Sébastien DA ROCHA
committed
/* ---------------------------------- */
/* MAIN */
/* ---------------------------------- */
.button-hover-orange:hover {
background: #fbbd08 !important;
}
.button-hover-green:hover {
background: #5bba21 !important;
}
.button-hover-red:hover {
background: #ee2e24 !important;
}

Timothee P
committed
.ui.button.button-hover-red:hover, .ui.button.button-hover-red:hover i.icon,
.ui.button.button-hover-green:hover, .ui.button.button-hover-green:hover i.icon {
color: #fff !important;
}
.ui.button.button-hover-red:hover i.icon,
.ui.button.button-hover-green:hover i.icon {
transition: all 0.5s ease !important;
}
Sébastien DA ROCHA
committed
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.ui.header .content {
width: 100%;
}
.ui.horizontal.divider {
color: #1ab2b6!important;
padding-top: 1.5em;
}
.delete-hidden-field {
display: none;
}
.ui.dropdown .menu > .header {
font-size: 1em;
text-transform: none;
}
.ui.dropdown .menu.text-wrap {
max-width: 80vw;
overflow: auto;
}
.ui.dropdown .menu.text-wrap > .item {
white-space: normal;
word-wrap: normal;
}
.ui.checkbox.disabled > input {
cursor: default !important;
}
Sébastien DA ROCHA
committed
/* Add basemap view */
#form-layers .ui.buttons{
margin-bottom: 1rem;
}
#form-layers .errorlist{
list-style: none;
padding-left: 0;
color: #9f3a38;
}
#form-layers .infoslist{
list-style: none;
padding-left: 0;
color: #38989f;
}
Sébastien DA ROCHA
committed
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
/* Fix semantic ui overflow when is too long */
.layer-item .form div.text {
width: 100%
}
.ui.selection.dropdown .menu>.item {
word-break: break-all;
}
/* Needs this unfortunatly, because semantic overrides the background-color */
#form-layers .blue-background-class {
background-color: rgb(205, 229, 245);
}
/* Thicker borders for each basemap segment */
#form-layers [data-segments=basemap_set-SEGMENTS] > .ui.segment {
margin-bottom: 3rem;
border: 1px solid rgba(34,36,38,.30);
}
/* Sortable */
.layer-handle-sort {
cursor: grab;
}
.blue-background-class {
background-color: rgb(205, 229, 245);
}
.white-opacity-background-class {
background-color: white;
opacity: 0.9;
}
/* ---------------------------------- */
/* LEAFLET DRAW TOOLBAR */
/* ---------------------------------- */
.leaflet-draw-toolbar a.leaflet-draw-draw-circlemarker,
.leaflet-draw-toolbar a.leaflet-draw-draw-polyline,
.leaflet-draw-toolbar a.leaflet-draw-draw-polygon {
background-color: #FFA19E;
}
/* ---------------------------------- */
/* LEAFLET*/
/* ---------------------------------- */
.leaflet-container {
background: #FFF;
}
/* ---------------------------------- */
/* ERROR LIST */
/* ---------------------------------- */
.errorlist {
margin-top: 1rem;
padding: 0;
}
.infoslist {
margin-top: 0.1rem;
padding: 0;
}
Sébastien DA ROCHA
committed
.errorlist > li {
list-style: none;
color: rgb(177, 55, 55);
border: thin solid rgb(197, 157, 157);
border-radius: 3px;
background-color: rgb(250, 241, 242);
padding: 0.5rem 1rem;
}
.infoslist > li {
list-style: none;
color: #38989f;
border-radius: 3px;
padding: 0;
text-align: right;
/* PAGINATION */
/* ---------------------------------- */
.custom-pagination {
display: flex;
align-items: center;
list-style: none;
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
}
.custom-pagination > .page-item > .page-link {
border: none;
font-weight: 400;
color: #008080;
}
.custom-pagination > .page-item.active > .page-link {
color: #008080;
background-color: transparent;
font-weight: bolder;
text-shadow: 0 0 2px #008080;
padding: 0.325em 0.75em;
pointer-events: none;
}
.custom-pagination > .page-item.disabled > .page-link {
opacity: 0.5;
pointer-events: none;
}
.custom-pagination > div > .page-item > .page-link {
border: none;
font-weight: 400;
color: #008080;
padding: 0.325em 0.75em;
}
.custom-pagination > div > .page-item.active > .page-link {
color: #008080;
background-color: transparent;
font-weight: bolder;
font-size: 1.2em;
text-shadow: 0 0 2px #008080;
padding: 0.325em 0.75em;
pointer-events: none;
}
.custom-pagination > div > .page-item.disabled > .page-link {
opacity: 0.5;
padding: 0.325em 0.75em;
pointer-events: none;
}
/* ---------------------------------- */
/* MULTISELECT */
.multiselect {
font-family: 'Roboto Condensed', Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
}
border-radius: 0 !important;
font-family: 'Roboto Condensed', Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
font-size: 1rem !important;
}
.multiselect__tags > .multiselect__input {
border: none !important;
font-size: 1rem !important;
}
.multiselect__placeholder {
color: #838383;
margin-bottom: 0px;
padding-top: 0;
}
.multiselect__single, .multiselect__tags, .multiselect__content, .multiselect__option {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
max-width: 100%;
background-color: #fff;
font-size: 1rem !important;
}
.multiselect__select {
z-index: 1 !important;
}
.multiselect__clear {
position: absolute;
right: 1px;
top: 8px;
width: 40px;
display: block;
cursor: pointer;
z-index: 9;
background-color: #fff;
}
.multiselect__spinner {
z-index: 2 !important;
background-color: #fff;
opacity: 1;
top: 2px;
.menu.projects > .item > .multiselect {
min-height: 0px !important;
}
.menu.projects > .item > .multiselect > .multiselect__tags {
min-height: 0px !important;
}
.multiselect__option--selected {
background: #fff !important;
color: #35495e !important;
}
.multiselect__option--highlight {
background: #f3f3f3 !important;
color: #35495e !important;
}
.multiselect__option--selected.multiselect__option--highlight {
background: #f3f3f3 !important;
color: #35495e !important;

Timothee P
committed
/* ---------------------------------- */
/* OVERRIDE SEMANTIC STYLES */
/* ---------------------------------- */
.ui.page.dimmer { /* keep the dimmer above the dropdown (z-index 1001: above the map)*/
z-index: 1002;
}