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.

125 lines
2.3 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. /*******************************
  2. Label
  3. *******************************/
  4. /*-------------------
  5. Standard
  6. --------------------*/
  7. @verticalAlign: baseline;
  8. @verticalMargin: 0.25em;
  9. @horizontalMargin: 0.125em;
  10. @groupVerticalMargin: 0.75em;
  11. @groupHorizontalMargin: 0.5em;
  12. @backgroundColor: #E8E8E8;
  13. @backgroundImage: none;
  14. @labelTextColor: rgba(0, 0, 0, 0.65);
  15. @verticalPadding: 0.8em;
  16. @horizontalPadding: 0.8em;
  17. @borderRadius: 0.325em;
  18. @textTransform: uppercase;
  19. @fontWeight: normal;
  20. /*-------------------
  21. Elements
  22. --------------------*/
  23. @linkOpacity: 0.8;
  24. @iconDistance: 0.75em;
  25. @detailOpacity: 0.8;
  26. @detailIconDistance: 0.25em;
  27. @detailMargin: 1em;
  28. @deleteMargin: 0.5em;
  29. /*-------------------
  30. Types
  31. --------------------*/
  32. @imageLabelBackgroundColor: @backgroundColor;
  33. @imageLabelBorderRadius: @circularRadius;
  34. @imageLabelImageHeight: (1em + @verticalPadding * 2);
  35. @imageLabelBoxShadow: none;
  36. @imageLabelDistance: 0.5em,;
  37. /*-------------------
  38. States
  39. --------------------*/
  40. @labelHoverBackgroundColor: #E0E0E0;
  41. @labelHoverBackgroundImage: none;
  42. @labelHoverTextColor: @selectedTextColor;
  43. /*-------------------
  44. Variations
  45. --------------------*/
  46. /* Tag */
  47. @tagCircleColor: #FFFFFF;
  48. @tagCircleSize: 0.5em;
  49. @tagHorizontalPadding: 1.5em;
  50. @tagCircleBoxShadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
  51. @tagTriangleRightOffset: 100%;
  52. @tagTriangleTopOffset: 50%;
  53. @tagTriangleSize: 1.75em;
  54. /* Ribbon */
  55. @ribbonDistance: 2rem;
  56. @ribbonMargin: 1em;
  57. @ribbonTriangleSize: 1.3em;
  58. @ribbonShadowColor: rgba(0, 0, 0, 0.15);
  59. /* Attached */
  60. @attachedSegmentPadding: 2.5em;
  61. @attachedVerticalPadding: 0.75em;
  62. @attachedHorizontalPadding: 1em;
  63. /* Corner */
  64. @cornerSizeRatio: 1.2;
  65. @cornerTriangleSize: 2.5em;
  66. @cornerTextWidth: 3em;
  67. @cornerTextSize: 0.7em;
  68. @cornerIconSize: 0.7em;
  69. @cornerTopOffset: 0.1em;
  70. @cornerLeftOffset: 0.95em;
  71. /* Horizontal */
  72. @horizontalLabelMinWidth: 3em;
  73. @horizontalLabelMargin: 0.5em;
  74. @horizontalLabelVerticalPadding: 0.4em;
  75. /* Circular Padding */
  76. @circularPadding: 0.5em;
  77. @circularMinSize: 2em;
  78. /* Pointing */
  79. @pointingTriangleSize: 0.6em;
  80. @pointingTriangleOffset: (@pointingTriangleSize / 2);
  81. /* Floating */
  82. @floatingTopOffset: -1em;
  83. @floatingLeftOffset: -1.5em;
  84. /*-------------------
  85. Group
  86. --------------------*/
  87. /* Sizing */
  88. @tiny: 0.75rem;
  89. @small: 0.8rem;
  90. @medium: 0.875rem;
  91. @large: 0.9rem;
  92. @huge: 1rem;