UX: Cleaning up a few admin styles

This commit is contained in:
Kris 2017-12-21 17:13:06 -05:00
parent fc2f948a39
commit e667434bb3
3 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<div class="show-current-style"> <div class="show-current-style">
<h2> <h1>
{{#if editingName}} {{#if editingName}}
{{text-field value=model.name autofocus="true"}} {{text-field value=model.name autofocus="true"}}
{{d-button action="finishedEditingName" class="btn-primary btn-small submit-edit" icon="check"}} {{d-button action="finishedEditingName" class="btn-primary btn-small submit-edit" icon="check"}}
@ -7,7 +7,7 @@
{{else}} {{else}}
{{model.name}} <a {{action "startEditingName"}}>{{d-icon "pencil"}}</a> {{model.name}} <a {{action "startEditingName"}}>{{d-icon "pencil"}}</a>
{{/if}} {{/if}}
</h2> </h1>
{{#if model.remote_theme}} {{#if model.remote_theme}}
<p> <p>

View File

@ -363,12 +363,15 @@ $mobile-breakpoint: 700px;
.groups, .badges, .web-hook-container { .groups, .badges, .web-hook-container {
.form-horizontal { .form-horizontal {
label { & > div {
font-weight: bold; margin-bottom: 20px;
} }
& > div { .d-editor-textarea-wrapper {
margin-top: 10px; max-width: 60%;
.d-editor-button-bar {
overflow: hidden;
}
} }
input, textarea, select, .select-box { input, textarea, select, .select-box {

View File

@ -4,6 +4,10 @@
margin-bottom: 10px; margin-bottom: 10px;
input { input {
margin-bottom: 0; margin-bottom: 0;
font-size: 1rem;
}
.btn-small {
font-size: 1rem;
} }
} }