style-next.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @import './bootstrap/apply';
  2. @import 'mixins';
  3. // // override codemirror
  4. // @import 'override-codemirror';
  5. // react-bootstrap-typeahead
  6. @import '~react-bootstrap-typeahead/css/Typeahead';
  7. @import 'override-rbt';
  8. // SimpleBar
  9. @import '~simplebar/dist/simplebar.min.css';
  10. @import 'override-simplebar';
  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/copy-dropdown';
  28. // @import 'molecules/slack-notification';
  29. // @import 'molecules/duplicated-paths-table.scss';
  30. // organisms
  31. @import 'organisms/wiki';
  32. // // growi component
  33. // @import 'attachments';
  34. // @import 'comment';
  35. // @import 'comment_growi';
  36. // @import 'create-page';
  37. // @import 'draft';
  38. @import 'editor';
  39. @import 'fonts';
  40. // @import 'handsontable';
  41. @import 'layout';
  42. // @import 'me';
  43. @import 'mirror_mode';
  44. @import 'modal';
  45. // @import 'old-ios';
  46. // @import 'page-duplicate-modal';
  47. @import 'page-path';
  48. // @import 'page';
  49. @import 'search';
  50. @import 'tag';
  51. // @import 'user';
  52. /*
  53. * for Guest User Mode
  54. */
  55. // TODO: reactify and replace with `grw-not-available-for-guest`
  56. .dropdown-toggle.dropdown-toggle-disabled {
  57. cursor: not-allowed;
  58. }
  59. // TODO: reactify and replace with `grw-not-available-for-guest`
  60. .edit-button.edit-button-disabled {
  61. cursor: not-allowed;
  62. }
  63. .grw-not-available-for-guest {
  64. cursor: not-allowed !important;
  65. }
  66. /*
  67. * Helper Classes
  68. */
  69. .mw-0 {
  70. min-width: 0;
  71. }
  72. .flex-basis-0 {
  73. flex-basis: 0;
  74. }
  75. .picture {
  76. width: 24px;
  77. height: 24px;
  78. // size list
  79. &.picture-lg {
  80. width: 48px;
  81. height: 48px;
  82. }
  83. &.picture-md {
  84. width: 24px;
  85. height: 24px;
  86. }
  87. &.picture-sm {
  88. width: 18px;
  89. height: 18px;
  90. }
  91. &.picture-xs {
  92. width: 14px;
  93. height: 14px;
  94. }
  95. }
  96. // transplant from FontAwesome
  97. .icon-fw {
  98. display: inline-block;
  99. width: 1.4em;
  100. text-align: left;
  101. }
  102. .cmd-key.mac {
  103. &:after {
  104. content: '⌘';
  105. }
  106. }
  107. .cmd-key.win {
  108. &:after {
  109. content: 'Ctrl';
  110. }
  111. }
  112. .grw-page-control-dropdown-item {
  113. display: flex !important;
  114. align-items: center;
  115. .grw-page-control-dropdown-icon {
  116. display: flex;
  117. justify-content: center;
  118. width: 25px;
  119. }
  120. }