_sizes.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. // Sizes & Placement
  2. $border-size--active: 3px !default;
  3. $icon-size: 16px !default;
  4. $border-radius: 2px !default;
  5. /////////////////////////
  6. // Button
  7. $button-width: 32px !default;
  8. $button-height: 32px !default;
  9. // button : half
  10. $button-width--half: floor($button-width / 2) !default;
  11. $button-height--half: floor($button-height / 2) !default;
  12. // button : quarter
  13. $button-width--quarter: floor($button-width / 4) !default;
  14. $button-height--quarter: floor($button-height / 4) !default;
  15. // button : fifth
  16. $button-width--fifth: floor($button-width / 5) !default;
  17. $button-height--fifth: floor($button-height / 5) !default;
  18. // button : plus half`
  19. $button-width--plus-half: floor($button-width * 1.5) !default;
  20. $button-height--plus-half: floor($button-height * 1.5) !default;
  21. // button : double
  22. $button-width--double: floor($button-width * 2) !default;
  23. $button-height--double: floor($button-height * 2) !default;
  24. /////////////////////////
  25. // List Items
  26. $list-item-height: 48px !default;
  27. $list-item-height--three-quarters: floor($list-item-height * 3/4) !default;
  28. /////////////////////////
  29. // Toggle
  30. $toggle-offset: 4px !default;
  31. $toggle-width: 28px !default;
  32. $toggle-height: 16px !default;
  33. $toggle-handle-size: $toggle-height - $toggle-offset !default;
  34. /////////////////////////
  35. // Panel
  36. $panel-width: 300px !default;
  37. $panel-width--three-quarters: floor($panel-width * 3/4) !default;
  38. $panel-width--plus-half: floor($panel-width * 1.5) !default;
  39. $panel-min-height--large: 240px !default;
  40. $panel-min-height--medium: 120px !default;
  41. $panel-min-height--small: 96px !default;
  42. $panel-min-height--xsmall: 32px !default;
  43. $panel-max-height--large: 680px !default;
  44. $panel-max-height--medium: 540px !default;
  45. $panel-max-height--small: 420px !default;
  46. $panel-max-height--xsmall: 240px !default;
  47. /////////////////////////
  48. // Component (widget in view) max heights based on view height
  49. $view-height--gt-medium__component-max-height: 680px !default;
  50. $view-height--medium__component-max-height: 540px !default;
  51. $view-height--small__component-max-height: 420px !default;
  52. $view-height--xsmall__component-max-height: 240px !default;
  53. /////////////////////////
  54. // Popup
  55. $docked-margin: 15px !default;
  56. $docked-margin--double: floor($docked-margin * 2) !default;
  57. /////////////////////////
  58. // Loading
  59. $looping-progress-bar-width: 20% !default;
  60. $looping-progress-bar-params: 1500ms linear infinite !default;
  61. $spinning-loader-size: $icon-size !default;
  62. /////////////////////////
  63. // Spacing
  64. $side-spacing: 15px !default;
  65. $cap-spacing: 12px !default;
  66. // spacing : three quarters
  67. $side-spacing--three-quarters: floor($side-spacing * 3/4) !default;
  68. $cap-spacing--three-quarters: floor($cap-spacing * 3/4) !default;
  69. // spacing : half
  70. $side-spacing--half: floor($side-spacing / 2) !default;
  71. $cap-spacing--half: floor($cap-spacing / 2) !default;
  72. // spacing : third
  73. $side-spacing--third: floor($side-spacing / 3) !default;
  74. $cap-spacing--third: floor($cap-spacing / 3) !default;
  75. // spacing : quarter
  76. $side-spacing--quarter: floor($side-spacing / 4) !default;
  77. $cap-spacing--quarter: floor($cap-spacing / 4) !default;
  78. // spacing : eighth
  79. $side-spacing--eighth: ceil($side-spacing / 8) !default;
  80. $cap-spacing--eighth: ceil($cap-spacing / 8) !default;
  81. // spacing : plus half
  82. $side-spacing--plus-half: floor($side-spacing * 1.5) !default;
  83. $cap-spacing--plus-half: floor($cap-spacing * 1.5) !default;
  84. // spacing : double
  85. $side-spacing--double: floor($side-spacing * 2) !default;
  86. $cap-spacing--double: floor($cap-spacing * 2) !default;
  87. /////////////////////////
  88. // View UI
  89. $view-ui-spacing: 10px !default;
  90. /////////////////////////
  91. // Smart Mapping Sliders
  92. $smartmapping-slider__width: 260px !default;
  93. $smartmapping-slider__base-height: 240px !default;
  94. $smartmapping-slider__ramp-width: 30px !default;
  95. $smartmapping-slider__ramp-stroke-width: 1px !default;
  96. $smartmapping-slider__ramp-path-stroke-width: 0.5px !default;
  97. $smartmapping-slider__histogram-width: 120px !default;
  98. $smartmapping-slider__range-input-height: 40px !default;
  99. $smartmapping-slider__thumb-size: 12px !default;
  100. $smartmapping-slider__thumb-size--offset: round($smartmapping-slider__thumb-size/2) !default;
  101. $smartmapping-slider__thumb-pointer-size: round($smartmapping-slider__thumb-size/2) !default;