summaryrefslogtreecommitdiffstats
path: root/web/sass-files/sass/layout/_forms.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/layout/_forms.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/layout/_forms.scss')
-rw-r--r--web/sass-files/sass/layout/_forms.scss66
1 files changed, 66 insertions, 0 deletions
diff --git a/web/sass-files/sass/layout/_forms.scss b/web/sass-files/sass/layout/_forms.scss
new file mode 100644
index 000000000..1f51603cc
--- /dev/null
+++ b/web/sass-files/sass/layout/_forms.scss
@@ -0,0 +1,66 @@
+@charset 'UTF-8';
+
+.form-horizontal {
+ .modal-intro {
+ margin: -10px 0 30px;
+ }
+
+ .form__label {
+ text-align: left;
+ padding-right: 3px;
+ font-weight: 600;
+ font-size: 1.1em;
+
+ &.light {
+ font-weight: normal;
+ color: #999;
+ font-size: 1.05em;
+ font-style: italic;
+ padding-top: 2px;
+ }
+ }
+
+ .input__help {
+ color: inherit;
+ margin: 10px 0 0 10px;
+ word-break: break-word;
+ @include opacity(.8);
+
+ &.dark {
+ @include opacity(1);
+ }
+
+ &.error {
+ color: #a94442;
+ }
+ }
+
+ .form-control {
+ font-weight: normal;
+ }
+
+ .form-group {
+ margin-bottom: 25px;
+
+ &.less {
+ margin-bottom: 10px;
+ }
+ }
+}
+
+.help-block {
+ font-size: .95em;
+ margin: 10px 0 0;
+ color: #999;
+}
+
+.disabled-input {
+ background-color: #ddd !important;
+}
+
+.form-group {
+ &.form-group--small {
+ margin-bottom: 10px;
+ }
+}
+