Newer
Older
/* You can add global styles to this file, and also import other style files */
@import 'typography';
@import 'z-index';
@import 'color';
@import 'breakpoint';
@import 'layout';

Hugo SUBTIL
committed
@import '../node_modules/leaflet.locatecontrol/dist/L.Control.Locate.css';
@import '../node_modules/leaflet/dist/leaflet.css';
@import '../node_modules/ngx-toastr/toastr';
@import '../node_modules/ag-grid-community/styles/ag-grid.css';
@import '../node_modules/ag-grid-community/styles/ag-theme-alpine.css';
html {
height: -webkit-fill-available;
margin: 0;
padding: 0;
@media print {
background-color: $white;
}
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;

Guilhem CARRON
committed
::-webkit-scrollbar {

Guilhem CARRON
committed
}
/* Track */
::-webkit-scrollbar-track {

Guilhem CARRON
committed
}
/* Handle */
::-webkit-scrollbar-thumb {

Guilhem CARRON
committed
border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: $grey-3;
}
.root {
display: flex;
flex-direction: column;
height: 100svh;
}
:disabled {
cursor: not-allowed !important;
}
.bold {
font-weight: bold !important;
}
background: white;
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.35) !important;
border-radius: 0.5rem !important;
padding: 0.5rem 0.75rem 0.5rem 3.5rem !important;
background-size: 2.5rem !important;
background-position: 0.5rem, center !important;
min-height: 6.25rem;
display: flex;
flex-direction: column;
justify-content: center;
transition: all 300ms ease;
&:hover {
box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.7) !important;
}
&.toast-warning {
border: solid 1px $info-warning;
color: $info-warning;
background-image: url('/assets/ico/toast-warning.svg');
}
border: solid 1px $info-success;
color: $info-success;
background-image: url('/assets/ico/toast-success.svg');
border: solid 1px $info-error;
color: $info-error;
background-image: url('assets/ico/toast-error.svg');
a {
color: $info-error;
}
border: solid 1px $info-blue;
color: $info-blue;
background-image: url('assets/ico/toast-info.svg');
@media print {
display: none;
}
.app-container {
overflow-wrap: break-word;
}
.content-container {
margin: 0;
box-sizing: border-box;
&.medium-pt {
padding: 25px 0 30px 0;
}
&.small-pt {
padding: 10px 0 30px 0;
}
&.no-pt {
min-height: calc(100vh - #{$header-height} - #{$footer-height});
@media #{$tablet} {
min-height: calc(100vh - #{$header-height});
}
}
.section-container {
width: 80%;
max-width: 1200px;
margin: 0 auto;
@media #{$tablet} {
width: 95%;
max-width: unset;
}
&.no-max-width {
max-width: unset;
margin-bottom: 1rem;

Hugo SUBTIL
committed
&.news {
max-width: 1080px;
}
&.no-padding {
padding: 0;
}
}
}
form p.notRequired {
margin-top: 0px;
font-style: italic;

Guilhem CARRON
committed
color: $grey-3;
.formView {
form {
padding-bottom: 1rem;
// Layout
.w-100 {
width: 100%;
}

Hugo SUBTIL
committed
.mobile-column {
@media #{$large-phone} {
flex-direction: column;
}
}
.flex {
&.row {
flex-direction: row;
}
&.row-wrap {
flex-flow: row wrap;
}
&.column {
flex-direction: column;
}
box-sizing: border-box;
display: flex;
}

Hugo SUBTIL
committed
// PRINT
height: auto;
}
.content-container {
display: none !important;
}
}
.loader {
width: 100%;
text-align: center;
.loader-gif {
min-width: 10%;
min-height: 10%;
}
}
.hide-on-desktop {
display: none;
@media #{$tablet} {
display: block;
}
}

Hugo SUBTIL
committed
.hide-on-mobile {
@media #{$tablet} {
display: none !important;
}
}
.hide-on-print {
@media print {
display: none !important;
}
}
.show-on-print {
@media not print {
display: none !important;
}
}

Guilhem CARRON
committed

Guilhem CARRON
committed
.autocomplete-items {
width: 100%;

Guilhem CARRON
committed
border: 0.0625rem solid #d4d4d4;

Guilhem CARRON
committed
box-sizing: border-box;
border-top: none;
border-bottom: none;
z-index: 99;
background-color: #fff;
cursor: pointer;
max-height: 250px;
overflow: auto;
p {
padding: 12px;
&:not(:last-child) {
border-bottom: 1px solid $grey-7;
}
&:hover {
background-color: $grey-7;
cursor: pointer;
}
}

Guilhem CARRON
committed
}
display: block !important;
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
// Status colors
.error {
color: $info-error;
}
.success {
color: $info-success;
}
.info {
color: $info-blue;
}
.warning {
color: $info-warning;
}
.warningBorder {
border-color: $info-warning !important;
}
h1,
h2,
.uppercase {
text-transform: uppercase;
}
font-size: $font-size-xxsmall;
.formGroup {
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 600px;
}
div.inline {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
}
.tagList {
display: inline-flex;
flex-wrap: wrap;
gap: 12px 8px;
}
/* STORYBOOK */
.sb-colorRow {
margin-block: 12px !important;
}
p.required-text-help {
color: $grey-1;
font-size: $font-size-xsmall !important;
}