Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

responsive.bootstrap5.scss 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @import "../../scss/_bootstrap-extended/include";
  2. @import "datatables.net-responsive-bs5/css/responsive.bootstrap5";
  3. /* Responsive table area '+' icon position */
  4. table.dataTable {
  5. &.dtr-column > tbody > tr {
  6. &,
  7. &.dtr-expanded {
  8. & > td.control,
  9. & > th.control {
  10. position: relative;
  11. &::before {
  12. position: absolute;
  13. box-sizing: content-box;
  14. border: 2px solid var(--#{$prefix}paper-bg);
  15. @include border-radius(1rem);
  16. background-color: var(--#{$prefix}primary);
  17. block-size: .85rem;
  18. box-shadow: 0 0 3px var(--#{$prefix}gray-800);
  19. color: var(--#{$prefix}white);
  20. content: "+";
  21. font-family: "Courier New", Courier, monospace;
  22. font-weight: $font-weight-medium;
  23. inline-size: .85rem;
  24. inset-block-start: 50%;
  25. inset-inline-start: 50%;
  26. line-height: 1em;
  27. text-align: center;
  28. transform: translate(-50%, -51%);
  29. }
  30. }
  31. }
  32. }
  33. &.table-responsive {
  34. /* To scroll within datatable area */
  35. @media screen and (width <= 1399.98px) {
  36. display: block;
  37. }
  38. }
  39. }
  40. /* Modal table style */
  41. .modal.dtr-bs-modal {
  42. .modal-body {
  43. padding: 0;
  44. }
  45. .table {
  46. margin-block-end: 0;
  47. tr:last-child > td {
  48. border-block-end: 0;
  49. }
  50. .btn {
  51. box-shadow: none !important;
  52. }
  53. }
  54. .dropdown-item.text-danger:active {
  55. color: var(--#{$prefix}primary) !important;
  56. }
  57. }