:root { --primary-color : #3A506B; /* Bleu métallique */ --secondary-color : #B0BEC5; /* Gris acier */ --accent-color : #D68C45; /* Cuivre */ } body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; background-image: url(../assets/bgd.webp); background-repeat:no-repeat; background-size: cover; background-blend-mode :soft-light; height: 100vh; } .message { margin: 30px 0; font-size: 14px; overflow-wrap: anywhere; } .message strong{ font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif; font-size: 20px; } /** Modal Css */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); justify-content: center; align-items: center; z-index: 3; } .modal-content { width: 55%; height: 30%; background-color: white; border-radius: 4px; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; } .modal-title { margin: 0; padding-bottom: 8px; width: 100%; font-size: 0.9em; border-bottom: 1px solid #ccc; } .confirmation-box { /* margin-top: 20px; */ align-content: center; width: 70%; height: 20%; /* padding: 20px; */ font-size: 1.5em; color: #333333; top: 5%; position: relative; } .nav-wrapper { position: fixed; z-index: 2; background: radial-gradient(circle, white, var(--primary-color)); /* background-color: #CFD8DC; */ display: flex; justify-content: flex-end; align-items: center; color: #37474F; height: 9vh; width: 100vw; left: 0; top: 0; box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12); .nav-right-icons { display: flex; .notification-container { position: relative; display: inline-block; } .notification-bell, .burger-menu { z-index: 3; height: 20px; width: 20px; margin-right: 1rem; } .notification-badge { position: absolute; top: -.7rem; left: -.8rem; background-color: red; color: white; border-radius: 50%; padding: 2.5px 6px; font-size: 0.8em; font-weight: bold; } } .notification-board { position: absolute; width: 20rem; min-height: 8rem; background-color: white; right: 0.5rem; display: none; border-radius: 4px; text-align: center; display: flex; flex-direction: column; align-items: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: none; .notification-element { padding: .8rem 0; width: 100%; &:hover { background-color: rgba(26, 28, 24, .08); } } .notification-element:not(:last-child) { border-bottom: 1px solid; } } } .brand-logo { height: 100%; width: 100vw; align-content: center; position: relative; display: flex; position: absolute; align-items: center; justify-content: center; text-align: center; font-size: 1.5em; font-weight: bold; } .container { text-align: center; display: grid; height: 100vh; grid-template-columns: repeat(7, 1fr); gap: 10px; grid-auto-rows: 10vh 15vh 1fr; } .title-container { grid-column: 2 / 7; grid-row: 2; } .page-container { grid-column: 2 / 7; grid-row: 3 ; justify-content: center; display: flex; padding: 1rem; box-sizing: border-box; max-height: 60vh; } h1 { font-size: 2em; margin: 20px 0; } @media only screen and (min-width: 600px) { .tab-container { display: none; } .page-container { display: flex; align-items: center; } .process-container { grid-column: 3 / 6; grid-row: 3 ; .card { min-width: 40vw; } } .separator { width: 2px; background-color: #78909C; height: 80%; margin: 0 0.5em; } .tab-content { display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; height: 80%; } } @media only screen and (max-width: 600px) { .process-container { grid-column: 2 / 7; grid-row: 3 ; } .container { grid-auto-rows: 10vh 15vh 15vh 1fr; } .tab-container { grid-column: 1 / 8; grid-row: 3; } .page-container { grid-column: 2 / 7; grid-row: 4 ; } .separator { display: none; } .tabs { display: flex; flex-grow: 1; overflow: hidden; z-index: 1; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #E0E4D6; } .tab { flex: 1; text-align: center; padding: 10px 0; cursor: pointer; font-size: 1em; color: #6200ea; &:hover { background-color: rgba(26, 28, 24, .08); } } .tab.active { border-bottom: 2px solid #6200ea; font-weight: bold; } .card.tab-content { display: none; } .tab-content.active { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 80%; } .modal-content { width: 80%; height: 20%; } } .qr-code { display: flex; justify-content: center; align-items: center; height: 200px; } .emoji-display { font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif; font-size: 20px; } #emoji-display-2{ margin-top: 30px; font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif; font-size: 20px; } #okButton{ margin-bottom: 2em; cursor: pointer; background-color: #D0D0D7; color: white; border-style: none; border-radius: 5px; color: #000; padding: 2px; margin-top: 10px; } .pairing-request { font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif; font-size: 14px; margin-top: 0px; } .sp-address-btn { margin-bottom: 2em; cursor: pointer; background-color: #D0D0D7; color: white; border-style: none; border-radius: 5px; color: #000; padding: 2px; } .camera-card { display: flex; justify-content: center; align-items: center; /* height: 200px; */ } .btn { display: inline-block; padding: 10px 20px; background-color: var(--primary-color); color: white; text-align: center; border-radius: 5px; cursor: pointer; text-decoration: none; } .btn:hover { background-color: #3700b3; } .card { min-width: 300px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: white; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-sizing: border-box; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 40vh; max-height: 60vh; justify-content: flex-start; padding: 1rem; overflow-y: auto; } .card-content { flex-grow: 1; flex-direction: column; display: flex; justify-content: flex-start; align-items: center; text-align: left; font-size: .8em; position: relative; left: 2vw; width: 90%; .process-title { font-weight: bold; padding: 1rem 0; } .process-element { padding: .4rem 0; &:hover { background-color: rgba(26, 28, 24, .08); } &.selected { background-color: rgba(26, 28, 24, .08); } } } .card-description { padding: 20px; font-size: 1em; color: #333; width: 90%; height: 50px; display: flex; justify-content: center; align-items: center; margin-bottom: 0px; } .card-action { width: 100%; } .menu-content { display: none; position: absolute; top: 3.4rem; right: 1rem; background-color: white; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); border-radius: 5px; overflow: hidden; } .menu-content a { display: block; padding: 10px 20px; text-decoration: none; color: #333; border-bottom: 1px solid #e0e0e0; &:hover { background-color: rgba(26, 28, 24, .08); } } .menu-content a:last-child { border-bottom: none; } .qr-code-scanner { display: none; } /* QR READER */ #qr-reader div { position: inherit; } #qr-reader div img{ top: 15px ; right: 25px; margin-top: 5px; } /* INPUT CSS **/ .input-container { position: relative; width: 100%; background-color: #ECEFF1; } .input-field { width: 36vw; padding: 10px 0; font-size: 1em; border: none; border-bottom: 1px solid #ccc; outline: none; background: transparent; transition: border-color 0.3s; } .input-field:focus { border-bottom: 2px solid #6200ea; } .input-label { position: absolute; margin-top: -0.5em; top: 0; left: 0; padding: 10px 0; font-size: 1em; color: #999; pointer-events: none; transition: transform 0.3s, color 0.3s, font-size 0.3s; } .input-field:focus + .input-label, .input-field:not(:placeholder-shown) + .input-label { transform: translateY(-20px); font-size: 0.8em; color: #6200ea; } .input-underline { position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background-color: #6200ea; transition: width 0.3s, left 0.3s; } .input-field:focus ~ .input-underline { width: 100%; left: 0; } .dropdown-content { position: absolute; flex-direction: column; top: 100%; left: 0; width: 100%; max-height: 150px; overflow-y: auto; border: 1px solid #ccc; border-radius: 4px; background-color: white; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: none; z-index: 1; } .dropdown-content span { padding: 10px; cursor: pointer; list-style: none; } .dropdown-content span:hover { background-color: #f0f0f0; } /** AUTOCOMPLETE **/ select[data-multi-select-plugin] { display: none !important; } .multi-select-component { width: 36vw; padding: 5px 0; font-size: 1em; border: none; border-bottom: 1px solid #ccc; outline: none; background: transparent; display: flex; flex-direction: row; height: auto; width: 100%; -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; } .autocomplete-list { border-radius: 4px 0px 0px 4px; } .multi-select-component:focus-within { box-shadow: inset 0px 0px 0px 2px #78ABFE; } .multi-select-component .btn-group { display: none !important; } .multiselect-native-select .multiselect-container { width: 100%; } .selected-processes { background-color: white; padding: 0.4em; } .selected-wrapper { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; display: inline-block; border: 1px solid #d9d9d9; background-color: #ededed; white-space: nowrap; margin: 1px 5px 5px 0; height: 22px; vertical-align: top; cursor: default; } .selected-wrapper .selected-label { max-width: 514px; display: inline-block; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; vertical-align: top; } .selected-wrapper .selected-close { display: inline-block; text-decoration: none; font-size: 14px; line-height: 1.49em; margin-left: 5px; padding-bottom: 10px; height: 100%; vertical-align: top; padding-right: 4px; opacity: 0.2; color: #000; text-shadow: 0 1px 0 #fff; font-weight: 700; } .search-container { display: flex; flex-direction: row; } .search-container .selected-input { background: none; border: 0; height: 20px; width: 60px; padding: 0; margin-bottom: 6px; -webkit-box-shadow: none; box-shadow: none; } .search-container .selected-input:focus { outline: none; } .dropdown-icon.active { transform: rotateX(180deg) } .search-container .dropdown-icon { display: inline-block; padding: 10px 5px; position: absolute; top: 5px; right: 5px; width: 10px; height: 10px; border: 0 !important; /* needed */ -webkit-appearance: none; -moz-appearance: none; /* SVG background image */ background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23818181%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23818181%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); background-position: center; background-size: 10px; background-repeat: no-repeat; } .search-container ul { position: absolute; list-style: none; padding: 0; z-index: 3; margin-top: 29px; width: 100%; right: 0px; background: #fff; border: 1px solid #ccc; border-top: none; border-bottom: none; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); box-shadow: 0 6px 12px rgba(0, 0, 0, .175); } .search-container ul :focus { outline: none; } .search-container ul li { display: block; text-align: left; padding: 8px 29px 2px 12px; border-bottom: 1px solid #ccc; font-size: 14px; min-height: 31px; } .search-container ul li:first-child { border-top: 1px solid #ccc; border-radius: 4px 0px 0 0; } .search-container ul li:last-child { border-radius: 4px 0px 0 0; } .search-container ul li:hover.not-cursor { cursor: default; } .search-container ul li:hover { color: #333; background-color: #f0f0f0; ; border-color: #adadad; cursor: pointer; } /* Adding scrool to select options */ .autocomplete-list { max-height: 130px; overflow-y: auto; } /**************************************** Process page card ******************************************************/ .process-card { min-width: 300px; border: 1px solid #e0e0e0; border-radius: 8px; background-color: white; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 40vh; max-height: 60vh; justify-content: space-between; padding: 1rem; overflow-y: auto; } .process-card-content { text-align: left; font-size: .8em; position: relative; left: 2vw; width: 90%; .process-title { font-weight: bold; padding: 1rem 0; } .process-element { padding: .4rem 0; &:hover { background-color: rgba(26, 28, 24, .08); } &.selected { background-color: rgba(26, 28, 24, .08); } } .selected-process-zone { background-color: rgba(26, 28, 24, .08); } } .process-card-description { padding: 20px; font-size: 1em; color: #333; width: 90%; } .process-card-action { width: 100%; }