style-app.scss 2.4 KB

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