summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/components/_inputs.scss
diff options
context:
space:
mode:
Diffstat (limited to 'web/sass-files/sass/components/_inputs.scss')
-rw-r--r--web/sass-files/sass/components/_inputs.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/sass-files/sass/components/_inputs.scss b/web/sass-files/sass/components/_inputs.scss
new file mode 100644
index 000000000..5e3311182
--- /dev/null
+++ b/web/sass-files/sass/components/_inputs.scss
@@ -0,0 +1,26 @@
+@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;
+ }
+}
+
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+ cursor: auto;
+ background: rgba(#fff, .1);
+ color: inherit;
+}