Files
Backend-Api/ServiceHost/wwwroot/AdminTheme/css/financialStatments.css
2024-07-05 21:36:15 +03:30

825 lines
16 KiB
CSS

.content-page > .content {
padding: 20px 5px 15px;
}
.d-flex {
display: flex;
justify-content: space-between;
}
.content-page {
background: white;
}
.panelTitle {
display: flex;
width: 100%;
background: #4a4a4a;
height: 60px;
align-items: center;
padding: 20px 0;
border-radius: 15px;
color: white;
font-size: 16px;
box-shadow: 0px 25px 0px 0px #fdd84c;
}
.panelTitle .center-content {
font-size: 20px;
}
.panelTitle i {
font-size: 20px;
padding: 0 5px;
position: relative;
top: 2px;
}
.panel-subTitle {
display: flex;
background: #fdd84c;
border-radius: 15px;
border-top-right-radius: 0;
border-top-left-radius: 0;
position: relative;
top: 0px;
z-index: 3;
font-size: 12px;
align-items: center;
box-shadow: 0px 8px 7px 0px #b9b8b8;
}
.panel-subTitle .center-content {
font-size: 18px;
}
.right-content, .center-content, .left-content {
width: 33.33%;
padding: 0 20px;
}
.center-content {
text-align: center;
}
.right-content {
text-align: right;
white-space: nowrap;
overflow: clip;
text-overflow: ellipsis;
}
.left-content {
text-align: left;
}
.panelRequiredFields {
display: grid;
grid-template-columns: repeat(100, 1fr);
background: #dbdbdb;
border-radius: 15px;
border-top-right-radius: 0;
border-top-left-radius: 0;
padding: 20px 0;
position: relative;
top: -8px;
z-index: 1;
text-align: center;
}
.panelRequiredFields .form-control{
padding: 0;
}
.blank-input .form-control {
padding: 0 5px;
}
fieldset {
padding: 10px;
border: 1px solid #a09e9f;
border-radius: 10px;
}
legend {
margin-bottom: 5px;
font-size: 16px;
border-bottom: 0px;
color: #505458;
width: 90px;
text-align: center;
}
fieldset.date-content {
grid-column: 6/19;
}
fieldset.explanantion-content {
grid-column: 20/58;
}
fieldset.payment-content {
grid-column: 59/79;
}
.buttonContainer {
grid-column: 85/95;
align-self: end;
padding: 8px 0;
}
.explanantion-container , .date-container{
display: grid;
grid-template-columns: repeat(15, 1fr);
}
.currentDay {
grid-column: 1/6;
padding: 0 3px;
line-height: 34px;
color: #f5f5f5;
border-radius: 9px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
background: #9b9b9b;
height: 34px;
text-align: center;
}
input.persianDateInput {
text-align: center !important;
grid-column: 6/16;
grid-row: 1;
border-radius: 10px 0px 0px 10px;
}
.payIn {
width: 49%;
}
.payment {
grid-column: 1/4;
}
.more-details {
grid-column: 4/9;
}
.blank-input {
grid-column: 9/16;
}
.buttonContainer button {
width: 100%;
background: #30b447;
border: 0;
color: white;
padding: 8px 0;
border-radius: 20px;
box-shadow: 0 0 14px #30b246;
}
.buttonContainer button:hover {
background: #2b9d3e;
color: #00520e;
}
.pagination-section {
background: #edecec;
border-radius: 30px;
padding: 0px 10px;
display: flex;
justify-content: center;
margin-top: 0px;
}
.pagination-grid {
display: grid;
grid-template-columns: repeat(100, 1fr);
width: 35%;
}
.pagination-grid a {
color: white;
text-align: center;
padding: 0;
grid-row: 1;
border-radius: 20px;
font-size: 13px;
border: 2px solid #edecec;
cursor: pointer;
line-height: 34px;
height: 39px;
}
.first-page-number, .last-page-number {
background: #89dbab;
}
.first-page-text, .last-page-text {
background: #70cb97;
}
.next-page, .prev-page {
background: #32ad67;
text-align: center !important;
}
.next-page:hover, .prev-page:hover {
background: #2b9759;
color: #0b4e0b !important;
}
.first-page-number:hover, .last-page-number:hover {
background: #7ecd9e;
color: #1b811b !important;
}
.first-page-text:hover, .last-page-text:hover {
background: #68bb8b;
color: #1b811b !important;
}
.first-page-number {
grid-column: 1 / 15;
font-size: 20px !important;
padding: 3px 22px !important;
}
.first-page-text {
grid-column: 10/35;
text-align: right !important;
padding-right: 10px !important;
}
.prev-page {
grid-column: 25/50;
border-top-left-radius: 0 !important;
border-bottom-left-radius: 0 !important;
}
.current-page-number {
grid-column: 46/54;
color: white !important;
font-size: 20px !important;
z-index: 33;
padding: 0;
border: 0 !important;
}
.currentPageNumber {
width: 90%;
background: #1a8f4c;
vertical-align: middle;
text-align: center;
border-radius: 50%;
box-shadow: 0 0 0px 2px #edecec;
border: 0;
}
.next-page {
grid-column: 50/75;
z-index: 3;
text-align: left;
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.last-page-text {
grid-column: 65/90;
z-index: 2;
text-align: left !important;
padding-left: 10px !important;
}
.last-page-number {
grid-column: 85/100;
z-index: 1;
text-align: left;
font-size: 20px !important;
padding: 3px 18px !important;
}
/*table panel start*/
.table-container {
height: 57rem;
background: #f9f9f9;
border-radius: 20px;
position: relative;
overflow: hidden;
margin-top: 15px;
}
.main-table {
border-radius: 9px;
border-collapse: separate;
border-spacing: 0 2px;
margin-bottom: 0;
table-layout: fixed;
width: 100%;
}
.main-table > thead {
background: #585657;
}
.main-table > tbody , .debtOption{
color: #9f210c;
background: #ffcecf;
}
.main-table > thead > tr, .main-table > tbody > tr {
height: 40px;
}
.main-table > thead > tr > th {
color: whitesmoke;
border-left: 1px solid whitesmoke;
text-align: center;
font-size: 17px;
}
.main-table > tbody > tr > td {
text-align: center;
padding: 0 5px 0 0;
border-left: 1px solid whitesmoke;
}
.main-table > tbody > tr > td:nth-child(3) {
text-align: right;
}
.main-table > tbody > tr > td:last-child{
padding: 0;
}
.main-table > thead > tr > th:first-child, .main-table > tbody > tr > td:first-child {
border-radius: 0 20px 20px 0;
}
.main-table > thead > tr > th:last-child, .main-table > tbody > tr > td:last-child {
border-radius: 20px 0 0 20px;
}
.main-table > tbody > tr > td:first-child {
background: #a09e9f;
}
.main-table > tbody > tr.green-row , .creditOption{
background: #aeebb9;
color: #2b8f1b;
}
.main-table > tbody > tr > td:first-child span {
background: #d6d4d5;
color: #3e3e3e;
display: inline-block;
font-size: 12px;
width: 26px;
height: 26px;
line-height: 28px;
border-radius: 50%;
}
.main-table .sticky-row, .main-table .sticky-last-row {
position: absolute;
left: 0;
width: 100%;
color: #3e3e3e;
}
.main-table .sticky-row {
background-color: #e9e7e8;
bottom: 50px;
height: 40px;
border-bottom: 2px solid #f9f9f9;
}
.main-table .sticky-last-row {
background-color: #d3d1d2;
bottom: 0;
height: 50px;
}
.main-table .sticky-last-row td:first-child,
.main-table .sticky-last-row td:nth-child(2),
.main-table .sticky-row td:first-child,
.main-table .sticky-row td:nth-child(2) {
border-left-width: 0;
}
.main-table .sticky-row td:last-child,
.main-table .sticky-row td:first-child,
.main-table .sticky-last-row td:last-child,
.main-table .sticky-last-row td:first-child {
border-radius: 0;
background: inherit;
}
.first-col{
width: 4%;
}
._3rd-col{
width: 37%;
}
._2nd-col{
width: 13%;
}
._7th-col {
width: 0;
}
._4th-col,
._5th-col,
._6th-col{
width: 12%;
}
._8th-col{
width: 10%;
}
.op-container{
float: left;
}
.op-container a {
border-radius: 50%;
width: 30px;
height: 30px;
padding: 3px;
font-size: 18px;
position: relative;
}
/*Modal css start*/
#MainModal {
backdrop-filter: blur(8px);
}
.modal-dialog:has(#EditTransactionBody) {
width: 60%;
margin: auto;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) !important;
}
.modal-content:has(#EditTransactionBody) {
padding: 0 10px;
}
#EditTransactionBody {
top: 25px;
padding: 0;
padding-bottom: 25px;
}
.modal-dialog:has(#EditTransactionBody) .modal-header {
position: absolute;
right: 2px;
border-bottom: none;
}
#editBtn {
background: #30b447;
border: 0;
border-radius: 20px;
}
.EditTransactionForm {
border: 1px solid #dbdbdb;
padding: 5px 10px;
border-radius: 10px;
display: grid;
grid-template-columns: repeat(100, 1fr);
}
.EditTransactionForm fieldset.date-content {
grid-column: 1/25;
}
.EditTransactionForm fieldset.explanantion-content {
grid-column: 26/75;
}
.EditTransactionForm fieldset.payment-content {
grid-column: 76/101;
}
.EditTransactionForm fieldset {
margin: 15px 0;
}
.EditTransactionForm .explanantion-container {
grid-template-columns: repeat(100, 1fr);
}
.EditTransactionForm .payment {
grid-column: 1/30;
}
.EditTransactionForm .more-details {
grid-column: 31/59;
}
.EditTransactionForm .blank-input {
grid-column: 60/101;
}
.EditTransactionForm .form-control {
padding: 0 2px;
}
.fulltext {
text-overflow: ellipsis;
overflow: clip;
white-space: nowrap;
}
.tooltipfull-containerText:hover .tooltipfull, a:hover .tooltipfull {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.tooltipfull-containerText {
cursor: pointer;
position: relative;
}
.tooltipfull:before, .tooltipfull:after {
content: '';
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #036205;
position: absolute;
bottom: -10px;
right: 20px;
}
.tooltipfull {
opacity: 0;
z-index: 99;
color: #fff;
display: block;
font-size: 12px;
font-family: 'IranSans';
padding: 5px 10px;
border-radius: 15px;
text-align: center;
/* text-shadow: 1px 1px 2px #111; */
background: #036205;
border: 1px solid #036205;
box-shadow: 0 0 3px rgba(0,0,0,0.5);
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
/* -ms-transition: all .2s ease-in-out; */
transition: all .2s ease-in-out;
-webkit-transform: scale(0);
-moz-transform: scale(0);
-o-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
position: absolute;
right: 45px;
bottom: 23px;
}
.remainder-td {
background: #e9e7e8;
}
.table-container {
height: 55.5rem;
background: #f9f9f9;
border-radius: 20px;
position: relative;
overflow-y: hidden;
margin-top: 5px;
}
.employee-operations {
font-size: 12px;
padding: 7px 0;
border-radius: 8px;
line-height: 14px;
width: 27px;
}
.details-btn {
background: #036205;
color: white;
border-radius: 8px;
padding: 6px 0;
line-height: 14px;
font-size: 17px;
width: 30px;
}
.tooltipDetails-container {
right: -16px;
top: -20px;
}
.tooltipfull-container {
cursor: pointer;
position: absolute;
display: inline-block;
right: 3px;
top: 4px;
}
.tooltipfull-container:hover .tooltipfull, a:hover .tooltipfull {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
-o-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
.fulltextDetails {
position: relative;
right: 7px;
top: 24px;
font-family: 'IranSans' !important;
font-size: 7px !important;
text-align: right;
white-space: inherit !important;
width: 33px;
height: 32px;
overflow-x: hidden;
text-overflow: ellipsis;
opacity: 0;
margin: 0;
}
.tooltipfulldetails {
white-space: unset;
font-size: 10px;
width: 200px;
background: #32ad67;
border: 1px solid #32ad67;
padding: 3px 2px;
right: -138px;
bottom: 39px;
}
.tooltipfulldetails::before, .tooltipfulldetails::after {
border-top: 10px solid #32ad67;
bottom: -10px;
right: 145px;
}
.tooltipfulldetails p {
margin: 0 !important;
}
.employee-operations:before {
left: 26px;
}
.screen-td {
display: flex;
line-height: 42px;
}
.mobile-td {
display: none;
}
.buttonContainer button {
margin-top: 5px;
}
/*Modal css end*/
@media(max-width: 1700px) {
.pagination-grid {
width: 40%;
}
}
@media(max-width: 1400px) {
.pagination-grid {
width: 50%;
}
}
@media(max-width: 1200px) {
.pagination-grid {
width: 60%;
}
.pagination-grid a {
font-size: 12px;
}
}
@media(max-width: 768px) {
.pagination-grid {
width: 90%;
}
.pagination-grid a {
font-size: 9px;
height: 33px;
line-height: 28px;
}
.first-page-number {
grid-column: 1 / 20;
font-size: 16px !important;
padding: 2px 0px 0 20px !important;
}
.last-page-number {
grid-column: 80/101;
z-index: 1;
font-size: 16px !important;
padding: 2px 28px 0 0px !important;
}
.pagination-section {
padding: 0;
}
.pagination-grid {
width: 100%;
}
.first-page-text {
padding-right: 5px !important;
grid-column: 9/35;
}
.last-page-text {
grid-column: 65/92;
}
.next-page, .last-page-text {
padding-left: 7px !important;
text-align: left !important;
}
.prev-page, .first-page-text {
padding-right: 7px !important;
text-align: right !important;
}
.currentPageNumber {
width: 100%;
}
.current-page-number {
grid-column: 45/55;
font-size: 18px !important;
}
.panelTitle {
height: 55px;
padding: 10px 0;
}
.right-content {
font-size: 9px;
}
.right-content, .center-content, .left-content {
width: 34%;
padding: 0 3px;
}
.panelTitle .center-content {
font-size: 13px;
padding: 0;
}
.panel-subTitle .center-content {
font-size: 16px;
}
.left-content {
text-align: left;
font-size: 8px;
}
.panelTitle i {
display: none;
}
fieldset.date-content,
fieldset.explanantion-content,
fieldset.payment-content,
.buttonContainer,
.EditTransactionForm fieldset.date-content,
.EditTransactionForm fieldset.explanantion-content,
.EditTransactionForm fieldset.payment-content {
grid-column: 2/100;
}
.buttonContainer {
display: flex;
column-gap: 10px;
}
.buttonContainer button{
margin-top: 0;
}
input.persianDateInput {
grid-column: 5/16;
}
.currentDay {
grid-column: 1/5;
}
fieldset {
padding: 4px;
}
.panelRequiredFields .form-control {
font-size: 12px;
}
.modal-dialog:has(#EditTransactionBody) {
width: 95%;
}
.EditTransactionForm fieldset {
margin: 4px 0;
}
.EditTransactionForm {
border: 0;
padding: 0;
}
}
@media(max-width: 400px) {
.next-page, .last-page-text {
padding-left: 2px !important;
}
.prev-page, .first-page-text {
padding-right: 2px !important;
}
}
@media(max-width: 1000px) {
.main-table > tbody > tr > td {
font-size: 11px;
position: relative;
padding: 0;
}
.screen-td {
display: none;
}
.mobile-td {
display: flex;
line-height: 42px;
}
.main-table > thead > tr > th {
font-size: 12px;
}
.mobile-view {
justify-content: center;
}
.main-table > tbody > tr > td:first-child span {
width: 23px;
height: 23px;
line-height: 23px;
}
.first-col {
width: 9%;
}
._2nd-col {
width: 20%;
}
._4th-col {
width: 21%;
}
._5th-col {
width: 21%;
}
._6th-col {
display: none;
}
._8th-col {
width: 12%;
}
._7th-col {
width: 12%;
}
.sticky-last-row ._7th-col, .sticky-row ._7th-col {
width: 30%;
}
.sticky-last-row ._4th-col, .sticky-row ._4th-col {
width: 32%;
}
.sticky-last-row ._5th-col, .sticky-row ._5th-col {
width: 25%;
}
}
@media(min-width: 1700px) {
.modal-dialog:has(#EditTransactionBody) {
width: 50%;
}
.currentPageNumber {
width: 90%;
}
.pagination-grid {
width: 32%;
}
}