Something went wrong on our end
-
Timothee P authoredTimothee P authored
base.css 8.03 KiB
/* ---------------------------------- */
/* APP */
/* ---------------------------------- */
body {
height:100%;
width:100%;
margin: 0;
}
#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 */
}
#app-header {
position: sticky;
top: 0;
z-index: 1;
background: #373636;
}
#app-content {
overflow: auto;
flex: 1 0 auto; /* used to fix height on sticky header and footer */
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;
}
.page-content {
max-width: 1200px;
padding: 0 2em;
margin: 2em auto;
}
#map {
width: 100%;
height: 100%;
min-height: 250px;
touch-action: none; /* workaround for modifying feature on mobile */
}
#app-footer {
overflow: hidden;
background-color: #464646;
text-align: center;
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);
}
/* ---------------------------------- */
/* 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;
}
.ellipsis {
text-overflow: ellipsis;
overflow: hidden;
}
.nowrap {
white-space: nowrap;
}
.important-flex {
display: flex !important;
}
.pointer:hover {
cursor: pointer;
}
.dimmer-anchor {
position: relative;
}
/* ---------------------------------- */
/* MAIN */
/* ---------------------------------- */
.button-hover-orange:hover {
background: #fbbd08 !important;
}
.button-hover-green:hover {
background: #5bba21 !important;
}
.button-hover-red:hover {
background: #ee2e24 !important;
}
.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;
}
.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;
}
/* 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;
}
/* 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;
}
.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;
font-size: 1.2em;
}
.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;
}
.multiselect__tags {
border: 1px solid #ced4da;
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;
}
/* ---------------------------------- */
/* OVERRIDE SEMANTIC STYLES */
/* ---------------------------------- */
.ui.page.dimmer { /* keep the dimmer above the dropdown (z-index 1001: above the map)*/
z-index: 1002;
}