564 lines
10 KiB
CSS
564 lines
10 KiB
CSS
/*
|
|
Colors taken from:
|
|
https://tailwindcss.com/docs/customizing-colors#default-color-palette
|
|
*/
|
|
|
|
/* Toolbar Buttons */
|
|
|
|
.navbar-toggler {
|
|
border: 0;
|
|
}
|
|
|
|
.material-symbols-outlined {
|
|
align-content: center;
|
|
}
|
|
|
|
.btn-group {
|
|
margin-right: 10vw;
|
|
margin-bottom: 10vh;
|
|
}
|
|
|
|
.btn_refresh, .btn_reject, .btn_complete {
|
|
height:2.5rem;
|
|
}
|
|
|
|
.btn_complete .icon, .btn_reject .icon, .btn_refresh .icon {
|
|
width: 1.1rem;
|
|
}
|
|
|
|
.btn_complete span, .btn_reject span, .btn_refresh span {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.button-finish {
|
|
color: #fff;
|
|
background-color: #0d6efd;
|
|
border-color: #0d6efd;
|
|
}
|
|
|
|
.button-finish:hover {
|
|
color: #fff;
|
|
background-color: #0b5ed7;
|
|
border-color: #0a58ca;
|
|
}
|
|
|
|
.button-finish:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
|
|
}
|
|
|
|
.button-finish:active {
|
|
color: #fff;
|
|
background-color: #0a58ca;
|
|
border-color: #0a53be;
|
|
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
|
}
|
|
|
|
.button-finish:disabled {
|
|
color: #fff;
|
|
background-color: #0d6efd;
|
|
border-color: #0d6efd;
|
|
}
|
|
|
|
.button-reject {
|
|
color: #fff;
|
|
background-color: #dc3545;
|
|
border-color: #dc3545;
|
|
}
|
|
|
|
.button-reject:hover {
|
|
color: #fff;
|
|
background-color: #bb2d3b;
|
|
border-color: #b02a37;
|
|
}
|
|
|
|
.button-reject:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
|
|
}
|
|
|
|
.button-reject:active {
|
|
color: #fff;
|
|
background-color: #b02a37;
|
|
border-color: #a52834;
|
|
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
|
}
|
|
|
|
.button-reject:disabled {
|
|
color: #fff;
|
|
background-color: #dc3545;
|
|
border-color: #dc3545;
|
|
}
|
|
|
|
.button-reset {
|
|
color: #fff;
|
|
background-color: #6c757d;
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
.button-reset:hover {
|
|
color: #fff;
|
|
background-color: #5c636a;
|
|
border-color: #565e64;
|
|
}
|
|
|
|
.button-reset:focus {
|
|
box-shadow: 0 0 0 0.25rem rgba(130, 138, 145, 0.5);
|
|
}
|
|
|
|
.button-reset:active {
|
|
color: #fff;
|
|
background-color: #565e64;
|
|
border-color: #51585e;
|
|
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
|
}
|
|
|
|
.button-reset:disabled {
|
|
color: #fff;
|
|
background-color: #6c757d;
|
|
border-color: #6c757d;
|
|
}
|
|
|
|
body {
|
|
background: #f8fcfc;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
main {
|
|
display:flex;
|
|
margin: 0 0 0.5vh 0;
|
|
}
|
|
|
|
.envelope-view {
|
|
display: flex; /* d-flex */
|
|
flex-direction: column; /* flex-column */
|
|
width: 100vw;
|
|
height: 95.9vh;
|
|
}
|
|
|
|
#app {
|
|
background: gray;
|
|
width: 100vw;
|
|
height: 100%;
|
|
flex-grow: 1;
|
|
border-width: 0;
|
|
}
|
|
|
|
footer {
|
|
height: 4vh;
|
|
min-height: 1.5rem;
|
|
background-color: #001F61;
|
|
border-radius: 10px 10px 0 0;
|
|
color: #fff;
|
|
font-family: 'Muli';
|
|
padding: 0.5vh 0;
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
z-index: 998;
|
|
border-width: 0;
|
|
font-size: clamp(0.75rem, 1.5vw, 1rem);
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
align-items: start;
|
|
}
|
|
|
|
footer * {
|
|
margin-left: clamp(0.5rem, 2vw, 1rem);
|
|
}
|
|
|
|
footer a {
|
|
color: #FF7500;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.page {
|
|
margin-top: 3rem;
|
|
background: white;
|
|
border-radius: 0.313rem;
|
|
box-shadow: rgba(9, 30, 66, 0.25) 0rem 0.25rem 0.5rem -0.125rem, rgba(9, 30, 66, 0.08) 0rem 0rem 0rem 0.063rem;
|
|
max-width: 40rem;
|
|
}
|
|
|
|
.page section {
|
|
max-width: 30rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.page header .icon {
|
|
display: inline-block;
|
|
border-radius: 6.25rem;
|
|
padding: 0.938rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.page header .icon.admin {
|
|
background-color: #331904;
|
|
color: #fecba1;
|
|
}
|
|
|
|
.page header .icon.locked {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
}
|
|
|
|
.page header .icon.signed {
|
|
background-color: #146c43;
|
|
color: #fff;
|
|
}
|
|
|
|
.page header .icon.rejected {
|
|
background-color: #e4d8d5;
|
|
color: #fff;
|
|
}
|
|
|
|
.page header .icon.expired {
|
|
background-color: rgba(228, 216, 213, 0.5);
|
|
color: #fff;
|
|
}
|
|
|
|
.page .form {
|
|
max-width: 30rem;
|
|
margin: 2rem auto;
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
#form-access-code > .input,
|
|
#form-admin-password > .input {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
#page-admin header .icon {
|
|
background-color: #331904;
|
|
color: #fecba1;
|
|
}
|
|
|
|
|
|
.envelope {
|
|
display: block;
|
|
border: 0.063rem solid #eee;
|
|
margin-bottom: 1rem;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
footer#page-footer {
|
|
color: #333;
|
|
max-width: 40rem;
|
|
margin-top: 1rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
footer#page-footer a,
|
|
footer#page-footer a:link,
|
|
footer#page-footer a:hover,
|
|
footer#page-footer a:visited,
|
|
footer#page-footer a:focus {
|
|
color: #444;
|
|
}
|
|
|
|
.sender-card {
|
|
background-color: transparent;
|
|
border: none;
|
|
}
|
|
|
|
.sender-card .row {
|
|
height: 7vh;
|
|
}
|
|
|
|
.sender-card img {
|
|
height: 7vh;
|
|
background-color: rgb(209, 207, 207);
|
|
border-radius: 3.125rem;
|
|
}
|
|
|
|
.navbar .container {
|
|
display: flex;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 4rem;
|
|
left: 0;
|
|
}
|
|
|
|
.envelope-message {
|
|
position: absolute;
|
|
display: flex;
|
|
width: calc(100% - 8rem);
|
|
align-items: center;
|
|
justify-content: start;
|
|
margin-left: 4rem;
|
|
}
|
|
|
|
.envelope-message .icon {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.envelope-message .message {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-size: 16px;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.logo {
|
|
width: 9rem;
|
|
position: absolute;
|
|
right: 0;
|
|
margin-right:2rem;
|
|
}
|
|
|
|
.none-display {
|
|
display: none
|
|
}
|
|
|
|
.dropdown-flag img, .img-flag {
|
|
width: 30%;
|
|
height: 70%;
|
|
}
|
|
|
|
.dropdown-flag {
|
|
height: 75%;
|
|
width: 75%;
|
|
}
|
|
|
|
/* CSS for custom class to increase dropdown height */
|
|
.increase-dropdown-height {
|
|
min-height: 25rem; /* Optional, larger value for increased height */
|
|
}
|
|
|
|
|
|
/* Adjusting select2 width to fit within a specific form size */
|
|
.dropdown-flag .select2-container {
|
|
width: 100% !important; /* Makes the container full width */
|
|
max-width: 11.25rem; /* Suitable maximum width for the form */
|
|
}
|
|
|
|
.lang-item {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
#langDropdownMenuButton {
|
|
min-width: 4vw;
|
|
}
|
|
|
|
.highlight {
|
|
font-weight: 700;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.signature-process-title, .signature-process-name {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
|
|
.mail-link {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mail-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#flex-action-panel {
|
|
z-index: 1050;
|
|
}
|
|
|
|
#form-access-code {
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.access-code-form-floating {
|
|
display: flex;
|
|
justify-content: start;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.access-code-form-floating button {
|
|
align-content: center;
|
|
border-bottom-left-radius: 0;
|
|
border-top-left-radius: 0;
|
|
}
|
|
|
|
.access-code-form-floating input {
|
|
align-content: center;
|
|
border-bottom-right-radius: 0;
|
|
border-top-right-radius: 0;
|
|
border-right-width: 0;
|
|
width: 7rem;
|
|
}
|
|
|
|
#access-code-error-message {
|
|
justify-content: center;
|
|
align-content: center;
|
|
margin: 1.5rem 7rem 0 7rem;
|
|
height: 2.5rem;
|
|
}
|
|
|
|
.flag-dropdown button {
|
|
height: 100%;
|
|
}
|
|
|
|
.header-1 {
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.header-1 .text {
|
|
text-align: center;
|
|
margin-left: 1.5vw;
|
|
margin-top:0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.no-receiver-explanation {
|
|
padding: 2.5rem;
|
|
}
|
|
|
|
.ajs-message.ajs-custom {
|
|
margin: 0rem 0rem 0rem 0rem;
|
|
padding: 0rem 0rem 0rem 0rem;
|
|
width:50rem;
|
|
}
|
|
|
|
.ajs-message.ajs-custom .alert {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.ajs-message.ajs-custom span {
|
|
margin: 0 1rem 0 0;
|
|
}
|
|
|
|
.ajs-message.ajs-custom p {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* styles for mobile responsiveness */
|
|
@media (max-height: 850px) {
|
|
.navbar .container {
|
|
display: flex;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.navbar-toggler {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 4rem;
|
|
left: 0;
|
|
}
|
|
|
|
.envelope-message {
|
|
width: calc(100% - 4rem -9rem);
|
|
}
|
|
|
|
.envelope-message .message {
|
|
font-size: 14px;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.logo {
|
|
width: 9rem;
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
|
|
.card-text, .card-text {
|
|
font-size: 0.6rem; /* Font size reduced */
|
|
margin: 0rem;
|
|
padding: 0rem;
|
|
}
|
|
|
|
.highlight {
|
|
font-weight: 700;
|
|
font-size: 0.5rem;
|
|
}
|
|
|
|
.signature-process-title, .signature-process-name {
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.navbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-size: 0.5rem;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.envelope-message {
|
|
width: calc(100% - 4rem - 4.5rem);
|
|
margin-left: 3rem;
|
|
}
|
|
|
|
.envelope-message .message {
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
}
|
|
|
|
.envelope-message .icon {
|
|
margin-right: 0.1rem;
|
|
font-size: 1rem
|
|
}
|
|
|
|
.logo {
|
|
width: 5rem;
|
|
right: 0;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.btn_group {
|
|
position: fixed;
|
|
flex-direction: row;
|
|
bottom: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
|
|
.img-fluid {
|
|
width: 1.2rem;
|
|
height: 100%;
|
|
display: none;
|
|
}
|
|
|
|
.page {
|
|
margin-top: 1rem;
|
|
max-width: 90%;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.page section {
|
|
max-width: 90%;
|
|
}
|
|
|
|
#form-access-code {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
#flex-action-panel, .btn-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-height: 600px) {
|
|
.collapse {
|
|
height: 4rem;
|
|
}
|
|
} |