_page.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. .card.grw-page-status-alert {
  28. $margin-bottom: $grw-navbar-bottom-height + 10px;
  29. box-shadow: 0px 2px 4px #0000004d;
  30. opacity: 0.9;
  31. @include media-breakpoint-down(sm) {
  32. margin: 0 10px $margin-bottom;
  33. .grw-card-label-container {
  34. text-align: center;
  35. }
  36. .grw-card-btn-container {
  37. text-align: center;
  38. .btn {
  39. @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
  40. }
  41. }
  42. }
  43. @include media-breakpoint-up(md) {
  44. width: 700px;
  45. margin: 0 auto $margin-bottom;
  46. .card-body {
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. }
  51. .grw-card-label-container,
  52. .grw-card-btn-container {
  53. margin: 0;
  54. }
  55. }
  56. }