style-app.scss 1.7 KB

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