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.

85 lines
1.8 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*******************************
  2. Progress
  3. *******************************/
  4. /*-------------------
  5. Element
  6. --------------------*/
  7. @verticalSpacing: 1em;
  8. @margin: @verticalSpacing 0em (@labelHeight + @verticalSpacing);
  9. @firstMargin: 0em 0em (@labelHeight + @verticalSpacing);
  10. @lastMargin: 0em 0em (@labelHeight);
  11. @background: @subtleTransparentBlack;
  12. @border: 1px solid rgba(0, 0, 0, 0.05);
  13. @boxShadow: none;
  14. @padding: 0.325em;
  15. @borderRadius: 0.325em;
  16. /* Bar */
  17. @barPosition: relative;
  18. @barHeight: 1.75em;
  19. @barBackground: #888888;
  20. @barBorderRadius: @borderRadius;
  21. @barTransition:
  22. width 0.5s @defaultEasing,
  23. background-color 1s @defaultEasing
  24. ;
  25. @barInitialWidth: 0%;
  26. @barMinWidth: 0.25em;
  27. /* Progress Bar Label */
  28. @progressWidth: auto;
  29. @progressSize: 0.9em;
  30. @progressPosition: absolute;
  31. @progressTop: 50%;
  32. @progressRight: 0.5em;
  33. @progressLeft: auto;
  34. @progressBottom: auto;
  35. @progressOffset: -0.5em;
  36. @progressColor: @invertedLightTextColor;
  37. @progressTextShadow: none;
  38. @progressFontWeight: bold;
  39. @progressTextAlign: left;
  40. /* Label */
  41. @labelWidth: 100%;
  42. @labelHeight: 1.5em;
  43. @labelSize: 1em;
  44. @labelPosition: absolute;
  45. @labelTop: 100%;
  46. @labelLeft: 0%;
  47. @labelRight: auto;
  48. @labelBottom: auto;
  49. @labelOffset: (@labelHeight - 1.3em);
  50. @labelColor: @textColor;
  51. @labelTextShadow: none;
  52. @labelFontWeight: bold;
  53. @labelTextAlign: center;
  54. @labelTransition: color 1s @defaultEasing;
  55. /*-------------------
  56. States
  57. --------------------*/
  58. /* Active */
  59. @activePulseColor: @white;
  60. @activePulseMaxOpacity: 0.3;
  61. @activePulseDuration: 2s;
  62. /*-------------------
  63. Types
  64. --------------------*/
  65. /* Attached */
  66. @attachedHeight: 0.25em;
  67. @attachedBorderRadius: @borderRadius;
  68. /* Inverted */
  69. @invertedBackground: @transparentWhite;
  70. @invertedBorder: none;
  71. @invertedBarBackground: @barBackground;
  72. @invertedProgressColor: @offWhite;
  73. @invertedLabelColor: @white;