style-app.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. @import '@growi/core-styles/scss/helpers/flex-expand';
  2. @import '@growi/core-styles/scss/helpers/rotate';
  3. @import 'mixins';
  4. // atoms
  5. @import 'atoms/custom_control';
  6. @import 'atoms/code';
  7. @import 'atoms/tag';
  8. @import 'atoms/tooltip';
  9. // molecules
  10. @import 'molecules/toastr';
  11. @import 'molecules/list-group-item';
  12. // @import 'molecules/duplicated-paths-table.scss';
  13. // organisms
  14. @import 'organisms/wiki';
  15. // // growi component
  16. @import 'editor';
  17. @import 'fonts';
  18. @import 'installer';
  19. @import 'layout';
  20. @import 'mirror_mode';
  21. @import 'modal';
  22. @import 'share-link';
  23. @import 'marker';
  24. /*
  25. * for Guest User Mode
  26. */
  27. // TODO: reactify and replace with `grw-not-available-for-guest`
  28. .dropdown-toggle.dropdown-toggle-disabled {
  29. cursor: not-allowed;
  30. }
  31. // TODO: reactify and replace with `grw-not-available-for-guest`
  32. .edit-button.edit-button-disabled {
  33. cursor: not-allowed;
  34. }
  35. .grw-not-available-for-guest {
  36. cursor: not-allowed !important;
  37. }
  38. /*
  39. * Helper Classes
  40. */
  41. .mw-0 {
  42. min-width: 0;
  43. }
  44. .flex-basis-0 {
  45. flex-basis: 0;
  46. }
  47. .picture {
  48. width: 24px;
  49. height: 24px;
  50. // size list
  51. &.picture-lg {
  52. width: 48px;
  53. height: 48px;
  54. }
  55. &.picture-md {
  56. width: 24px;
  57. height: 24px;
  58. }
  59. &.picture-sm {
  60. width: 18px;
  61. height: 18px;
  62. }
  63. &.picture-xs {
  64. width: 14px;
  65. height: 14px;
  66. }
  67. }
  68. .cmd-key.mac {
  69. &::after {
  70. content: '⌘';
  71. }
  72. }
  73. .cmd-key.win {
  74. &::after {
  75. content: 'Ctrl';
  76. }
  77. }
  78. .grw-page-control-dropdown-item {
  79. display: flex !important;
  80. align-items: center;
  81. .grw-page-control-dropdown-icon {
  82. display: flex;
  83. justify-content: center;
  84. width: 25px;
  85. }
  86. }