variables.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. //** Full navbar avatar padding
  20. @navbar-avatar-size: 34px;
  21. //** Compact navbar
  22. @navbar-compact-item-size: 24px;
  23. //== Error pages
  24. //
  25. @message-page-icon-size: 80px;
  26. //== Auth Changed message
  27. //
  28. @auth-changed-bg: @gray-lighter;
  29. @auth-changed-color: @gray-darker;
  30. //== User status colors
  31. //
  32. @user-status-banned: @brand-danger;
  33. @user-status-online: @brand-success;
  34. @user-status-offline: @gray-light;
  35. //== Read status colors
  36. //
  37. @category-read-color: @gray-light;
  38. @category-new-color: @brand-success;
  39. @thread-read-color: @gray-light;
  40. @thread-new-color: @text-color;
  41. @thread-read-icon-color: @gray-light;
  42. @thread-new-icon-color: @brand-success;
  43. //== Threads list
  44. //
  45. @thread-col-icon: 46px;
  46. @thread-col-icon-mb: 46px;
  47. @thread-col-option: 46px;
  48. @thread-col-options: 100px;
  49. @thread-col-option-mb: 8px;
  50. @thread-col-options-mb: @thread-col-option-mb;
  51. //== Posts list
  52. //
  53. @post-avatar-size: 100px;
  54. @event-icon-size: 28px;
  55. //-- Z-index master list
  56. //
  57. // Warning: Avoid customizing these values. They're used for a bird's eye view
  58. // of components dependent on the z-axis and are designed to all work together.
  59. //
  60. // Note: These variables are not generated into the Customizer.
  61. @zindex-navbar: 1000;
  62. @zindex-dropdown: 1000;
  63. @zindex-popover: 1060;
  64. @zindex-tooltip: 1070;
  65. @zindex-navbar-fixed: 1030;
  66. @zindex-modal-background: 1040;
  67. @zindex-modal: 1050;
  68. @zindex-auth-message: 1070;
  69. //== Grid system
  70. //
  71. //## Define your custom responsive grid.
  72. // Navbar collapse
  73. //** Point at which the navbar becomes uncollapsed.
  74. @grid-float-breakpoint: 700px;
  75. //** Point at which the navbar begins collapsing.
  76. @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);