diff --git a/assets/css/style.css b/assets/css/style.css index 57b64bc..b8728df 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1 +1,314 @@ -.form-signin { width: 100%; max-width: 400px!important; padding: 25px; margin: auto; } .mb-3 { margin-bottom: 1rem !important; } .input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; } .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .input-group>.form-control, .input-group>.form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; } .text-primary { --bs-text-opacity: 1; color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important; } .input-group-text { display: flex; align-items: center; padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; white-space: nowrap; background-color: #e9ecef; border: 1px solid #ced4da; border-radius: .25rem; } .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; } .text-center { text-align: center !important; } .mb-2 { margin-bottom: .5rem !important; } .form-control { display: block; width: 100%; padding: .375rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: .25rem; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; } button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } .g-1, .gy-1 { --bs-gutter-y: 0.25rem; } .g-1, .gx-1 { --bs-gutter-x: 0.25rem; } .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); width: 100%; } .col-8 { flex: 0 0 auto; width: 66.66666667%; } .col-4 { flex: 0 0 auto; width: 33.33333333%; } .mb-3 { margin-bottom: 1rem !important; } .shadow { margin-top: 10px!important; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; padding-top: 20px!important; } .rounded { border-radius: .25rem!important; } .bg-white { --bs-bg-opacity: 1; background-color: rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important; } .border { border: 1px solid #dee2e6!important; } .table { --bs-table-bg: transparent; --bs-table-accent-bg: transparent; --bs-table-striped-color: #212529; --bs-table-striped-bg: rgba(0, 0, 0, 0.05); --bs-table-active-color: #212529; --bs-table-active-bg: rgba(0, 0, 0, 0.1); --bs-table-hover-color: #212529; --bs-table-hover-bg: rgba(0, 0, 0, 0.075); width: 100%; margin-bottom: 1rem; color: #212529; vertical-align: top; border-color: #dee2e6; } .table>tbody { vertical-align: inherit; } tbody, td, tfoot, th, thead, tr { border-color: inherit; border-style: solid; border-width: 0; } .table>:not(caption)>*>* { padding: .5rem .5rem; background-color: var(--bs-table-bg); border-bottom-width: 1px; box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); } .py-2 { padding-top: .5rem!important; padding-bottom: .5rem!important; } .px-3 { padding-right: 1rem!important; padding-left: 1rem!important; } .form-check-input[type=radio] { border-radius: 50%; } .form-check .form-check-input { float: left; margin-right: 10px; } .p-1 { padding: .25rem!important; } .form-check-input { width: .5em; height: 0.5em; margin-top: .4em; vertical-align: top; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: 1px solid rgba(0,0,0,.25); -webkit-appearance: none; -moz-appearance: none; appearance: none; -webkit-print-color-adjust: exact; color-adjust: exact; } button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) { cursor: pointer; } .w-100 { width: 100%!important; } .btn-group-lg>.btn, .btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .3rem; } .btn-primary { color: #fff!important; background-color: #0d6efd!important; border-color: #0d6efd!important; } .btn { display: inline-block; font-weight: 400; line-height: 1.5; color: #212529; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; background-color: transparent; border: 1px solid transparent; padding: .375rem .75rem; font-size: 1rem; border-radius: .25rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .text-danger h5{ --bs-text-opacity: 1; color: #dc3545!important; } .form-check-input:checked[type=radio] { background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e); } .form-check-input:checked { background-color: #0d6efd; border-color: #0d6efd; } .form-check-input[type=radio] { border-radius: 50%; } .p-1 { padding: .25rem!important; } .wid100{ width: 100%!important; } \ No newline at end of file +.mb-3 { + margin-bottom: 1rem !important; +} + +.input-group { + position: relative; + display: flex; + flex-wrap: wrap; + align-items: stretch; + width: 100%; +} + +.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), +.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { + margin-left: -1px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group>.form-control, +.input-group>.form-select { + position: relative; + flex: 1 1 auto; + width: 1%; + min-width: 0; +} + +.text-primary { + --bs-text-opacity: 1; + color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important; +} + +.input-group-text { + display: flex; + align-items: center; + padding: .375rem .75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: center; + white-space: nowrap; + background-color: #e9ecef; + border: 1px solid #ced4da; + border-radius: .25rem; +} + +.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { + margin-left: -1px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.input-group>.form-control, +.input-group>.form-select { + position: relative; + flex: 1 1 auto; + width: 1%; + min-width: 0; +} + +.text-center { + text-align: center !important; +} + +.mb-2 { + margin-bottom: .5rem !important; +} + +.form-control { + display: block; + width: 100%; + padding: .375rem .75rem; + font-size: 1rem; + font-weight: 400; + line-height: 1.5; + color: #212529; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ced4da; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: .25rem; + transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; + margin-bottom: 0 !important; +} + +button, +input, +optgroup, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +.g-1, +.gy-1 { + --bs-gutter-y: 0.25rem; +} + +.g-1, +.gx-1 { + --bs-gutter-x: 0.25rem; +} + +.row { + --bs-gutter-x: 1.5rem; + --bs-gutter-y: 0; + display: flex; + flex-wrap: wrap; + margin-top: calc(-1 * var(--bs-gutter-y)); + width: 100%; +} + +.col-8 { + flex: 0 0 auto; + width: 66.66666667%; +} + +.col-4 { + flex: 0 0 auto; + width: 33.33333333%; +} + +.mb-3 { + margin-bottom: 1rem !important; +} + +.shadow { + margin-top: 10px !important; + box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; + padding-top: 20px !important; +} + +.rounded { + border-radius: .25rem !important; +} + +.bg-white { + --bs-bg-opacity: 1; + background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important; +} + +.border { + border: 1px solid #dee2e6 !important; +} + +.table { + --bs-table-bg: transparent; + --bs-table-accent-bg: transparent; + --bs-table-striped-color: #212529; + --bs-table-striped-bg: rgba(0, 0, 0, 0.05); + --bs-table-active-color: #212529; + --bs-table-active-bg: rgba(0, 0, 0, 0.1); + --bs-table-hover-color: #212529; + --bs-table-hover-bg: rgba(0, 0, 0, 0.075); + width: 100%; + margin-bottom: 1rem; + color: #212529; + vertical-align: top; + border-color: #dee2e6; +} + +.table>tbody { + vertical-align: inherit; +} + +tbody, +td, +tfoot, +th, +thead, +tr { + border-color: inherit; + border-style: solid; + border-width: 0; +} + +.table>:not(caption)>*>* { + padding: .5rem .5rem; + background-color: var(--bs-table-bg); + border-bottom-width: 1px; + box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); +} + +.py-2 { + padding-top: .5rem !important; + padding-bottom: .5rem !important; +} + +.px-3 { + padding-right: 1rem !important; + padding-left: 1rem !important; +} + +.form-check-input[type=radio] { + border-radius: 50%; +} + +.form-check .form-check-input { + float: left; + margin-right: 10px; +} + +.p-1 { + padding: .25rem !important; +} + +.form-check-input { + width: .5em; + height: 0.5em; + margin-top: .4em; + vertical-align: top; + background-color: #fff; + background-repeat: no-repeat; + background-position: center; + background-size: contain; + border: 1px solid rgba(0, 0, 0, .25); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + -webkit-print-color-adjust: exact; + color-adjust: exact; +} + +button, +input, +optgroup, +select, +textarea { + margin: 0; + font-family: inherit; + font-size: inherit; + line-height: inherit; +} + +[type=button]:not(:disabled), +[type=reset]:not(:disabled), +[type=submit]:not(:disabled), +button:not(:disabled) { + cursor: pointer; +} + +.w-100 { + width: 100% !important; +} + +.btn-group-lg>.btn, +.btn-lg { + padding: .5rem 1rem; + font-size: 1.25rem; + border-radius: .3rem; +} + +.btn-primary { + color: #fff !important; + background-color: #0d6efd !important; + border-color: #0d6efd !important; +} + +.btn { + display: inline-block; + font-weight: 400; + line-height: 1.5; + color: #212529; + text-align: center; + text-decoration: none; + vertical-align: middle; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + background-color: transparent; + border: 1px solid transparent; + padding: .375rem .75rem; + font-size: 1rem; + border-radius: .25rem; + transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out; +} + +.text-danger h5 { + --bs-text-opacity: 1; + color: #dc3545 !important; +} + +.form-check-input:checked[type=radio] { + background-image: url("data:image/svg+xml,%3Csvgxmlns='http://www.w3.org/2000/svg'viewBox='-4-488'%3E%3Ccircler='2'fill='%23fff'/%3E%3C/svg%3E"); +} + +.form-check-input:checked { + background-color: #0d6efd; + border-color: #0d6efd; +} + +.form-check-input[type=radio] { + border-radius: 50%; +} + +.p-1 { + padding: .25rem !important; +} + +.wid100 { + width: 100% !important; +} \ No newline at end of file diff --git a/class/class-parolapara.php b/class/class-parolapara.php index f63badc..7a12105 100644 --- a/class/class-parolapara.php +++ b/class/class-parolapara.php @@ -39,7 +39,7 @@ public function getToken() return false; } - public function getInstallment($par) + public function getInstallment($par, $order) { $token = $this->getToken(); @@ -76,7 +76,7 @@ public function getInstallment($par) $html .= 'tag="' . $total . '"'; $html .= ''; - $html .= '