_page.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // import diff2html styles
  2. @import '~diff2html/bundles/css/diff2html.min.css';
  3. /**
  4. * for table with handsontable modal button
  5. */
  6. .editable-with-handsontable {
  7. position: relative;
  8. .handsontable-modal-trigger {
  9. position: absolute;
  10. top: 11px;
  11. right: 10px;
  12. padding: 0;
  13. font-size: 16px;
  14. line-height: 1;
  15. vertical-align: bottom;
  16. background-color: transparent;
  17. border: none;
  18. opacity: 0;
  19. }
  20. .page-mobile & .handsontable-modal-trigger {
  21. opacity: 0.3;
  22. }
  23. &:hover .handsontable-modal-trigger {
  24. opacity: 1;
  25. }
  26. }
  27. /**
  28. * for drawio with drawio iframe button
  29. */
  30. .editable-with-drawio {
  31. .drawio-iframe-trigger {
  32. top: 11px;
  33. right: 10px;
  34. z-index: 14;
  35. font-size: 12px;
  36. line-height: 1;
  37. }
  38. }
  39. .card.grw-page-status-alert {
  40. $margin-bottom: $grw-navbar-bottom-height + 10px;
  41. box-shadow: 0px 2px 4px #0000004d;
  42. opacity: 0.9;
  43. @include media-breakpoint-down(sm) {
  44. margin: 0 10px $margin-bottom;
  45. .grw-card-label-container {
  46. text-align: center;
  47. }
  48. .grw-card-btn-container {
  49. text-align: center;
  50. .btn {
  51. @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
  52. }
  53. }
  54. }
  55. @include media-breakpoint-up(md) {
  56. width: 700px;
  57. margin: 0 auto $margin-bottom;
  58. .card-body {
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. }
  63. .grw-card-label-container,
  64. .grw-card-btn-container {
  65. margin: 0;
  66. }
  67. }
  68. }