2
0

style-next.scss 2.8 KB

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