Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 1 | body { |
| 2 | .ui-selectonemenu { |
||
| 3 | vertical-align: baseline; |
||
| 4 | border: $inputBorder; |
||
| 5 | position: relative; |
||
| 6 | transform: none; |
||
| 7 | padding: 0; |
||
| 8 | transition: $transition; |
||
| 9 | border-radius: $borderRadius; |
||
| 10 | background: $inputBg; |
||
| 11 | |||
| 12 | .ui-selectonemenu-label { |
||
| 13 | background: transparent; |
||
| 14 | padding-right: $buttonIconOnlyWidth; |
||
| 15 | min-height: calc(2rem + 3px); |
||
| 16 | } |
||
| 17 | |||
| 18 | .ui-selectonemenu-trigger { |
||
| 19 | border: 0 none; |
||
| 20 | cursor: pointer; |
||
| 21 | height: 100%; |
||
| 22 | position: absolute; |
||
| 23 | padding: 0; |
||
| 24 | @include flex(); |
||
| 25 | @include flex-align-center(); |
||
| 26 | @include flex-justify-center(); |
||
| 27 | width: $buttonIconOnlyWidth; |
||
| 28 | background: transparent; |
||
| 29 | border-top-right-radius: $borderRadius; |
||
| 30 | border-bottom-right-radius: $borderRadius; |
||
| 31 | |||
| 32 | .ui-icon { |
||
| 33 | position: static; |
||
| 34 | margin: 0; |
||
| 35 | color: $inputIconColor; |
||
| 36 | @include icon_override("\e902"); |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | &.ui-state-hover:not(.ui-state-error) { |
||
| 41 | border-color: $inputHoverBorderColor; |
||
| 42 | } |
||
| 43 | |||
| 44 | &.ui-state-focus:not(.ui-state-error) { |
||
| 45 | @include focused-input(); |
||
| 46 | } |
||
| 47 | |||
| 48 | &.ui-state-error { |
||
| 49 | @include invalid-input(); |
||
| 50 | } |
||
| 51 | } |
||
| 52 | |||
| 53 | .ui-fluid { |
||
| 54 | .ui-selectonemenu-label { |
||
| 55 | width: calc(100% - #{$buttonIconOnlyWidth}); |
||
| 56 | padding: $inputPadding; |
||
| 57 | } |
||
| 58 | .ui-selectonemenu { |
||
| 59 | .ui-selectonemenu-trigger { |
||
| 60 | width: $buttonIconOnlyWidth; |
||
| 61 | padding: 0; |
||
| 62 | } |
||
| 63 | } |
||
| 64 | } |
||
| 65 | |||
| 66 | &.ui-input-filled, |
||
| 67 | .ui-input-filled { |
||
| 68 | .ui-selectonemenu { |
||
| 69 | background: $inputFilledBg; |
||
| 70 | |||
| 71 | &.ui-state-hover { |
||
| 72 | background-color: $inputFilledHoverBg; |
||
| 73 | } |
||
| 74 | |||
| 75 | &.ui-state-focus { |
||
| 76 | background-color: $inputFilledFocusBg; |
||
| 77 | } |
||
| 78 | } |
||
| 79 | } |
||
| 80 | |||
| 81 | .ui-selectonemenu-panel { |
||
| 82 | background: $inputListBg; |
||
| 83 | border: $inputOverlayBorder; |
||
| 84 | box-shadow: $inputOverlayShadow; |
||
| 85 | border-radius: $borderRadius; |
||
| 86 | |||
| 87 | .ui-selectonemenu-filter-container { |
||
| 88 | padding: $inputListHeaderPadding; |
||
| 89 | margin: 0; |
||
| 90 | border-bottom: $inputListHeaderBorder; |
||
| 91 | background: $inputListHeaderBg; |
||
| 92 | color: $inputListHeaderTextColor; |
||
| 93 | |||
| 94 | .ui-selectonemenu-filter.ui-inputfield { |
||
| 95 | padding: $inputPadding; |
||
| 96 | width: 100%; |
||
| 97 | padding-left: 2 * nth($inputPadding, 2) + $iconSize; |
||
| 98 | } |
||
| 99 | |||
| 100 | .ui-icon { |
||
| 101 | @include icon_override("\e908"); |
||
| 102 | position: absolute; |
||
| 103 | left: nth($inputListHeaderPadding, 2) + nth($inputPadding, 2); |
||
| 104 | top: 50%; |
||
| 105 | right: auto; |
||
| 106 | bottom: auto; |
||
| 107 | margin-top: -1 * $iconSize / 2; |
||
| 108 | color: $inputIconColor; |
||
| 109 | } |
||
| 110 | } |
||
| 111 | |||
| 112 | .ui-selectonemenu-items { |
||
| 113 | padding: $inputListPadding; |
||
| 114 | |||
| 115 | &.ui-selectonemenu-table { |
||
| 116 | > thead tr th { |
||
| 117 | background: $panelHeaderBg; |
||
| 118 | border: $datatableHeaderCellBorder; |
||
| 119 | color: $panelHeaderTextColor; |
||
| 120 | font-weight: $panelHeaderFontWeight; |
||
| 121 | } |
||
| 122 | } |
||
| 123 | |||
| 124 | .ui-selectonemenu-item { |
||
| 125 | margin: $inputListItemMargin; |
||
| 126 | padding: $inputListItemPadding; |
||
| 127 | background: $inputListItemBg; |
||
| 128 | color: $inputListItemTextColor; |
||
| 129 | outline: 0 none; |
||
| 130 | border-radius: $inputListItemBorderRadius; |
||
| 131 | transition: $transition; |
||
| 132 | |||
| 133 | &.ui-selectonemenu-row { |
||
| 134 | background: $datatableBodyRowBg; |
||
| 135 | color: $datatableBodyRowTextColor; |
||
| 136 | border: $datatableBodyRowBorder; |
||
| 137 | |||
| 138 | > td { |
||
| 139 | padding: $datatableBodyCellPadding; |
||
| 140 | } |
||
| 141 | |||
| 142 | &:first-child { |
||
| 143 | border-top-color: transparent; |
||
| 144 | } |
||
| 145 | } |
||
| 146 | |||
| 147 | &.ui-state-hover { |
||
| 148 | background: $inputListItemHoverBg; |
||
| 149 | color: $inputListItemTextHoverColor; |
||
| 150 | } |
||
| 151 | |||
| 152 | &.ui-state-highlight { |
||
| 153 | background: $inputListItemHighlightBg; |
||
| 154 | color: $inputListItemHighlightTextColor; |
||
| 155 | } |
||
| 156 | } |
||
| 157 | |||
| 158 | .ui-selectonemenu-item-group { |
||
| 159 | background: $submenuHeaderBg; |
||
| 160 | margin: $submenuHeaderMargin; |
||
| 161 | padding: $submenuHeaderPadding; |
||
| 162 | color: $submenuHeaderTextColor; |
||
| 163 | } |
||
| 164 | } |
||
| 165 | } |
||
| 166 | } |