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. /*
  24. * for Guest User Mode
  25. */
  26. // TODO: reactify and replace with `grw-not-available-for-guest`
  27. .dropdown-toggle.dropdown-toggle-disabled {
  28. cursor: not-allowed;
  29. }
  30. // TODO: reactify and replace with `grw-not-available-for-guest`
  31. .edit-button.edit-button-disabled {
  32. cursor: not-allowed;
  33. }
  34. .grw-not-available-for-guest {
  35. cursor: not-allowed !important;
  36. }
  37. /*
  38. * Helper Classes
  39. */
  40. .mw-0 {
  41. min-width: 0;
  42. }
  43. .flex-basis-0 {
  44. flex-basis: 0;
  45. }
  46. .picture {
  47. width: 24px;
  48. height: 24px;
  49. // size list
  50. &.picture-lg {
  51. width: 48px;
  52. height: 48px;
  53. }
  54. &.picture-md {
  55. width: 24px;
  56. height: 24px;
  57. }
  58. &.picture-sm {
  59. width: 18px;
  60. height: 18px;
  61. }
  62. &.picture-xs {
  63. width: 14px;
  64. height: 14px;
  65. }
  66. }
  67. .cmd-key.mac {
  68. &:after {
  69. content: '⌘';
  70. }
  71. }
  72. .cmd-key.win {
  73. &:after {
  74. content: 'Ctrl';
  75. }
  76. }
  77. .grw-page-control-dropdown-item {
  78. display: flex !important;
  79. align-items: center;
  80. .grw-page-control-dropdown-icon {
  81. display: flex;
  82. justify-content: center;
  83. width: 25px;
  84. }
  85. }