Sha256: 4a6203f78ff56b925569d6913a75b8270ddebe6db94b5844a381c3444c97569b

Contents?: true

Size: 1.71 KB

Versions: 17

Compression:

Stored size: 1.71 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: 6px;
  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

17 entries across 17 versions & 1 rubygems

Version Path
romo-0.15.7 assets/css/romo/select.scss
romo-0.15.6 assets/css/romo/select.scss
romo-0.15.5 assets/css/romo/select.scss
romo-0.15.4 assets/css/romo/select.scss
romo-0.15.3 assets/css/romo/select.scss
romo-0.15.2 assets/css/romo/select.scss
romo-0.15.1 assets/css/romo/select.scss
romo-0.15.0 assets/css/romo/select.scss
romo-0.14.4 assets/css/romo/select.scss
romo-0.14.3 assets/css/romo/select.scss
romo-0.14.2 assets/css/romo/select.scss
romo-0.14.1 assets/css/romo/select.scss
romo-0.14.0 assets/css/romo/select.scss
romo-0.13.0 assets/css/romo/select.scss
romo-0.12.0 assets/css/romo/select.scss
romo-0.11.0 assets/css/romo/select.scss
romo-0.10.0 assets/css/romo/select.scss