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

View File

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

View File

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