variables.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //
  2. // Misago Default Theme Variables
  3. // --------------------------------------------------
  4. //== Loaders
  5. //
  6. //## Loaders appearance and spacing.
  7. //** Full loader size (both width and height)
  8. @loader-size: 80px;
  9. //** Loader color
  10. @loader-color: @gray-light;
  11. //** UI preview color
  12. @ui-preview: @gray-lighter;
  13. @ui-preview-in: 1;
  14. @ui-preview-out: 0.1;
  15. @ui-preview-frequency: 1s;
  16. //== Navbar
  17. //
  18. //## Extra navbar configurability
  19. // ** Navbar icon height
  20. @navbar-icon-height: 32px;
  21. //** Navbar height
  22. @navbar-height: 58px;
  23. //** Full navbar avatar padding
  24. @navbar-avatar-size: 34px;
  25. //** Compact navbar
  26. @navbar-compact-link-color: @navbar-default-link-color;
  27. @navbar-compact-link-hover-color: @navbar-default-link-hover-color;
  28. @navbar-compact-link-hover-bg: @navbar-default-link-hover-bg;
  29. @navbar-compact-item-size: 24px;
  30. //== Error pages
  31. //
  32. @message-page-icon-size: 80px;
  33. //== Auth Changed message
  34. //
  35. @auth-changed-bg: @gray-lighter;
  36. @auth-changed-color: @gray-darker;
  37. //== User status colors
  38. //
  39. @user-status-banned: @brand-danger;
  40. @user-status-online: @brand-success;
  41. @user-status-offline: @gray-light;
  42. //== Read status colors
  43. //
  44. @category-read-color: @gray-light;
  45. @category-new-color: @brand-success;
  46. @thread-read-color: @gray-light;
  47. @thread-new-color: @text-color;
  48. //== Posts list
  49. //
  50. @post-avatar-size: 100px;
  51. @event-icon-size: 28px;
  52. //-- Z-index master list
  53. //
  54. // Warning: Avoid customizing these values. They're used for a bird's eye view
  55. // of components dependent on the z-axis and are designed to all work together.
  56. //
  57. // Note: These variables are not generated into the Customizer.
  58. @zindex-navbar: 1000;
  59. @zindex-dropdown: 1000;
  60. @zindex-popover: 1060;
  61. @zindex-tooltip: 1070;
  62. @zindex-navbar-fixed: 1030;
  63. @zindex-modal-background: 1040;
  64. @zindex-modal: 1050;
  65. @zindex-auth-message: 1070;
  66. //== Grid system
  67. //
  68. //## Define your custom responsive grid.
  69. // Navbar collapse
  70. //** Point at which the navbar becomes uncollapsed.
  71. @grid-float-breakpoint: 700px;
  72. //** Point at which the navbar begins collapsing.
  73. @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);