Sha256: d2b1ffbbae1924f9bcbe8e4bff84b768cee6832054f5a3b79b366d577ccb073c

Contents?: true

Size: 1.34 KB

Versions: 13

Compression:

Stored size: 1.34 KB

Contents

=input-states($color)
  border-color: $color
  color: $color
  +box-shadow(none)
  &:focus
    +box-shadow(none)

// Text fields
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input
  border: 2px solid scale-color($base, $lightness: 85%)
  color: $base
  font-family: $base-font-family
  font-size: $base-font-size
  padding: 8px 0 9px 10px
  text-indent: 1px
  +border-radius(6px)
  +box-shadow(none)
  +placeholder-color(desaturate(scale-color($base, $lightness: 60%), 15%))

  &:focus
    border-color: $firm
    +box-shadow(none)

  .control-group.error &
    +input-states($danger)

  .control-group.success &
    +input-states($success)

  .control-group.warning &
    +input-states($warning)

  .control-group.info &
    +input-states($info)

// Disabled state -----------------
input[disabled],
input[readonly],
textarea[disabled],
textarea[readonly]
  background-color: scale-color($gray, $lightness: 80%)
  border-color: transparent
  color: scale-color($gray, $lightness: 50%)
  cursor: default

// Text field grids -----------------
input,
textarea,
.uneditable-input
  width: 192px

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
git-visualiser-0.0.11 lib/application/public/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.7 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.6 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.5 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.4 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.3 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.2 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
git-visualiser-0.0.1 lib/application/stylesheets/scss/flat_ui/modules/_input.sass
hashup-0.0.5 lib/hashup/templates/themes/assets/flat-ui/modules/_input.sass
flatui-rails-0.0.4 vendor/assets/stylesheets/flat-ui/modules/_input.sass
flatui-rails-0.0.3 vendor/assets/stylesheets/flat-ui/modules/_input.sass
flatui-rails-0.0.2 vendor/assets/stylesheets/flat-ui/modules/_input.sass
flatui-rails-0.0.1 vendor/assets/stylesheets/flat-ui/modules/_input.sass