layout.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .select2-container--default {
  2. @import "single";
  3. @import "multiple";
  4. &.select2-container--open.select2-container--above {
  5. .select2-selection--single, .select2-selection--multiple {
  6. border-top-left-radius: 0;
  7. border-top-right-radius: 0;
  8. }
  9. }
  10. &.select2-container--open.select2-container--below {
  11. .select2-selection--single, .select2-selection--multiple {
  12. border-bottom-left-radius: 0;
  13. border-bottom-right-radius: 0;
  14. }
  15. }
  16. .select2-search--dropdown {
  17. .select2-search__field {
  18. //color: $cnaf;
  19. //border: 1px solid $cnaf-brder;
  20. }
  21. }
  22. .select2-search--inline {
  23. .select2-search__field {
  24. background: transparent;
  25. //color: $cnaf;
  26. border: none;
  27. outline: 0;
  28. box-shadow: none;
  29. -webkit-appearance: textfield;
  30. }
  31. }
  32. .select2-results > .select2-results__options {
  33. max-height: 200px;
  34. //color: $cnaf-text;
  35. overflow-y: auto;
  36. }
  37. .select2-results__option {
  38. &[role=group] {
  39. padding: 0;
  40. }
  41. &[aria-disabled=true] {
  42. //color: $cnaf-disabled;
  43. }
  44. &[aria-selected=true] {
  45. //color: $cnaf;
  46. }
  47. .select2-results__option {
  48. padding-left: 1em;
  49. .select2-results__group {
  50. padding-left: 0;
  51. }
  52. .select2-results__option {
  53. margin-left: -1em;
  54. padding-left: 2em;
  55. .select2-results__option {
  56. margin-left: -2em;
  57. padding-left: 3em;
  58. .select2-results__option {
  59. margin-left: -3em;
  60. padding-left: 4em;
  61. .select2-results__option {
  62. margin-left: -4em;
  63. padding-left: 5em;
  64. .select2-results__option {
  65. margin-left: -5em;
  66. padding-left: 6em;
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. }
  74. .select2-results__option--highlighted[aria-selected] {
  75. //background-color: $cnaf;
  76. //color: $cnaf-text-white;
  77. }
  78. .select2-results__group {
  79. cursor: default;
  80. display: block;
  81. padding: 6px;
  82. }
  83. .select2-results__message {
  84. //color: $cnaf-placeholder;
  85. }
  86. }