forked from projects/fipamo
Fixed white space issue, page edit style tweaks
There was a white space issue that made text displayed title and tags text appear missaligned. It turned out to be a small layout problem that was cleaned up by getting rid of white space in the textarea element itself. Also got in there and fixed some lingering css issues that was causing the svg icon colors to be off in some of the butttons.
This commit is contained in:
parent
b2c7dae322
commit
d9c9f7744e
5 changed files with 34 additions and 31 deletions
|
@ -2,7 +2,7 @@
|
||||||
{#
|
{#
|
||||||
if page is in 'edit' mode, set variables
|
if page is in 'edit' mode, set variables
|
||||||
if not, just make them empty
|
if not, just make them empty
|
||||||
#}
|
#}
|
||||||
{% if mode == 'edit' %}
|
{% if mode == 'edit' %}
|
||||||
{% set id = page['id'] %}
|
{% set id = page['id'] %}
|
||||||
{% set uuid = page['uuid'] %}
|
{% set uuid = page['uuid'] %}
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=dfettb">
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=dfehuim">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block mainContent %}
|
{% block mainContent %}
|
||||||
|
@ -118,9 +118,7 @@
|
||||||
<div id="post-header-wrapper" class="columns">
|
<div id="post-header-wrapper" class="columns">
|
||||||
<div id="post-edit-title" class="column">
|
<div id="post-edit-title" class="column">
|
||||||
<label>TITLE</label>
|
<label>TITLE</label>
|
||||||
<textarea id="post-title-text" type="text" name="post-title-text" class="post-edit" placeholder="TITLE">
|
<textarea id="post-title-text" type="text" name="post-title-text" class="post-edit" placeholder="TITLE">{{ title }}</textarea>
|
||||||
{{- title -}}
|
|
||||||
</textarea>
|
|
||||||
|
|
||||||
<div id="layouts">
|
<div id="layouts">
|
||||||
<label>LAYOUTS</label>
|
<label>LAYOUTS</label>
|
||||||
|
@ -142,9 +140,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="post-meta" class="column">
|
<div id="post-meta" class="column">
|
||||||
<label>TAGS</label>
|
<label>TAGS</label>
|
||||||
<textarea id="post-tags" type="text" name="post-tags" class="form-control" placeholder="tags [comma seperated]">
|
<textarea id="post-tags" type="text" name="post-tags" class="form-control" placeholder="tags [comma seperated]">{{ tags }}</textarea>
|
||||||
{{- tags -}}
|
|
||||||
</textarea>
|
|
||||||
<label>OPTIONS</label>
|
<label>OPTIONS</label>
|
||||||
{% apply spaceless %}
|
{% apply spaceless %}
|
||||||
{{ include("dash/partials/options.twig") }}
|
{{ include("dash/partials/options.twig") }}
|
||||||
|
@ -176,5 +172,5 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
<script src="/assets/scripts/Start.js?=dfdfvd" type="text/javascript"></script>
|
<script src="/assets/scripts/Start.js?=tyuo" type="text/javascript"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
{% if mode == "edit" %}
|
{% if mode == "edit" %}
|
||||||
<button id="edit-update" class="post-sumbit-btn submit-start editor-button" data-action='blog-update' data-id=page.id type='submit' title="bold">
|
<button id="edit-update" class="post-sumbit-btn submit-start editor-button" data-action='blog-update' data-id="{{ page['uuid'] }} type='submit' title=" bold">
|
||||||
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
||||||
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-save" data-action='blog-update' data-id="{{ page['uuid'] }}"/>
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-save" data-action='blog-update' data-id="{{ page['uuid'] }}"/>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
|
@ -3359,7 +3359,7 @@ select {
|
||||||
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button.post-option-btn[data-active=true] {
|
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button.post-option-btn[data-active=true] {
|
||||||
background: #f5ab35;
|
background: #f5ab35;
|
||||||
}
|
}
|
||||||
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button.post-option-btn[data-active=true] svg.svg-toggle {
|
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #post-options button.post-option-btn[data-active=true] svg.icons {
|
||||||
fill: #1d3040;
|
fill: #1d3040;
|
||||||
}
|
}
|
||||||
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #page-files-upload,
|
#post-edit-index #post-edit-index-wrapper #post-header #post-header-wrapper #post-meta #page-files-upload,
|
||||||
|
@ -3949,6 +3949,9 @@ select {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
#edit-control button svg.icons {
|
||||||
|
fill: #1d3040;
|
||||||
|
}
|
||||||
#edit-control button:nth-child(1) {
|
#edit-control button:nth-child(1) {
|
||||||
border-radius: 3px 0 0 3px;
|
border-radius: 3px 0 0 3px;
|
||||||
}
|
}
|
||||||
|
@ -3972,7 +3975,7 @@ select {
|
||||||
background: #efebe3;
|
background: #efebe3;
|
||||||
}
|
}
|
||||||
#edit-control .submit-start svg {
|
#edit-control .submit-start svg {
|
||||||
fill: #32cd32;
|
fill: #32cd32 !important;
|
||||||
}
|
}
|
||||||
#edit-control .submit-cool {
|
#edit-control .submit-cool {
|
||||||
background: #32cd32;
|
background: #32cd32;
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
svg.icons {
|
||||||
|
fill: $primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button:nth-child(1) {
|
button:nth-child(1) {
|
||||||
|
@ -47,7 +51,7 @@
|
||||||
background: $white;
|
background: $white;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
fill: $event-cool;
|
fill: $event-cool !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -333,7 +333,7 @@
|
||||||
button.post-option-btn[data-active='true'] {
|
button.post-option-btn[data-active='true'] {
|
||||||
background: $tertiary;
|
background: $tertiary;
|
||||||
|
|
||||||
svg.svg-toggle {
|
svg.icons {
|
||||||
fill: $primary;
|
fill: $primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue