UNPKG

1.28 kBSCSSView Raw
1@import "../../themes/ionic.globals";
2
3// Select
4// --------------------------------------------------
5
6/// @prop - Margin top of the select popover list
7$select-popover-list-margin-top: -1px !default;
8
9// deprecated
10$select-popover-list-margin-right: 0 !default;
11/// @prop - Margin end of the select popover list
12$select-popover-list-margin-end: $select-popover-list-margin-right !default;
13
14/// @prop - Margin bottom of the select popover list
15$select-popover-list-margin-bottom: -1px !default;
16
17// deprecated
18$select-popover-list-margin-left: 0 !default;
19/// @prop - Margin start of the select popover list
20$select-popover-list-margin-start: $select-popover-list-margin-left !default;
21
22
23ion-select {
24 display: flex;
25 overflow: hidden;
26
27 max-width: 45%;
28}
29
30.select-text {
31 overflow: hidden;
32
33 flex: 1;
34
35 min-width: 16px;
36
37 font-size: inherit;
38 text-overflow: ellipsis;
39 white-space: nowrap;
40}
41
42.item-multiple-inputs ion-select {
43 position: relative;
44}
45
46.select-disabled,
47.item-select-disabled ion-label {
48 opacity: .4;
49
50 pointer-events: none;
51}
52
53.select-popover ion-list {
54 @include margin($select-popover-list-margin-top, $select-popover-list-margin-end, $select-popover-list-margin-bottom, $select-popover-list-margin-start);
55}