You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.9 KiB

2 years ago
  1. @import (reference) "./colortheme-all.less";
  2. @import (reference) "./toolbar.less";
  3. @import (reference) './fileupload.less';
  4. @import (reference) './alertify.less';
  5. @import (reference) './tokenfield.less';
  6. @import (reference) './creation.less';
  7. @import (reference) './tippy.less';
  8. @import (reference) "./checkmark.less";
  9. @import (reference) "./password-input.less";
  10. @import (reference) './font.less';
  11. @import (reference) "./app-print.less";
  12. @import (reference) "./app-noscroll.less";
  13. .framework_main(@bg-color, @warn-color, @color) {
  14. --LessLoader_require: LessLoader_currentFile();
  15. // Set the HTML style for the apps which shouldn't have a body scrollbar
  16. .app-noscroll_main();
  17. // Set the HTML style for printing slides
  18. .app-print_main();
  19. .font_main();
  20. .toolbar_main(
  21. @bg-color: @bg-color,
  22. @warn-color: @warn-color,
  23. @color: @color
  24. );
  25. .alertify_main();
  26. .fileupload_main();
  27. .tokenfield_main();
  28. .tippy_main();
  29. .checkmark_main(20px);
  30. .password_main();
  31. .creation_main(
  32. @bg-color: @bg-color,
  33. @color: @color
  34. );
  35. font: @colortheme_app-font;
  36. };
  37. .framework_min_main(
  38. @color: @colortheme_default-color, // Color of the text for the toolbar
  39. @bg-color: @colortheme_default-bg, // color of the toolbar background
  40. @warn-color: @colortheme_default-warn, // color of the warning text in the toolbar
  41. ) {
  42. --LessLoader_require: LessLoader_currentFile();
  43. // Set the HTML style for the apps which shouldn't have a body scrollbar
  44. .app-noscroll_main();
  45. // Set the HTML style for printing slides
  46. .app-print_main();
  47. .font_main();
  48. .toolbar_main(
  49. @bg-color: @bg-color,
  50. @warn-color: @warn-color,
  51. @color: @color
  52. );
  53. .fileupload_main();
  54. .alertify_main();
  55. .tippy_main();
  56. .checkmark_main(20px);
  57. .password_main();
  58. font: @colortheme_app-font;
  59. }
  60. & {
  61. body.cp-readonly .cp-hidden-if-readonly { display: none !important; }
  62. }