Files
fiscad-dgi-front/src/styles.css
2026-04-01 17:15:17 +01:00

1032 lines
19 KiB
CSS

/* You can add global styles to this file, and also import other style files */
@import "~ol/ol.css";
@import "~ol-layerswitcher/dist/ol-layerswitcher.css";
/* You can add global styles to this file, and also import other style files */
@font-face {
font-family: "Sen";
src:
url("assets/font/Sen/static/Sen-Regular.ttf") format("truetype"),
url("assets/font/Sen/static/Sen-Medium.ttf") format("truetype"),
url("assets/font/Sen/static/Sen-Bold.ttf") format("truetype"),
url("assets/font/Sen/static/Sen-SemiBold.ttf") format("truetype"),
url("assets/font/Sen/static/Sen-ExtraBold.ttf") format("truetype");
}
* {
font-family: "Sen" !important;
}
/* Input redesign */
.did-floating-label-content {
position: relative;
margin-bottom: 20px;
}
.did-floating-label {
color: #515356e0;
font-size: 12px;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 15px;
top: 13px;
padding: 0 5px;
background: #fff;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}
.did-floating-input,
.did-floating-select {
font-size: 12px;
display: block;
width: 100%;
height: 45px;
padding: 0 20px;
background: #fff;
color: black;
border: 1px solid #51535675;
border-radius: 4px;
box-sizing: border-box;
&:focus {
outline: none;
~ .did-floating-label {
top: -13px;
font-size: 12px;
}
}
}
select.did-floating-select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select.did-floating-select::-ms-expand {
display: none;
}
.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
top: -13px;
font-size: 12px;
}
.did-floating-select:not([value=""]):valid ~ .did-floating-label {
top: -13px;
font-size: 12px;
}
.did-floating-select[value=""]:focus ~ .did-floating-label {
top: 22px;
font-size: 12px;
}
.did-floating-select:not([multiple]):not([size]) {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
background-position: right 15px top 50%;
background-repeat: no-repeat;
}
.did-error-input {
.did-floating-input,
.did-floating-select {
border: 2px solid #9d3b3b;
color: #9d3b3b;
}
.did-floating-label {
font-weight: 600;
color: #9d3b3b;
}
.did-floating-select:not([multiple]):not([size]) {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
}
}
.input-group {
display: flex;
.did-floating-input {
border-radius: 0 4px 4px 0;
border-left: 0;
padding-left: 0;
}
}
.input-group-append {
display: flex;
align-items: center;
}
.input-group-text {
display: flex;
align-items: center;
font-weight: 400;
height: 70px;
color: #323840;
padding: 0 5px 0 20px;
font-size: 12px;
text-align: center;
white-space: nowrap;
border: 1px solid #0c623b;
border-radius: 4px 0 0 4px;
border-right: none;
}
/* fin input redesign */
/* animation */
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.bp4-spinner {
align-items: center;
display: flex;
justify-content: center;
overflow: visible;
vertical-align: middle;
}
.bp4-spinner .bp4-spinner-animation {
background-image: url(./assets/static/logo-dgi-circle.png);
background-color: #fff !important;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-size: 3.5rem;
height: 3rem;
}
.bp4-spinner-animation {
animation: pt-spinner-animation 0.5s linear infinite;
}
.bp4-spinner .bp4-spinner-animation {
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
padding: 1.875rem;
width: 4.125rem;
height: 4.125rem;
border-radius: 50%;
top: 35%;
}
.bp4-spinner .bp4-spinner-animation:before {
content: "";
width: 5.375rem;
height: 5.375rem;
background-image: url(./assets/circle-animation-1.9e758250.svg);
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
animation-direction: normal;
}
.bp4-spinner .bp4-spinner-animation,
.bp4-spinner .bp4-spinner-animation:before {
position: absolute;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.bp4-spinner .bp4-spinner-animation:after {
content: "";
position: absolute;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 6.0625rem;
height: 6.0625rem;
background-image: url(./assets/circle-animation-2.f86b3c1c.svg);
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
animation-direction: reverse;
}
.loading-spin {
background: #ecf9f4;
height: 100%;
z-index: 1000 !important;
position: sticky;
top: 31%;
margin-left: 10%;
}
/* animation */
a:focus,
input:focus {
border-color: #51535675 !important;
}
.mb-20 {
margin-bottom: 20px;
}
.ant-btn {
height: 40px;
}
.nav .nav-item.dropdown .navbar-dropdown .dropdown-item,
.navbar-nav .nav-item.dropdown .navbar-dropdown .dropdown-item {
padding: 20px 25px !important;
}
.active-menu-link {
border-right: solid 3px #0c623b !important;
background: #0c623b1f !important;
}
/* style de datatable */
.dataTables_length,
.dataTables_info,
.dataTables_filter {
font-size: 13px;
}
.dataTables_filter > label > input {
line-height: 24px !important;
}
.dataTables_length > label > select {
width: 37% !important;
}
a.page-link {
height: 35px !important;
}
.page-item.active .page-link {
background-color: #0c623b !important;
border-color: #0c623b !important;
color: white !important;
}
.table th,
.table td {
padding: 10px 30px !important;
}
/* fin style de datatable */
.btn-icon-modify {
font-size: 15px !important;
}
.hidden-for-loading * {
opacity: 0.8;
cursor: not-allowed !important;
}
.visible-for-loading {
opacity: 1;
cursor: allowed !important;
}
.ant-modal-content {
border-radius: 7px !important;
}
.ant-message {
z-index: 9999999999 !important;
}
.ant-modal-confirm-btns > button {
border-radius: 56%;
font-size: 10px;
padding: 12px;
}
/* redesign de selct de ant */
.ant-select,
nz-select,
nz-select-top-control {
width: 100% !important;
height: 45px !important;
border-radius: 4px !important;
}
.ant-select-selection-placeholder {
margin-top: 5px;
margin-left: 10px;
}
.ant-select-single .ant-select-selector .ant-select-selection-search {
top: 5px;
left: 20px;
}
.ant-select-selection-item {
top: 5px;
left: 10px;
}
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
background-color: #e0f3e1 !important;
}
.ant-select-multiple .ant-select-selection-item {
top: 0px !important;
left: 10px;
}
.ant-select-multiple .ant-select-selection-placeholder {
margin-top: 0px !important;
margin-left: 10px;
}
/* fin redesign de selct de ant */
.mb-10 {
margin-bottom: 1rem !important;
}
.mb-15 {
margin-bottom: 1.5rem !important;
}
.ant-alert-description {
font-size: 12px !important;
line-height: 18px !important;
}
.ant-modal-confirm-body .ant-modal-confirm-content {
font-size: 13px !important;
}
.active-menu-link-user {
background: #0c623b1f !important;
}
.page-link {
color: #0c623b !important;
}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
background-color: #e1f0e3 !important;
}
.ant-ribbon {
font-size: 0.65rem;
font-weight: 600;
}
.vertical-middle {
vertical-align: middle !important;
}
.fw-bold {
font-weight: bold !important;
}
.table td,
.table th {
white-space: unset !important;
line-height: 1.4 !important;
}
.table td.text-muted {
font-size: 13px;
}
.ant-tabs-nav {
background: #f5f5f5 !important;
}
.btn.btn-icons {
width: 35px !important;
height: 35px !important;
padding: 0px !important;
text-align: center;
vertical-align: middle;
}
::selection {
color: #fff;
background: #9d9d9d !important;
}
.ant-tabs-tab {
font-size: 12.5px;
}
.table td,
.table th {
font-size: 12px !important;
}
.ant-select-item-option-content,
.ant-select-single .ant-select-selector .ant-select-selection-item,
.ant-select-single .ant-select-selector .ant-select-selection-placeholder,
.ant-select-single.ant-select-show-arrow .ant-select-selection-item {
font-size: 12px !important;
}
.ant-select-multiple .ant-select-selection-item-content {
font-size: 12px !important;
}
.ant-checkbox + span {
font-size: 12px !important;
}
.ant-alert {
font-size: 12px;
}
#map {
width: 100%;
height: 840px;
border: 2px solid #ffffff;
padding: unset !important;
}
.ant-collapse-content-box {
padding: 0px !important;
}
.fs-12 {
font-size: 12px !important;
}
.fs-11 {
font-size: 11px !important;
}
.ant-collapse > .ant-collapse-item > .ant-collapse-header,
.ol-mouse-position {
font-size: 12px !important;
}
.ol-mouse-position {
top: 70px;
}
.ol-full-screen {
top: 4em;
}
.ant-message {
font-size: 12px;
}
.btn {
font-size: 12px !important;
}
.ant-modal-body {
font-size: 12px;
}
.card {
flex-direction: unset !important;
}
.navbar.default-layout .navbar-brand-wrapper .navbar-brand img {
width: unset !important;
max-width: 100% !important;
height: 45px !important;
margin-top: 3px !important;
}
.ico-header {
background: #3cb22a;
padding: 8px !important;
border-radius: 50% !important;
}
.ant-btn > span {
font-size: 12px !important;
}
.cdk-overlay-container {
z-index: 999999999 !important;
}
.review-list-item {
align-items: unset !important;
justify-content: unset !important;
max-width: 510px;
cursor: pointer;
}
.review-list-item-menu {
align-items: unset !important;
justify-content: unset !important;
max-width: 210px;
min-width: 150px;
cursor: pointer;
color: #1c2127;
}
.review-list-item-menu > a {
text-decoration: none !important;
color: #1c2127;
font-size: 12px;
}
.review-list-item-menu > a:hover {
color: #0c623b;
text-decoration: none !important;
}
.card-body-review {
background-color: rgb(255, 255, 255);
padding: 1.25rem;
box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 30px 0px;
border-radius: 3px;
margin-right: 3%;
margin-left: 1.5%;
margin-top: -3%;
}
.btn-review {
padding: 0.8rem 1.375rem !important;
}
.dataTable > thead > tr > th {
background: linear-gradient(rgb(54 54 54), rgb(20 97 59));
color: white;
}
.form-control {
border: 1px solid #51535675 !important;
}
.btn-primary:hover {
color: #fff;
background-color: #313131 !important;
border-color: unset !important;
}
/* header menu */
.flag-container {
width: 100%;
height: 8px;
margin-bottom: 0;
bottom: 0;
/*margin-top: -1%;*/
}
.flag {
padding: 0;
height: 100%;
width: 100%;
margin-left: auto;
margin-right: auto;
list-style-type: none;
}
.flag > li:first-child {
background: RGB(16, 135, 87);
}
.flag > li {
height: 100%;
margin: 0;
padding: 0;
width: 33.33%;
display: inline-block;
box-sizing: border-box;
vertical-align: middle;
float: left;
}
.flag > li:first-child + li {
background: RGB(255, 190, 0);
width: 33.34%;
}
.flag li:first-child + li + li {
background: RGB(235, 0, 0);
}
.img-menu {
height: 55%;
border-radius: 50%;
cursor: pointer;
transition: all 0.25s ease-out;
}
.img-menu:hover {
transform: scale(1.15) rotate(2deg);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.div-menu > .col-md-4 {
height: 350px;
}
.center-vertical {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.img-left-menu {
height: 45%;
margin-left: 50%;
margin-top: 30%;
}
.search-menu-dash {
font-size: 1rem;
padding: 15px 50px !important;
border: 0px !important;
width: 100%;
font-size: 16px !important;
height: 4rem;
border-radius: 30px;
transition: box-shadow 0.1s cubic-bezier(0.4, 1, 0.75, 0.9);
vertical-align: middle;
color: #1c2127;
font-size: 14px;
font-weight: 400;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
cursor: pointer;
}
input::placeholder {
color: #a4afb9ff !important;
font-size: 14px !important;
font-weight: 400 !important;
}
h1.titrePageDashboard {
border-radius: 5px;
background: rgb(243, 243, 243);
font-size: 1rem;
padding: 0.9375rem 1.875rem !important;
margin-bottom: 1.875rem !important;
}
.btn-search-input {
padding: 13px 17px;
height: 52px;
border-radius: 50% !important;
background: #2c2c2c;
border: none;
margin-left: -4.2%;
margin-top: 1%;
}
.btn-search-input > img {
height: 17px;
}
.div-icon-dash {
min-width: 65px !important;
height: 60px !important;
display: grid;
place-items: center;
border-radius: 5px;
box-shadow: 0 15px 30px rgb(0 0 0 / 30%);
/* background: #c74d61 !important;*/
background: rgb(20 97 59);
}
.div-icon-dash-dark {
min-width: 65px !important;
height: 60px !important;
display: grid;
place-items: center;
border-radius: 5px;
box-shadow: 0 15px 30px rgb(0 0 0 / 30%);
/* background: #c74d61 !important;*/
background: rgb(44 44 44);
}
.div-icon-dash-header {
min-width: 35px !important;
height: 35px !important;
display: grid;
place-items: center;
border-radius: 5px;
box-shadow: 0 15px 30px rgb(0 0 0 / 30%);
/* background: #c74d61 !important;*/
background: rgb(20 97 59);
}
.div-icon-dash-dark-header {
min-width: 35px !important;
height: 35px !important;
display: grid;
place-items: center;
border-radius: 5px;
box-shadow: 0 15px 30px rgb(0 0 0 / 30%);
/* background: #c74d61 !important;*/
background: rgb(44 44 44);
}
.div-icon-dash-dark-header > img,
.div-icon-dash-header > img {
height: 13px !important;
}
.div4-menu-dashboard {
display: flex;
cursor: pointer;
}
.footerIntranet {
background: rgb(255, 255, 255);
position: relative;
z-index: 1;
box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 30px 0px;
padding-top: 2%;
}
.footerIntranet div.footerIntranetPart2 {
border-top-width: 1px;
border-top-style: solid;
border-top-color: rgba(0, 0, 0, 0.1);
}
div.formulaire,
form.formulaire {
border: 1px solid rgb(203, 203, 203);
padding: 1.75rem;
margin-bottom: 1.875rem;
width: 50%;
}
.btn:focus,
.btn.focus {
outline: 0;
box-shadow: unset !important;
}
.btn:hover {
box-shadow: unset !important;
background: none;
}
.navBar {
background: linear-gradient(rgb(64, 64, 64), rgb(42, 42, 42)) !important;
border-top-width: 0.5px;
border-top-style: solid;
border-top-color: rgba(255, 255, 255, 0.18);
}
.ant-menu-horizontal {
line-height: unset !important;
}
.ant-menu-item {
margin-bottom: 10px;
font-size: 12px;
}
.ant-menu-item-selected {
background-color: unset !important;
}
.icon-home-header {
margin-right: 1.25rem;
width: 2rem;
height: 2rem;
background-size: 0.875rem auto;
background-repeat: no-repeat;
background-position: center center;
background-color: rgba(0, 0, 0, 0.21);
border-radius: 3px;
opacity: 1;
transition: 1s;
padding: 8px;
margin-top: 10px;
margin-bottom: -5px;
}
.ant-menu-dark.ant-menu-horizontal > .ant-menu-item:hover {
background-color: unset !important;
color: #3cb22a !important;
}
/* fin header menu */
.svg:not([fill]) {
fill: currentcolor;
}
svg {
margin-bottom: -4px;
}
.btn-outline-review {
float: right;
background: transparent !important;
color: black !important;
}
.info-label {
font-size: 15px;
color: #223322b8;
}
.info-text {
margin-top: 2px;
margin-bottom: 7px !important;
}
.info-left-menu {
padding-left: 15px;
border-radius: 5px;
border-bottom: unset !important;
margin: 10px auto !important;
transition: all 0.4s ease;
}
.info-left-menu-checked {
background: #313131 !important;
color: white !important;
}
.info-left-menu:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
background: linear-gradient(135deg, #f5f7fa 0%, #d1d1d1 100%);
}
.info-left-menu > a {
font-size: 12px !important;
}
.info-left-menu > a > img {
height: 20px;
margin-top: -3px;
margin-right: 8px;
}
.info-no-data {
display: grid;
place-items: center;
padding: 50px;
background: #9e9e9e33;
border-radius: 5px;
font-size: 13px;
width: 100%;
}
.info-no-data > i {
font-size: 35px;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn,
.ant-tabs-tab-btn {
padding-left: 15px;
padding-right: 15px;
}
/*
.ant-tree .ant-tree-node-content-wrapper {
font-size: 10px;
}
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
background-color: #3cb22a;
color: white;
}
.ant-tree .ant-tree-treenode {
padding: 0 0 0px 0;
}*/
.ant-btn > .anticon {
display: inline-grid;
}
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
background-color: #3cb22a33;
border-radius: 5px;
}
/* ── Ligne du nœud ── */
.tree-node-row {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 2px 6px 2px 0;
border-radius: 6px;
transition: background 0.15s ease;
cursor: pointer;
width: 100%;
}
.tree-node-row:hover {
background: #f5f7ff;
}
/* ── Icône ── */
.tree-node-icon {
font-size: 17px;
display: flex;
align-items: center;
flex-shrink: 0;
}
/* ── Titre ── */
.tree-node-title {
font-size: 12px;
font-weight: 500;
color: #374151;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 280px;
}
.tree-node-leaf {
color: #1d4ed8;
font-weight: 600;
}
/*.tree-node-selected {
color: #10b981 !important;
}*/
/* ── Badge parcelles ── */
.tree-node-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0px 6px; /* ← réduit (était 1px 8px) */
border-radius: 999px;
font-size: 10px; /* ← réduit (était 11px) */
font-weight: 500; /* ← allégé (était 600) */
color: #ffffff;
white-space: nowrap;
flex-shrink: 0;
opacity: 0.85;
line-height: 16px; /* ← hauteur fixe réduite */
}
/* ── Lignes de l'arbre nz ── */
::ng-deep .ant-tree-switcher {
color: #9ca3af !important;
}
::ng-deep .ant-tree-node-content-wrapper {
width: 100%;
}
::ng-deep .ant-tree-node-content-wrapper:hover {
background: transparent !important;
}
::ng-deep .ant-tree-indent-unit {
width: 20px;
}
.apexcharts-legend-text {
font-size: 10px !important;
}
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td,
.ant-table tfoot > tr > th,
.ant-table tfoot > tr > td {
padding: 12px 12px !important;
font-size: 12px !important;
}
.legend-text,
.legend-value {
font-size: 11px !important;
}
.ant-steps-item-title {
font-size: 13px !important;
}
.ant-modal-confirm-btns > button {
width: 48px !important;
height: 46px !important;
}
.icon-raccourcis-modal {
display: inline-flex;
float: right;
font-size: 25px;
cursor: pointer;
color: #15603a;
}