LaravelTest

Форк
0
201 строка · 7.5 Кб
1
.select2-container {
2
  display: block; }
3
  .select2-container *:focus {
4
    outline: 0; }
5

6
.input-group .select2-container--bootstrap4 {
7
  -webkit-box-flex: 1;
8
      -ms-flex-positive: 1;
9
          flex-grow: 1; }
10

11
.input-group-prepend ~ .select2-container--bootstrap4 .select2-selection {
12
  border-top-left-radius: 0;
13
  border-bottom-left-radius: 0; }
14

15
.input-group > .select2-container--bootstrap4:not(:last-child) .select2-selection {
16
  border-top-right-radius: 0;
17
  border-bottom-right-radius: 0; }
18

19
.select2-container--bootstrap4 .select2-selection {
20
  width: 100%;
21
  background-color: #fff;
22
  border: 1px solid #ced4da;
23
  border-radius: 0.25rem;
24
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
25
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
26
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
27
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; }
28
  @media (prefers-reduced-motion: reduce) {
29
    .select2-container--bootstrap4 .select2-selection {
30
      -webkit-transition: none;
31
      transition: none; } }
32

33
.select2-container--bootstrap4.select2-container--focus .select2-selection {
34
  border-color: #80bdff;
35
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
36
          box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); }
37

38
.select2-container--bootstrap4.select2-container--focus.select2-container--open .select2-selection {
39
  border-bottom: none;
40
  border-bottom-right-radius: 0;
41
  border-bottom-left-radius: 0; }
42

43
.select2-container--bootstrap4.select2-container--open.select2-container--above .select2-selection {
44
  border-top-left-radius: 0;
45
  border-top-right-radius: 0; }
46

47
.select2-container--bootstrap4.select2-container--open.select2-container--below .select2-selection {
48
  border-bottom-right-radius: 0;
49
  border-bottom-left-radius: 0; }
50

51
.select2-container--bootstrap4.select2-container--disabled .select2-selection, .select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-selection {
52
  cursor: not-allowed;
53
  background-color: #e9ecef;
54
  border-color: #ced4da;
55
  -webkit-box-shadow: none;
56
          box-shadow: none; }
57

58
.select2-container--bootstrap4.select2-container--disabled .select2-search__field, .select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-search__field {
59
  background-color: transparent; }
60

61
select.is-invalid ~ .select2-container--bootstrap4 .select2-selection,
62
form.was-validated select:invalid ~ .select2-container--bootstrap4 .select2-selection {
63
  border-color: #dc3545; }
64

65
select.is-valid ~ .select2-container--bootstrap4 .select2-selection,
66
form.was-validated select:valid ~ .select2-container--bootstrap4 .select2-selection {
67
  border-color: #28a745; }
68

69
.select2-container--bootstrap4 .select2-search {
70
  width: 100%; }
71

72
.select2-container--bootstrap4 .select2-dropdown {
73
  border-color: #ced4da;
74
  border-radius: 0; }
75
  .select2-container--bootstrap4 .select2-dropdown.select2-dropdown--below {
76
    border-top: none;
77
    border-bottom-right-radius: 0.25rem;
78
    border-bottom-left-radius: 0.25rem; }
79
  .select2-container--bootstrap4 .select2-dropdown.select2-dropdown--above {
80
    border-top: 1px solid #ced4da;
81
    border-top-left-radius: 0.25rem;
82
    border-top-right-radius: 0.25rem; }
83
  .select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"] {
84
    color: #212529;
85
    background-color: #f2f2f2; }
86

87
.select2-container--bootstrap4 .select2-results__option--highlighted,
88
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
89
  color: #fff;
90
  background-color: #007bff; }
91

92
.select2-container--bootstrap4 .select2-results__option[role="group"] {
93
  padding: 0; }
94
  .select2-container--bootstrap4 .select2-results__option[role="group"] .select2-results__options--nested .select2-results__option {
95
    padding-left: 1em; }
96

97
.select2-container--bootstrap4 .select2-results__option {
98
  padding: 0.375rem 0.75rem; }
99

100
.select2-container--bootstrap4 .select2-results > .select2-results__options {
101
  max-height: 15em;
102
  overflow-y: auto; }
103

104
.select2-container--bootstrap4 .select2-results__group {
105
  display: list-item;
106
  padding: 6px;
107
  color: #6c757d; }
108

109
.select2-container--bootstrap4 .select2-selection__clear {
110
  float: right;
111
  width: .9em;
112
  height: .9em;
113
  padding-left: .15em;
114
  margin-top: .7em;
115
  margin-right: .3em;
116
  line-height: .75em;
117
  color: #f8f9fa;
118
  background-color: #c8c8c8;
119
  border-radius: 100%; }
120
  .select2-container--bootstrap4 .select2-selection__clear:hover {
121
    background-color: #afafaf; }
122

123
.select2-container--bootstrap4 .select2-selection--single {
124
  height: calc(1.5em + 0.75rem + 2px) !important; }
125
  .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder {
126
    line-height: calc(1.5em + 0.75rem);
127
    color: #6c757d; }
128
  .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow {
129
    position: absolute;
130
    top: 50%;
131
    right: 3px;
132
    width: 20px; }
133
    .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
134
      position: absolute;
135
      top: 60%;
136
      left: 50%;
137
      width: 0;
138
      height: 0;
139
      margin-top: -2px;
140
      margin-left: -4px;
141
      border-color: #343a40 transparent transparent transparent;
142
      border-style: solid;
143
      border-width: 5px 4px 0; }
144
  .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
145
    padding-left: 0.75rem;
146
    line-height: calc(1.5em + 0.75rem);
147
    color: #495057; }
148

149
.select2-search--dropdown .select2-search__field {
150
  padding: 0.375rem 0.75rem;
151
  border: 1px solid #ced4da;
152
  border-radius: 0.25rem; }
153

154
.select2-results__message {
155
  color: #6c757d; }
156

157
.select2-container--bootstrap4 .select2-selection--multiple {
158
  min-height: calc(1.5em + 0.75rem + 2px) !important; }
159
  .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
160
    -webkit-box-sizing: border-box;
161
            box-sizing: border-box;
162
    width: 100%;
163
    padding: 0 0.375rem;
164
    margin: 0;
165
    list-style: none; }
166
  .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
167
    float: left;
168
    padding: 0;
169
    padding-right: 0.75rem;
170
    margin-top: calc(0.375rem - 2px);
171
    margin-right: 0.375rem;
172
    color: #495057;
173
    cursor: pointer;
174
    border: 1px solid #bdc6d0;
175
    border-radius: 0.2rem; }
176
  .select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
177
    color: #495057; }
178
  .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice + .select2-search {
179
    width: 0; }
180
  .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
181
    float: left;
182
    padding-right: 3px;
183
    padding-left: 3px;
184
    margin-right: 1px;
185
    margin-left: 3px;
186
    font-weight: 700;
187
    color: #bdc6d0; }
188
    .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
189
      color: #343a40; }
190
  .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__clear {
191
    position: absolute !important;
192
    top: 0;
193
    right: .7em;
194
    float: none;
195
    margin-right: 0; }
196

197
.select2-container--bootstrap4.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
198
  padding: 0 5px;
199
  cursor: not-allowed; }
200
  .select2-container--bootstrap4.select2-container--disabled .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
201
    display: none; }
202

203

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.