style-app.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @import '@growi/core/scss/flex-expand';
  2. @import 'mixins';
  3. // atoms
  4. @import 'atoms/buttons';
  5. @import 'atoms/spinners';
  6. @import 'atoms/custom_control';
  7. @import 'atoms/code';
  8. // molecules
  9. @import 'molecules/toastr';
  10. @import 'molecules/list-group-item';
  11. // @import 'molecules/slack-notification';
  12. // @import 'molecules/duplicated-paths-table.scss';
  13. // organisms
  14. @import 'organisms/wiki';
  15. // // growi component
  16. // @import 'draft';
  17. @import 'editor';
  18. @import 'layout';
  19. @import 'mirror_mode';
  20. @import 'modal';
  21. @import 'tag';
  22. @import 'installer';
  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. // transplant from FontAwesome
  68. .icon-fw {
  69. display: inline-block;
  70. width: 1.4em;
  71. text-align: left;
  72. }
  73. .cmd-key.mac {
  74. &:after {
  75. content: '⌘';
  76. }
  77. }
  78. .cmd-key.win {
  79. &:after {
  80. content: 'Ctrl';
  81. }
  82. }
  83. .grw-page-control-dropdown-item {
  84. display: flex !important;
  85. align-items: center;
  86. .grw-page-control-dropdown-icon {
  87. display: flex;
  88. justify-content: center;
  89. width: 25px;
  90. }
  91. }