Sha256: bd01cc38fce49dfaa85e786697c8122bfb9d0a30774bbd25c7174ead32e68be0

Contents?: true

Size: 1.78 KB

Versions: 6

Compression:

Stored size: 1.78 KB

Contents

@import 'css/romo/vars';
@import 'css/romo/mixins';

.romo-select-dropdown-options-parent {
  display: none;
}

.romo-select-wrapper {
  display: inline-block;
  text-align: left;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  cursor: pointer;
  @include user-select(none);
  position: relative;
}

.romo-select {
  min-width: 50px;
  font-weight: normal;
  text-align: left;
  padding-left: 6px;
  padding-right: 6px;
}

.romo-select:focus{ @include input-focus; }

.romo-select:active,
.romo-select.active {
  background-image: none;
  outline: 0;
  @include box-shadow((inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)));
}

.romo-select-text {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}
.romo-select-caret {
  position: absolute;
  right: 4px + 1px; /* 4 px for desired spacing + 1 px select styling optical illusion */
  vertical-align: middle;
}

.romo-select-option-list {
  cursor: pointer;
  font-weight: normal;
  padding: 4px 0;
  @include user-select(none);

  background-color: $inputBgColor;
  color: $inputColor;
}

.romo-select-option-list UL {
  list-style: none outside none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
}

.romo-select-option-list UL.romo-select-optgroup LI {
  padding-left: $spacingSize1;
}

.romo-select-option-list LI {
  @include select-option;
}

.romo-select-option-list LI[data-romo-select-item="optgroup"] {
  @include select-optgroup;
}

.romo-select-option-list LI.romo-select-highlight {
  background-color: $inputHighlightBgColor;
  color: $inputBgColor;
}

.romo-select-option-list LI.disabled {
  cursor: $notAllowedCursor;
}

.romo-select-option-list LI.disabled,
.romo-select-option-list LI.disabled.romo-select-highlight {
  background-color: $inputBgColor;
  color: $disabledColor;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
romo-0.17.0 assets/css/romo/select.scss
romo-0.16.2 assets/css/romo/select.scss
romo-0.16.1 assets/css/romo/select.scss
romo-0.16.0 assets/css/romo/select.scss
romo-0.15.9 assets/css/romo/select.scss
romo-0.15.8 assets/css/romo/select.scss