style-app.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. @import './bootstrap/apply';
  2. @import 'mixins';
  3. // react-bootstrap-typeahead
  4. @import '~react-bootstrap-typeahead/css/Typeahead';
  5. @import 'override-rbt';
  6. // SimpleBar
  7. @import '~simplebar/dist/simplebar.min.css';
  8. @import 'override-simplebar';
  9. // Emoji-mart style
  10. @import '~emoji-mart/css/emoji-mart.css';
  11. // KaTeX
  12. @import '~katex/dist/katex.min';
  13. // icons
  14. // DO NOT CHANGE THER OERDER OF font-awesome AND simple-line-icons.
  15. // font-familiy used in simple-line-icons has to be prioritized than the one used in font-awesome.
  16. @import '~font-awesome';
  17. @import '~simple-line-icons';
  18. @import '~material-icons/iconfont/filled';
  19. @import '~@icon/themify-icons/themify-icons';
  20. // atoms
  21. @import 'atoms/buttons';
  22. @import 'atoms/spinners';
  23. @import 'atoms/custom_control';
  24. @import 'atoms/code';
  25. // molecules
  26. @import 'molecules/toastr';
  27. // @import 'molecules/slack-notification';
  28. // @import 'molecules/duplicated-paths-table.scss';
  29. // organisms
  30. @import 'organisms/wiki';
  31. // // growi component
  32. // @import 'attachments';
  33. // @import 'comment';
  34. // @import 'comment_growi';
  35. // @import 'draft';
  36. @import 'editor';
  37. @import 'fonts';
  38. @import 'layout';
  39. // @import 'me';
  40. @import 'mirror_mode';
  41. @import 'modal';
  42. // @import 'old-ios';
  43. // @import 'page-duplicate-modal';
  44. @import 'page-path';
  45. @import 'search';
  46. @import 'tag';
  47. @import 'installer';
  48. // @import 'user';
  49. /*
  50. * for Guest User Mode
  51. */
  52. // TODO: reactify and replace with `grw-not-available-for-guest`
  53. .dropdown-toggle.dropdown-toggle-disabled {
  54. cursor: not-allowed;
  55. }
  56. // TODO: reactify and replace with `grw-not-available-for-guest`
  57. .edit-button.edit-button-disabled {
  58. cursor: not-allowed;
  59. }
  60. .grw-not-available-for-guest {
  61. cursor: not-allowed !important;
  62. }
  63. /*
  64. * Helper Classes
  65. */
  66. .mw-0 {
  67. min-width: 0;
  68. }
  69. .flex-basis-0 {
  70. flex-basis: 0;
  71. }
  72. .picture {
  73. width: 24px;
  74. height: 24px;
  75. // size list
  76. &.picture-lg {
  77. width: 48px;
  78. height: 48px;
  79. }
  80. &.picture-md {
  81. width: 24px;
  82. height: 24px;
  83. }
  84. &.picture-sm {
  85. width: 18px;
  86. height: 18px;
  87. }
  88. &.picture-xs {
  89. width: 14px;
  90. height: 14px;
  91. }
  92. }
  93. // transplant from FontAwesome
  94. .icon-fw {
  95. display: inline-block;
  96. width: 1.4em;
  97. text-align: left;
  98. }
  99. .cmd-key.mac {
  100. &:after {
  101. content: '⌘';
  102. }
  103. }
  104. .cmd-key.win {
  105. &:after {
  106. content: 'Ctrl';
  107. }
  108. }
  109. .grw-page-control-dropdown-item {
  110. display: flex !important;
  111. align-items: center;
  112. .grw-page-control-dropdown-icon {
  113. display: flex;
  114. justify-content: center;
  115. width: 25px;
  116. }
  117. }