summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/components/_inputs.scss
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-15 14:05:05 -0400
commit3745204097b2f03cd5f3fc1292ea62fb4f931232 (patch)
tree3380ee0fd2341dac1814aed8cf851bfe274a21a7 /web/sass-files/sass/components/_inputs.scss
parentbf7ae0711743926cfbb031675cc3320d7a942465 (diff)
parent7d79a916dd58d51989d35721060cfca6dce1baca (diff)
downloadchat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.gz
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.tar.bz2
chat-3745204097b2f03cd5f3fc1292ea62fb4f931232.zip
Merge pull request #2429 from asaadmahmoodspin/ui-improvements
PLT-963 - Improving scss structure
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;
+}