Update gallery>image texts, update menu and submenu
- Template and CSS from Uploader > Gallery: image texts; button and table adapted to Leggero V2 style. - The BBcode toolbar adapted for a better display at the screen width of 640px. - The menu and submenu in the administration area now also has a "slightly" more modern design.
This commit is contained in:
parent
20b210f02d
commit
fbb5a9dfba
@ -43,7 +43,7 @@ body#inline-body { background: white }
|
|||||||
font-size: 0.85em;
|
font-size: 0.85em;
|
||||||
margin: 0 auto 0 auto;
|
margin: 0 auto 0 auto;
|
||||||
background-color: rgba(255,255,255,1);
|
background-color: rgba(255,255,255,1);
|
||||||
border-radius: 3px
|
border-radius: 12px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -61,7 +61,8 @@ body#inline-body { background: white }
|
|||||||
#body-container {
|
#body-container {
|
||||||
padding: unset;
|
padding: unset;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
min-width: 100%
|
min-width: 100%;
|
||||||
|
border-radius: unset
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -89,9 +90,7 @@ ul#admin-tabmenu {
|
|||||||
margin: 1em 0 0 0;
|
margin: 1em 0 0 0;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
background: #000;
|
background: #000;
|
||||||
-moz-border-radius-topleft:3px;
|
border-radius: 5px
|
||||||
-moz-border-radius-topright:3px;
|
|
||||||
border-radius: 3px 3px 0 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ul#admin-tabmenu li {
|
ul#admin-tabmenu li {
|
||||||
@ -124,13 +123,17 @@ ul#admin-tabmenu li a.admin-tab-current { font-weight: bold }
|
|||||||
|
|
||||||
/* ===== submenu ====== */
|
/* ===== submenu ====== */
|
||||||
#admin-submenu {
|
#admin-submenu {
|
||||||
background: #eee;
|
background: #e6e6e6;
|
||||||
padding: .5em;
|
padding: 0.5em;
|
||||||
border: 1px solid #ccc;
|
width: 95%;
|
||||||
border-radius: 0 0 3px 3px
|
max-width: fit-content;
|
||||||
|
display: inline-block;
|
||||||
|
border-radius: 0 0 5px 5px;
|
||||||
|
position: relative;
|
||||||
|
left: 5px
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-submenu li { display:inline; font-size: 80% }
|
#admin-submenu li { display: inline; font-size: 80% }
|
||||||
|
|
||||||
#admin-submenu li a {
|
#admin-submenu li a {
|
||||||
padding: 0 1em ;
|
padding: 0 1em ;
|
||||||
@ -190,11 +193,11 @@ input#subject {
|
|||||||
line-height: 1em
|
line-height: 1em
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-bbcode-toolbar p img { vertical-align: middle }
|
#admin-bbcode-toolbar p img { vertical-align: middle; cursor: pointer }
|
||||||
|
|
||||||
#admin-bbcode-toolbar select { width: 10em }
|
#admin-bbcode-toolbar select { width: 10em }
|
||||||
|
|
||||||
#admin-content table { width: 100% }
|
#admin-content table { width: 100%; margin-bottom: 2em }
|
||||||
|
|
||||||
#admin-content td {
|
#admin-content td {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
@ -218,13 +221,13 @@ input#subject {
|
|||||||
padding: 8px
|
padding: 8px
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-content tr:first-child th:last-child { border-top-right-radius: 3px }
|
#admin-content tr:first-child th:last-child { border-top-right-radius: 5px }
|
||||||
|
|
||||||
#admin-content tr:first-child th:first-child { border-top-left-radius: 3px }
|
#admin-content tr:first-child th:first-child { border-top-left-radius: 5px }
|
||||||
|
|
||||||
#admin-content tr:last-child td:last-child { border-bottom-right-radius: 3px }
|
#admin-content tr:last-child td:last-child { border-bottom-right-radius: 5px }
|
||||||
|
|
||||||
#admin-content tr:last-child td:first-child { border-bottom-left-radius: 3px }
|
#admin-content tr:last-child td:first-child { border-bottom-left-radius: 5px }
|
||||||
|
|
||||||
input.maxsize, select.maxsize { width: 99% }
|
input.maxsize, select.maxsize { width: 99% }
|
||||||
|
|
||||||
@ -277,7 +280,7 @@ input.maxsize, select.maxsize { width: 99% }
|
|||||||
|
|
||||||
|
|
||||||
/* ===== PREVIEW SETTINGS ===== */
|
/* ===== PREVIEW SETTINGS ===== */
|
||||||
#post-preview { min-width: 40em }
|
#post-preview { min-width: 28em }
|
||||||
|
|
||||||
#post-preview .entry { padding: 2em; max-height: 20em; overflow: auto }
|
#post-preview .entry { padding: 2em; max-height: 20em; overflow: auto }
|
||||||
|
|
||||||
@ -305,6 +308,14 @@ input.maxsize, select.maxsize { width: 99% }
|
|||||||
margin: 1em
|
margin: 1em
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type=file]::file-selector-button { cursor: pointer }
|
||||||
|
|
||||||
|
table.plugin_gallerycaptions_captionstable tr:first-child td:first-child { border-top-left-radius: 5px }
|
||||||
|
|
||||||
|
table.plugin_gallerycaptions_captionstable tr:first-child td:last-child { border-top-right-radius: 5px }
|
||||||
|
|
||||||
|
table.plugin_gallerycaptions_captionstable img { border-radius: 3px }
|
||||||
|
|
||||||
/* (applies only to the inline version */
|
/* (applies only to the inline version */
|
||||||
#upload { margin-top: .5em }
|
#upload { margin-top: .5em }
|
||||||
|
|
||||||
@ -344,7 +355,7 @@ input.maxsize, select.maxsize { width: 99% }
|
|||||||
|
|
||||||
|
|
||||||
/* ===== WIDGET PANEL ====== */
|
/* ===== WIDGET PANEL ====== */
|
||||||
#admin-widgetset-list { width: 30em }
|
#admin-widgetset-list { width: 30em; max-width: 55% }
|
||||||
|
|
||||||
#admin-widgetset-list ul {
|
#admin-widgetset-list ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@ -362,11 +373,12 @@ li.admin-widgetset {
|
|||||||
|
|
||||||
#available-widgets {
|
#available-widgets {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
float:right;
|
float: right;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
background: #eee;
|
background: #eee;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
min-width: 20em;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
@ -96,6 +96,13 @@ legend {
|
|||||||
font-style: oblique
|
font-style: oblique
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select,
|
||||||
|
input[type=submit],
|
||||||
|
input[type=reset],
|
||||||
|
input[type=button],
|
||||||
|
input[type=radio],
|
||||||
|
input[type=checkbox] { cursor: pointer }
|
||||||
|
|
||||||
input, textarea, select {
|
input, textarea, select {
|
||||||
padding: .2em;
|
padding: .2em;
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
@ -194,7 +201,7 @@ h4 { font-size: 1.2em }
|
|||||||
margin: 0 auto 0 auto;
|
margin: 0 auto 0 auto;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
background-color: rgba(0,0,0,0.75);
|
background-color: rgba(0,0,0,0.75);
|
||||||
border-radius: 3px
|
border-radius: 12px
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== MAIN ===== */
|
/* ===== MAIN ===== */
|
||||||
@ -425,8 +432,7 @@ h4#addcomment { clear: both }
|
|||||||
input[type=radio],
|
input[type=radio],
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-bottom: 0.4em;
|
margin-bottom: 0.4em
|
||||||
cursor: pointer
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.photoswipe figure img { /* PhotoSwipe */
|
.photoswipe figure img { /* PhotoSwipe */
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
<img src="fp-plugins/bbcode/res/toolbaricons/code.png" id="bb_code" accesskey="" alt="code" title="{$lang.admin.plugin.bbcode.editor.codetitle}" onclick="insBBCode('code');" />
|
<img src="fp-plugins/bbcode/res/toolbaricons/code.png" id="bb_code" accesskey="" alt="code" title="{$lang.admin.plugin.bbcode.editor.codetitle}" onclick="insBBCode('code');" />
|
||||||
<img src="fp-plugins/bbcode/res/toolbaricons/html.png" id="bb_html" accesskey="" alt="html" title="html" onclick="insBBCode('html');" />
|
<img src="fp-plugins/bbcode/res/toolbaricons/html.png" id="bb_html" accesskey="" alt="html" title="html" onclick="insBBCode('html');" />
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
<img src="fp-plugins/bbcode/res/toolbaricons/bold.png" id="bb_b" accesskey="" alt="b" title="{$lang.admin.plugin.bbcode.editor.boldtitle}" onclick="insBBCode('b');" />
|
<img src="fp-plugins/bbcode/res/toolbaricons/bold.png" id="bb_b" accesskey="" alt="b" title="{$lang.admin.plugin.bbcode.editor.boldtitle}" onclick="insBBCode('b');" />
|
||||||
<img src="fp-plugins/bbcode/res/toolbaricons/italic.png" id="bb_i" accesskey="" alt="i" title="{$lang.admin.plugin.bbcode.editor.italictitle}" onclick="insBBCode('i');" />
|
<img src="fp-plugins/bbcode/res/toolbaricons/italic.png" id="bb_i" accesskey="" alt="i" title="{$lang.admin.plugin.bbcode.editor.italictitle}" onclick="insBBCode('i');" />
|
||||||
<img src="fp-plugins/bbcode/res/toolbaricons/underlined.png" id="bb_u" accesskey="" alt="u" title="{$lang.admin.plugin.bbcode.editor.underlinetitle}" onclick="insBBCode('u');" />
|
<img src="fp-plugins/bbcode/res/toolbaricons/underlined.png" id="bb_u" accesskey="" alt="u" title="{$lang.admin.plugin.bbcode.editor.underlinetitle}" onclick="insBBCode('u');" />
|
||||||
@ -30,6 +32,8 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{$lang.admin.plugin.bbcode.editor.file}{html_options name=attachselect values=$attachs_list output=$attachs_list onchange="insAttach(this.form.attachselect.value)"}
|
{$lang.admin.plugin.bbcode.editor.file}{html_options name=attachselect values=$attachs_list output=$attachs_list onchange="insAttach(this.form.attachselect.value)"}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
{$lang.admin.plugin.bbcode.editor.image}{html_options name=imageselect values=$images_list output=$images_list onchange="insImage(this.form.imageselect.value)"}
|
{$lang.admin.plugin.bbcode.editor.image}{html_options name=imageselect values=$images_list output=$images_list onchange="insImage(this.form.imageselect.value)"}
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -43,7 +43,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</table>
|
</table>
|
||||||
<input type="submit" name="gallerycaptions-savecaptions" value="{$plang.button_savecaptions}"/>
|
<div class="buttonbar">
|
||||||
|
<input type="submit" name="gallerycaptions-savecaptions" value="{$plang.button_savecaptions}"/>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user