specialization-selection.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. $specializationSelectionClass: 'specialization-selection';
  2. .#{$specializationSelectionClass} {
  3. &__container {
  4. background: #ffffff;
  5. box-sizing: border-box;
  6. width: calc(100% - 26px);
  7. padding: 10px;
  8. display: block;
  9. //max-height: 800px;
  10. //display: flex;
  11. //flex-direction: column;
  12. //flex-wrap: wrap;
  13. //align-items: flex-start;
  14. column-count: 3;
  15. column-gap: 10px;
  16. &:before,
  17. &:after {
  18. content: '';
  19. display: block;
  20. clear: both;
  21. }
  22. }
  23. &__group {
  24. //width: calc(33.333% - 10px);
  25. margin: 5px 5px 5px 5px;
  26. display: block;
  27. //float: left;
  28. &:nth-child(3n) {
  29. /*width: 33.333%;
  30. margin-right: 0;*/
  31. }
  32. }
  33. &__list {
  34. max-height: 125px;
  35. overflow: hidden;
  36. display: block;
  37. &-item {
  38. display: flex;
  39. flex-direction: row;
  40. justify-content: flex-start;
  41. padding: 5px;
  42. label {
  43. display: block;
  44. font-size: 13px;
  45. font-family: $fontopensans;
  46. }
  47. &--group-header {
  48. background: #ebebeb;
  49. padding: 7px 5px;
  50. label {
  51. display: block;
  52. font-family: $fontcuprum;
  53. font-size: 17px;
  54. }
  55. }
  56. }
  57. }
  58. &__checkbox {
  59. -webkit-appearance: checkbox;
  60. -moz-appearance: checkbox;
  61. appearance: checkbox;
  62. display: block;
  63. width: 13px !important;
  64. &--group-header {
  65. margin-top: 2px;
  66. }
  67. }
  68. &__checkbox-label {
  69. display: block;
  70. width: calc(100% - 13px - 5px);
  71. margin-left: 5px;
  72. }
  73. &__select-button {
  74. display: block;
  75. font-family: $fontcuprum;
  76. font-size: 17px;
  77. color: #fff;
  78. background-color: #004D7B;
  79. width: calc(100% - 26px);
  80. padding: 10px;
  81. cursor: pointer;
  82. &:hover {
  83. background-color: #006dae;
  84. }
  85. }
  86. &__more {
  87. color: #0A246A;
  88. font-size: 13px;
  89. font-family: $fontopensans;
  90. padding-left: 18px;
  91. cursor: pointer;
  92. &:after {
  93. content: '>';
  94. margin-left: 3px;
  95. }
  96. &:hover {
  97. color: lighten(#0A246A, 10%);
  98. text-decoration: underline;
  99. }
  100. }
  101. }