Files
mostlymatter/webapp/sass/components/_inputs.scss
2017-08-22 12:33:22 -07:00

72 строки
1.1 KiB
SCSS

@charset 'UTF-8';
.form-control {
@include border-radius($border-rad);
&:focus {
@include box-shadow(none);
}
&.no-padding {
line-height: 32px;
padding: 0;
}
&.no-resize {
resize: none;
}
&[disabled],
[readonly] {
@include alpha-property(background, $white, .1);
color: inherit;
cursor: auto;
}
}
fieldset {
&[disabled] {
.form-control {
@include alpha-property(background, $white, .1);
color: inherit;
cursor: auto;
}
}
}
.admin-textarea {
resize: none;
}
input {
&[type='radio'],
&[type='checkbox'] {
font-size: 14px;
margin-top: 3px;
}
}
input::-webkit-file-upload-button {
display: none
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: inherit;
opacity: 0.5;
}
::-moz-placeholder { /* Firefox 19+ */
color: inherit;
opacity: 0.5;
}
:-ms-input-placeholder { /* IE 10+ */
color: inherit;
opacity: 0.5;
}
:-moz-placeholder { /* Firefox 18- */
color: inherit;
opacity: 0.5;
}