style-next.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. @import './bootstrap/apply';
  2. // // override codemirror
  3. // @import 'override-codemirror';
  4. @import '~react-bootstrap-typeahead/css/Typeahead';
  5. @import 'override-rbt';
  6. // import SimpleBar styles
  7. @import '~simplebar/dist/simplebar.min.css';
  8. // override simplebar-react styles
  9. @import 'override-simplebar';
  10. // icons
  11. @import '~simple-line-icons';
  12. @import '~material-icons/iconfont/filled';
  13. @import '~font-awesome';
  14. @import '~@icon/themify-icons/themify-icons';
  15. // // atoms
  16. @import 'atoms/buttons';
  17. // @import 'atoms/code';
  18. // @import 'atoms/nav';
  19. // @import 'atoms/pre';
  20. // @import 'atoms/spinners';
  21. // @import 'atoms/custom_control';
  22. // // molecules
  23. // @import 'molecules/copy-dropdown';
  24. // @import 'molecules/page-editor-mode-manager';
  25. // @import 'molecules/slack-notification';
  26. // @import 'molecules/duplicated-paths-table.scss';
  27. // // growi component
  28. // @import 'admin';
  29. // @import 'attachments';
  30. // @import 'comment';
  31. // @import 'comment_growi';
  32. // @import 'drawio';
  33. // @import 'create-page';
  34. // @import 'draft';
  35. // @import 'editor-attachment';
  36. // @import 'editor-navbar';
  37. // @import 'page-content-footer';
  38. // @import 'handsontable';
  39. @import 'layout';
  40. @import 'login';
  41. // @import 'me';
  42. // @import 'mirror_mode';
  43. // @import 'modal';
  44. // @import 'navbar';
  45. // @import 'old-ios';
  46. @import 'on-edit';
  47. // @import 'page-duplicate-modal';
  48. // @import 'page_list';
  49. // @import 'page-accessories-control';
  50. // @import 'page-accessories-modal';
  51. // @import 'page-path';
  52. // @import 'page-tree';
  53. // @import 'page';
  54. // @import 'page-presentation';
  55. // @import 'page-history';
  56. // @import 'recent-changes';
  57. // @import 'search';
  58. // @import 'shortcuts';
  59. // @import 'sidebar';
  60. // @import 'sidebar-wiki';
  61. // @import 'subnav';
  62. @import 'tag';
  63. // @import 'toc';
  64. // @import 'user';
  65. // @import 'staff_credit';
  66. // @import 'waves';
  67. @import 'wiki';
  68. // @import 'sharelink';
  69. // @import 'linkedit-preview';
  70. /*
  71. * for Guest User Mode
  72. */
  73. // TODO: reactify and replace with `grw-not-available-for-guest`
  74. .dropdown-toggle.dropdown-toggle-disabled {
  75. cursor: not-allowed;
  76. }
  77. // TODO: reactify and replace with `grw-not-available-for-guest`
  78. .edit-button.edit-button-disabled {
  79. cursor: not-allowed;
  80. }
  81. .grw-not-available-for-guest {
  82. cursor: not-allowed !important;
  83. }
  84. /*
  85. * Helper Classes
  86. */
  87. .mw-0 {
  88. min-width: 0;
  89. }
  90. .flex-basis-0 {
  91. flex-basis: 0;
  92. }
  93. .picture {
  94. width: 24px;
  95. height: 24px;
  96. // size list
  97. &.picture-lg {
  98. width: 48px;
  99. height: 48px;
  100. }
  101. &.picture-md {
  102. width: 24px;
  103. height: 24px;
  104. }
  105. &.picture-sm {
  106. width: 18px;
  107. height: 18px;
  108. }
  109. &.picture-xs {
  110. width: 14px;
  111. height: 14px;
  112. }
  113. }
  114. // transplant from FontAwesome
  115. .icon-fw {
  116. display: inline-block;
  117. width: 1.4em;
  118. text-align: left;
  119. }
  120. .cmd-key.mac {
  121. &:after {
  122. content: '⌘';
  123. }
  124. }
  125. .cmd-key.win {
  126. &:after {
  127. content: 'Ctrl';
  128. }
  129. }
  130. .grw-page-control-dropdown-item {
  131. display: flex !important;
  132. align-items: center;
  133. .grw-page-control-dropdown-icon {
  134. display: flex;
  135. justify-content: center;
  136. width: 25px;
  137. }
  138. }