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.

99 lines
1.6 KiB

  1. .poll {
  2. margin-top: 16px;
  3. font-size: 14px;
  4. li {
  5. margin-bottom: 10px;
  6. position: relative;
  7. }
  8. &__chart {
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. height: 100%;
  13. display: inline-block;
  14. border-radius: 4px;
  15. background: darken($ui-primary-color, 14%);
  16. &.leading {
  17. background: $ui-highlight-color;
  18. }
  19. }
  20. &__text {
  21. position: relative;
  22. display: inline-block;
  23. padding: 6px 0;
  24. line-height: 18px;
  25. cursor: default;
  26. input[type=radio],
  27. input[type=checkbox] {
  28. display: none;
  29. }
  30. &.selectable {
  31. cursor: pointer;
  32. }
  33. }
  34. &__input {
  35. display: inline-block;
  36. position: relative;
  37. border: 1px solid $ui-primary-color;
  38. box-sizing: border-box;
  39. width: 18px;
  40. height: 18px;
  41. margin-right: 10px;
  42. top: -1px;
  43. border-radius: 50%;
  44. vertical-align: middle;
  45. &.checkbox {
  46. border-radius: 4px;
  47. }
  48. &.active {
  49. border-color: $valid-value-color;
  50. background: $valid-value-color;
  51. }
  52. }
  53. &__number {
  54. display: inline-block;
  55. width: 36px;
  56. font-weight: 700;
  57. padding: 0 10px;
  58. text-align: right;
  59. }
  60. &__footer {
  61. padding-top: 6px;
  62. padding-bottom: 5px;
  63. color: $dark-text-color;
  64. }
  65. &__link {
  66. display: inline;
  67. background: transparent;
  68. padding: 0;
  69. margin: 0;
  70. border: 0;
  71. color: $dark-text-color;
  72. text-decoration: underline;
  73. &:hover,
  74. &:focus,
  75. &:active {
  76. text-decoration: none;
  77. }
  78. }
  79. .button {
  80. height: 36px;
  81. padding: 0 16px;
  82. margin-right: 10px;
  83. font-size: 14px;
  84. }
  85. }