diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-11-19 01:46:57 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-11-21 15:43:36 +0300 |
commit | 8e5ad7c01a3617f57d4750d0be8d8d7405e70137 (patch) | |
tree | 6540d1a8c7ff745b062ab781df395b6defa45a3e /app/assets/stylesheets/framework/forms.scss | |
parent | 34d1d1676d9771fc03524a75b7bd027f56962f1f (diff) |
Added new .help-form styling and implemented with mattermost command service help well
Diffstat (limited to 'app/assets/stylesheets/framework/forms.scss')
-rw-r--r-- | app/assets/stylesheets/framework/forms.scss | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/forms.scss b/app/assets/stylesheets/framework/forms.scss index f0727e9688a..be2d87197bf 100644 --- a/app/assets/stylesheets/framework/forms.scss +++ b/app/assets/stylesheets/framework/forms.scss @@ -68,6 +68,45 @@ label { } } +.help-form { + .form-group { + .control-label { + font-weight: bold; + padding-top: 4px; + } + + .form-control { + height: 29px; + background: $white-light; + font-family: $monospace_font; + } + + .input-group-btn .btn { + padding: 3px $gl-btn-padding; + background-color: $gray-light; + border: 1px solid $border-color; + } + + .text-block { + line-height: 0.8; + padding-top: 9px; + + code { + line-height: 1.8; + } + } + + @media(max-width: $screen-sm-min) { + padding: 0 $gl-padding; + + .control-label, + .text-block { + padding-left: 0; + } + } + } +} + .fieldset-form fieldset { margin-bottom: 20px; } @@ -167,4 +206,3 @@ label { color: $gl-text-color; } } - |