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.

75 lines
1.2 KiB

1 year ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. @import "variables.less";
  2. @import "mixins.less";
  3. .br-theme-bars-1to10 {
  4. .br-widget {
  5. height: 50px;
  6. white-space: nowrap;
  7. a {
  8. display: block;
  9. width: 12px;
  10. padding: 5px 0;
  11. height: 28px;
  12. float: left;
  13. background-color: lighten(@orange-color, 25%);
  14. margin: 1px;
  15. text-align: center;
  16. &.br-active,
  17. &.br-selected {
  18. background-color: @orange-color;
  19. }
  20. }
  21. .br-current-rating {
  22. font-size: 20px;
  23. line-height: 2;
  24. float: left;
  25. padding: 0 20px 0 20px;
  26. color: @orange-color;
  27. font-weight: 400;
  28. }
  29. }
  30. .br-readonly {
  31. a {
  32. cursor: default;
  33. &.br-active, &.br-selected {
  34. background-color: lighten(@orange-color, 10%);
  35. }
  36. }
  37. .br-current-rating {
  38. color: lighten(@orange-color, 10%);
  39. }
  40. }
  41. }
  42. @media print {
  43. .br-theme-bars-1to10 {
  44. .br-widget {
  45. a {
  46. border: 1px solid lighten(black, 70%);
  47. background: white;
  48. height: 38px;
  49. .box-sizing(border-box);
  50. &.br-active,
  51. &.br-selected {
  52. border: 1px solid black;
  53. background: white;
  54. }
  55. }
  56. .br-current-rating {
  57. color: black;
  58. }
  59. }
  60. }
  61. }