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;

Timothee P
committed
background: var(--primary-color, #373636);
Sébastien DA ROCHA
committed
}
#app-content {
overflow: auto;
flex: 1 0 auto; /* used to fix height on sticky header and footer */

Timothee P
committed
min-height: 61px; /* value by default of the header, defined here to be sync with anchor below, in order to keep the page stuck to top */
position: relative; /* for anchor below */
#scroll-top-anchor {
position: absolute;
top: -61px;
visibility: hidden;
}

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 {

Timothee P
committed
color: var(--primary-color, #008c86);
}
#app-footer .ui.text.menu .item:not(:first-child) {
border-left: 1px solid rgba(34,36,38,.15);
Sébastien DA ROCHA
committed
}
/* ---------------------------------- */
/* UTILS */
/* ---------------------------------- */
.inline {
display: inline;
}
.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 {

Timothee P
committed
cursor: pointer !important;
}

Timothee P
committed
.dimmer-anchor {
position: relative;
}
.full-width {
width: 100%;
}
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
.ui.header .content {
width: 100%;
}
.ui.horizontal.divider {

Timothee P
committed
color: var(--primary-color, #008c86)!important;
Sébastien DA ROCHA
committed
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 */

Timothee P
committed
#form-layers button.button:not(:last-of-type) {
margin-right: 0.5em !important;
Sébastien DA ROCHA
committed
}
#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
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
236
237
238
239
240
241
242
243
244
/* 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;
}
/* ---------------------------------- */
/* 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;
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
310
311
312
313
314
315
316
317
318
}
.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 */
font-family: var(--font-family, 'Roboto Condensed', 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif) !important;
font-family: var(--font-family, 'Roboto Condensed', 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif) !important;
}
.multiselect__tags > .multiselect__input {
border: none !important;
font-size: 1rem !important;

Timothee P
committed
overflow: hidden;
text-overflow: ellipsis;
}
.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;

Timothee P
committed
.multiselect__content-wrapper {
box-shadow: 0 2px 3px 0 rgba(34,36,38,.15);
}
.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;
text-align: center;
}
.multiselect__clear i.icon {
font-size: .75em;
color: #999;

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