Ruby on rails Rails:引导编辑表单CSS

Ruby on rails Rails:引导编辑表单CSS,ruby-on-rails,twitter-bootstrap,sass,css,Ruby On Rails,Twitter Bootstrap,Sass,Css,我想编辑bootstrap的CSS表单 bootstrap-sass / vendor / assets / stylesheets / bootstrap / _forms.scss 我抓住了 textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], i

我想编辑bootstrap的CSS表单

bootstrap-sass / vendor / assets / stylesheets / bootstrap / _forms.scss 
我抓住了

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 {
  background-color: $inputBackground;
  border: 1px solid $inputBorder;
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
  @include transition(border linear .2s, box-shadow linear .2s);

  // Focus state
  &:focus {
    border-color: rgba(82,168,236,.8);
    outline: 0;
    outline: thin dotted \9; /* IE6-9 */
    @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6));
  }
}
我试图改变焦点状态的rgba值

@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(200,168,136,.6)
但是我得到了以下错误: Mixin转换接受1个参数,但传递了2个参数。


我想我不允许只“覆盖”盒子阴影混合?但我不知道如何解决这个问题。非常感谢您的帮助。

您想逃避争论:

@include box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(200,168,136,.6)")

请注意
~
(波浪号)和
(引号)。这消除了逗号的混淆,less将逗号解释为两个参数之间的分隔。有关更多信息,请参阅less文档中的“转义”部分。

只是猜测,但
@包含框阴影(插入0 1px 1px rgba(0,0,0.075),0 0 8px rgba(200168136.6)
我想应该写成:
@包含框影(0 1px 1px rgba(0,0,0,075)插入,0 0 8px rgba(200168136,6)
插入在末尾。在SASS中,添加引号解决了没有波浪线的问题