From 20b210f02d9d5c6a315a6c7cac190623b93649de Mon Sep 17 00:00:00 2001 From: Fraenkiman Date: Mon, 21 Aug 2023 01:10:21 +0200 Subject: [PATCH] Squashed commit of the following: commit a4711e7017e918d3568c3eeaa1f91281e559fd58 Author: Fraenkiman Date: Mon Aug 21 00:41:09 2023 +0200 other small adjustments - BBcode-Facebook-Viedo now uses the latest video player API and the lazy loading mechanism of the browser - Added background-attachment: fix workaround for mobile devices - small fixes to be valid with CSS3 commit 00c0e3740349996823fb31ec80be79dceccae61d Author: Fraenkiman Date: Fri Aug 18 20:14:05 2023 +0200 Update plugin.bbcode.php - BBcode-Facebook-Viedo now uses the latest video player API and the lazy loading mechanism of the browser commit d8688ab2f22a855461142b4533cffd553d6283ee Author: Fraenkiman Date: Fri Aug 18 00:18:19 2023 +0200 Update plugin.fpprotect.php - FP-Protect allows full-screen playback of embedded videos commit b4ccc4a021e6437db0c78ceebe2d257760ebe454 Author: Fraenkiman Date: Tue Aug 15 23:46:57 2023 +0200 Update common.css - center BBcode video if screen < 960px commit ff3f9d84708f774736bf29ebdf0c5f34c6c8936a Author: Fraenkiman Date: Sat Aug 12 13:31:51 2023 +0200 Update common.css - BBcode video is displayed larger on larger screens commit 9c2235729a7b34c640a55b7d0c075a36bac567dd Author: Fraenkiman Date: Tue Aug 8 00:54:31 2023 +0200 Update admin.css - now also fits the entry preview on a smartphone commit b531da308131482dc355525daec5b4ea8e640542 Author: Fraenkiman Date: Mon Aug 7 23:41:45 2023 +0200 Squashed commit of the following: commit b8c94ecac23abec830543ad9e928e62d0e02d96d Author: Fraenkiman Date: Mon Aug 7 23:23:21 2023 +0200 Media queries were created for individual device classes - Media queries were created for individual device classes (smartphone, netbook, laptop and PC) in order to commit e2258bf4b52212074d98d08c65f7b62989478ade Author: Fraenkiman Date: Thu Aug 3 00:16:22 2023 +0200 Use full width on small screens Mobile devices are increasingly replacing the classic PC. So it is all the more important to make the theme and the administration area more accessible for today's mobile devices. - With a screen width of up to 768px, the full width is utilized. - The theme is no longer compressed vertically on small screens from 720px to 768px. commit ff76513e2b8b8ada1bc4dc2b395911e3f6c0f95e Author: Fraenkiman Date: Wed Aug 2 00:13:36 2023 +0200 Update admin.css commit 8140761f7fa1dde2395bee101e2df16332f5ff08 Author: Fraenkiman Date: Tue Aug 1 01:03:39 2023 +0200 the minimum width removed from the body-container - the minimum width removed from the body-container entirely commit eb651c586dd0401a1edceb5ef2e867003692f8cd Author: Fraenkiman Date: Tue Aug 1 00:15:30 2023 +0200 reduced the minimum width to 720px - reduced the minimum width to 720px for better viewing with a mobile device in landscape mode commit 2ce9fc605ebb83c43e49ce15ecb531695c10dbd6 Author: Fraenkiman Date: Sun Jul 30 18:57:11 2023 +0200 Fixes a problem in the admin area when rendering font-sizes - Fixes a problem in the admin panel when displaying font sizes in the mobile version of Firefox and Chrome. commit c8d4ee702791591d3557c51ef457c7bd9bad4d2d Author: Fraenkiman Date: Sun Jul 30 18:25:02 2023 +0200 Fixes a problem in the admin area when rendering font-sizes Fixes a problem in the admin panel when displaying font sizes in the mobile version of Firefox and Chrome. commit 451a960dc9543cac5ebbbe51d4084b85e86ca2b7 Author: Fraenkiman Date: Sat Jul 29 03:08:33 2023 +0200 Removes obsolete acronym element, Fixes a problem when rendering font-sizes in Safari - Removes obsolete acronym element in the language files and replaces it with the appr element - Fixes a problem in the admin area when rendering font-sizes in Safari (iPhone/iPad). #256 The Safari version used in iOS (iPhone/iPad) sometimes "ignores" the font sizes defined with font-size when rendering web pages or adjusts them automatically to improve readability. In certain places this is not bad, but it can also lead to unattractive changes in the design of the admin area. commit a844073bdb2e199ec1338f2b7fea27422c167db6 Author: Fraenkiman Date: Mon Jul 24 00:21:37 2023 +0200 Update common.css - Width of comment and contact text field defined commit 5c3cc4348ced03d319c72477c8a660ac4bc4632f Author: Fraenkiman Date: Wed Jul 19 01:16:39 2023 +0200 Fixed more CSS/Glitches - Vertical alignment of the BBcode toolbar - placed missing label elements in config panel for consistent alignment commit fec38755ba9929a0c5dfc614757ee8df7393d351 Author: Fraenkiman Date: Sat Jul 15 17:59:31 2023 +0200 Update admin.css - fixed vertical alignment of BBCode toolbar in write panel commit ef13f5488fdc48efe2101fe6f1e35a103ff08b1d Author: Fraenkiman Date: Fri Jul 14 00:25:50 2023 +0200 Configuration panel revised - In the admin area, the configuration panel has been revised commit 54232c3dd325027926ea78592e007475798d1fd0 Author: Fraenkiman Date: Tue Jul 11 21:57:18 2023 +0200 PhotoSwipe 4.1.3 included This upgrades PhotoSwipe to the January 8, 2019 release level and is the last version before rewriting to ES6. Fixed the following: Fixes an issue with devices that have multiple input types and PhotoSwipe does not wipe. Fixes an issue where the layout does not update after an alignment change in some cases. Previous FlatPress-specific fixes have been considered and incorporated. Details can be found here: https://github.com/dimsemenov/PhotoSwipe/releases With best regards Frank commit 1179f307ffa0c8b27fe10ccb47a4dfce516a1bf2 Merge: b735135 1aab02c Author: Frank Hochmuth Date: Mon Jul 10 01:29:20 2023 +0200 Merge branch 'master' into upstream/makup-Leggero-Theme commit b735135a7f5911c34eee4e01b4ef56db95d6ac06 Author: Fraenkiman Date: Mon Jul 10 01:12:32 2023 +0200 Fresh makeup for Leggero-v2 style This elevates the Leggero-v2 style to a more modern design. In most situations in life, first impressions count. The FlatPress Leggero-v2 style is what the user sees first after performing the setup. Potential new users may not immediately find their way to the wiki to see the variety of themes there - and hastily delete FlatPress again. Therefore I made a few small changes to the style: - Adjusted the alignment of the calendar widget and the search widget. - A single PhotoSwipe image or a whole gallery is now centered in the responsive design. #150 - BBcode videos are no longer chopped off in responsive design, but adjusted to the width and center aligned. - The overall appearance is now not so angular/edgy. - A BBcode embedded Facebook video now has localized languages with language tag. #252 (https://developers.facebook.com/docs/javascript/internationalization). - BBcode: Removed reference to an active lightbox plugin, as PhotoSwipe can be used as an alternative. - Fixed an error in the HTML code of PhotoSwipe-Plugin. #253 - Lucida Console [code] ... [/code]is now correct as a font in the CSS file. - Admin area now has Leggero-v2 style background instead of white background. With best regards Frank commit f8c66f5c0b8527cc0913f85b5a10ee2e7b673d74 Author: Fraenkiman Date: Mon Jul 3 01:20:07 2023 +0200 Fresh makeup for Leggero-v2 Style This elevates the style Leggero-v2 to a more modern looking design. Details: * IE compatibility removed * fixed some minor layout/CSS glitches * a single photoswipe image or a whole gallery is now centered in RESPONSIVE DESIGN. * The appearance is now not so canny and has been adapted to the body. --- admin/panels/config/admin.config.tpl | 40 +- fp-interface/lang/cs-cz/lang.admin.config.php | 2 +- fp-interface/lang/de-de/lang.admin.config.php | 2 +- fp-interface/lang/el-gr/lang.admin.config.php | 2 +- fp-interface/lang/en-us/lang.admin.config.php | 2 +- fp-interface/lang/es-es/lang.admin.config.php | 2 +- fp-interface/lang/fr-fr/lang.admin.config.php | 2 +- fp-interface/lang/it-it/lang.admin.config.php | 2 +- fp-interface/lang/ja-jp/lang.admin.config.php | 2 +- fp-interface/lang/nl-nl/lang.admin.config.php | 2 +- fp-interface/lang/pt-br/lang.admin.config.php | 2 +- .../themes/leggero/leggero-v2/res/admin.css | 371 +- .../themes/leggero/leggero-v2/res/column.css | 18 +- .../themes/leggero/leggero-v2/res/common.css | 336 +- .../themes/leggero/leggero-v2/res/globals.css | 2 +- .../themes/leggero/leggero-v2/res/print.css | 64 +- .../themes/leggero/leggero-v2/res/style.css | 36 +- fp-plugins/bbcode/lang/lang.cs-cz.php | 6 +- fp-plugins/bbcode/lang/lang.de-de.php | 7 +- fp-plugins/bbcode/lang/lang.el-gr.php | 7 +- fp-plugins/bbcode/lang/lang.en-us.php | 7 +- fp-plugins/bbcode/lang/lang.es-es.php | 7 +- fp-plugins/bbcode/lang/lang.fr-fr.php | 7 +- fp-plugins/bbcode/lang/lang.it-it.php | 7 +- fp-plugins/bbcode/lang/lang.ja-jp.php | 7 +- fp-plugins/bbcode/lang/lang.nl-nl.php | 9 +- fp-plugins/bbcode/lang/lang.pt-br.php | 9 +- fp-plugins/bbcode/plugin.bbcode.php | 17 +- fp-plugins/fpprotect/plugin.fpprotect.php | 4 +- .../photoswipe/photoswipefunctions.class.php | 9 +- .../photoswipe/res/photoswipe-4.1.3/LICENSE | 21 + .../default-skin/default-skin.css | 482 +++ .../default-skin/default-skin.png | Bin 0 -> 547 bytes .../default-skin/default-skin.svg | 1 + .../default-skin/preloader.gif | Bin 0 -> 866 bytes .../photoswipe-4.1.3/photoswipe-ui-default.js | 861 ++++ .../photoswipe-ui-default.min.js | 4 + .../res/photoswipe-4.1.3/photoswipe.css | 244 ++ .../res/photoswipe-4.1.3/photoswipe.js | 3734 +++++++++++++++++ .../res/photoswipe-4.1.3/photoswipe.min.js | 4 + fp-plugins/searchbox/plugin.searchbox.php | 2 +- 41 files changed, 5896 insertions(+), 447 deletions(-) create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/LICENSE create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/default-skin/default-skin.css create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/default-skin/default-skin.png create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/default-skin/default-skin.svg create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/default-skin/preloader.gif create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe-ui-default.js create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe-ui-default.min.js create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe.css create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe.js create mode 100644 fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe.min.js diff --git a/admin/panels/config/admin.config.tpl b/admin/panels/config/admin.config.tpl index fc0e57a..7762322 100755 --- a/admin/panels/config/admin.config.tpl +++ b/admin/panels/config/admin.config.tpl @@ -44,18 +44,18 @@
{if isset($error) && isset($error.email) && !empty($error.email)} - {assign var=class value=" field-error"} + {assign var=class value="field-error"} {else} {assign var=class value=""} {/if}
-
{$panelstrings.notifications}
+
@@ -74,12 +74,12 @@
{if isset($error) && isset($error.maxentries) && !empty($error.maxentries)} - {assign var=class value=" field-error"} + {assign var=class value="field-error"} {else} {assign var=class value=""} {/if}
+ class="smalltextinput{$class}" value="{$flatpress.maxentries}" /> @@ -91,7 +91,7 @@

{$panelstrings.intsetts}

-
{$panelstrings.utctime}
+
{assign var=temp_time value="%b %d %Y %H:%M:%S"}
{"r"|date:$smarty.now}
@@ -102,21 +102,21 @@ {assign var=class value=""} {/if}
{$panelstrings.hours} + class="smalltextinput{$class}" + value="{$fp_config.locale.timeoffset}" />

{$panelstrings.hours}

{if isset($error) && isset($error.dateformat) && !empty($error.dateformat)} - {assign var=class value=" field-error"} + {assign var=class value="field-error"} {else} {assign var=class value=""} {/if}

-

{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}

+

{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}

@@ -126,24 +126,24 @@ {assign var=class value=""} {/if}

-

{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}

+

{$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}

{if isset($error) && isset($error.timeformat) && !empty($error.timeformat)} - {assign var=class value=" field-error"} + {assign var=class value="field-error"} {else} {assign var=class value=""} {/if}

{assign var=currentTime value=$smarty.now} {assign var=timeDiff value=$fp_config.locale.timeoffset} {assign var=TimeDiffUTC value=$currentTime+$timeDiff*3600} -

{$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat}

+

{$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat}

@@ -161,14 +161,14 @@
{if isset($error) && isset($error.charset) && !empty($error.charset)} - {assign var=class value=" field-error"} + {assign var=class value="field-error"} {else} {assign var=class value=""} {/if}

-

{$panelstrings.charsettip}

+

{$panelstrings.charsettip}

diff --git a/fp-interface/lang/cs-cz/lang.admin.config.php b/fp-interface/lang/cs-cz/lang.admin.config.php index a7c6d9f..f517be2 100644 --- a/fp-interface/lang/cs-cz/lang.admin.config.php +++ b/fp-interface/lang/cs-cz/lang.admin.config.php @@ -31,7 +31,7 @@ 'langchoice' => 'Jazyk', 'intsetts' => 'Mezinárodní nastavení', - 'utctime' => 'UTC čas je', + 'utctime' => 'UTC čas je', 'timeoffset' => 'Čas bude oddělený: ', 'hours' => 'hodiny', 'timeformat' => 'Přednastavený formát času', diff --git a/fp-interface/lang/de-de/lang.admin.config.php b/fp-interface/lang/de-de/lang.admin.config.php index 8364ab2..5c33050 100644 --- a/fp-interface/lang/de-de/lang.admin.config.php +++ b/fp-interface/lang/de-de/lang.admin.config.php @@ -32,7 +32,7 @@ 'langchoice' => 'Sprache', 'intsetts' => 'Internationale Einstellungen', - 'utctime' => 'UTC Zeitzone', + 'utctime' => 'UTC Zeitzone', 'timeoffset' => 'Uhrzeit soll korrigiert werden um', 'hours' => 'Stunden', 'timeformat' => 'Standard Zeitformat', diff --git a/fp-interface/lang/el-gr/lang.admin.config.php b/fp-interface/lang/el-gr/lang.admin.config.php index 57c163f..9fd60dd 100644 --- a/fp-interface/lang/el-gr/lang.admin.config.php +++ b/fp-interface/lang/el-gr/lang.admin.config.php @@ -31,7 +31,7 @@ 'langchoice' => 'Γλώσσα', 'intsetts' => 'Ρυθμίσεις εντοπιότητας', - 'utctime' => 'Η UTC ώρα είναι', + 'utctime' => 'Η UTC ώρα είναι', 'timeoffset' => 'Ο χρόνος θα πρέπει να διαφέρει κατά', 'hours' => 'ώρες', 'timeformat' => 'Προεπιλεγμένη μορφή ώρας', diff --git a/fp-interface/lang/en-us/lang.admin.config.php b/fp-interface/lang/en-us/lang.admin.config.php index 1bf4813..e7156c7 100755 --- a/fp-interface/lang/en-us/lang.admin.config.php +++ b/fp-interface/lang/en-us/lang.admin.config.php @@ -34,7 +34,7 @@ 'langchoice' => 'Language', 'intsetts' => 'International settings', - 'utctime' => 'UTC time is', + 'utctime' => 'UTC time is', 'timeoffset' => 'Time should differ by', 'hours' => 'hours', 'timeformat' => 'Default format for time', diff --git a/fp-interface/lang/es-es/lang.admin.config.php b/fp-interface/lang/es-es/lang.admin.config.php index 5ca4466..b7393ca 100644 --- a/fp-interface/lang/es-es/lang.admin.config.php +++ b/fp-interface/lang/es-es/lang.admin.config.php @@ -34,7 +34,7 @@ subdirectorios.
'langchoice' => 'Idioma', 'intsetts' => 'Configuración internacional', - 'utctime' => 'UTC la hora es', + 'utctime' => 'UTC la hora es', 'timeoffset' => 'La diferencia de hora es', 'hours' => 'hours', 'timeformat' => 'Formato inicial para la hora', diff --git a/fp-interface/lang/fr-fr/lang.admin.config.php b/fp-interface/lang/fr-fr/lang.admin.config.php index db365e3..e159da9 100644 --- a/fp-interface/lang/fr-fr/lang.admin.config.php +++ b/fp-interface/lang/fr-fr/lang.admin.config.php @@ -32,7 +32,7 @@ 'langchoice' => 'Langage', 'intsetts' => 'Réglages Internationaux', - 'utctime' => 'L\'heure (UTC) actuelle est', + 'utctime' => 'L\'heure (UTC) actuelle est', 'timeoffset' => 'Fuseau horaire (GMT+)', 'hours' => 'heures', 'timeformat' => 'Format par défaut pour l\'heure', diff --git a/fp-interface/lang/it-it/lang.admin.config.php b/fp-interface/lang/it-it/lang.admin.config.php index c3c0b13..2389645 100644 --- a/fp-interface/lang/it-it/lang.admin.config.php +++ b/fp-interface/lang/it-it/lang.admin.config.php @@ -34,7 +34,7 @@ 'langchoice' => 'Lingua', 'intsetts' => 'Impostazioni internazionali', - 'utctime' => 'L\'orario UTC è', + 'utctime' => 'L\'orario UTC è', 'timeoffset' => 'Le ore dovrebbero differire di', 'hours' => 'ore', 'timeformat' => 'Formato predefinito per l\'orario', diff --git a/fp-interface/lang/ja-jp/lang.admin.config.php b/fp-interface/lang/ja-jp/lang.admin.config.php index 9c101bb..64dad05 100644 --- a/fp-interface/lang/ja-jp/lang.admin.config.php +++ b/fp-interface/lang/ja-jp/lang.admin.config.php @@ -30,7 +30,7 @@ 'langchoice' => '言語の選択', 'intsetts' => 'ローカルの設定', - 'utctime' => 'UTCの時刻:', + 'utctime' => 'UTCの時刻:', 'timeoffset' => '投稿時に加算する時間', 'hours' => '時間', 'timeformat' => '時刻表示のデフォルト形式', diff --git a/fp-interface/lang/nl-nl/lang.admin.config.php b/fp-interface/lang/nl-nl/lang.admin.config.php index 2b83d95..9a9d620 100644 --- a/fp-interface/lang/nl-nl/lang.admin.config.php +++ b/fp-interface/lang/nl-nl/lang.admin.config.php @@ -34,7 +34,7 @@ 'langchoice' => 'Taal', 'intsetts' => 'Internationale instellingen', - 'utctime' => 'UTC time is', + 'utctime' => 'UTC time is', 'timeoffset' => 'De tijd moet verschuiven per', 'hours' => 'uren', 'timeformat' => 'Default format voor tijd', diff --git a/fp-interface/lang/pt-br/lang.admin.config.php b/fp-interface/lang/pt-br/lang.admin.config.php index f6af18d..97ce053 100644 --- a/fp-interface/lang/pt-br/lang.admin.config.php +++ b/fp-interface/lang/pt-br/lang.admin.config.php @@ -29,7 +29,7 @@ 'langchoice' => 'Idioma', 'intsetts' => 'Configurações internacionais', - 'utctime' => 'UTC hora é:', + 'utctime' => 'UTC hora é:', 'timeoffset' => 'Diferença em horas com relação ao UTC:', 'hours' => 'horas', 'timeformat' => 'Formato padrão para a hora', diff --git a/fp-interface/themes/leggero/leggero-v2/res/admin.css b/fp-interface/themes/leggero/leggero-v2/res/admin.css index 7b53de1..a808dfb 100755 --- a/fp-interface/themes/leggero/leggero-v2/res/admin.css +++ b/fp-interface/themes/leggero/leggero-v2/res/admin.css @@ -6,70 +6,74 @@ Leggero CSS Styles mod by liquibyte Name: Leggero v2 Author: NoWhereMan, drudo & Marc Thibeault -Version: 0.1 +Version: 1.0 Module: admin.css */ -@import url(common.css); -@import url(globals.css); +@import url("common.css"); +@import url("globals.css"); /* ===== VARIOUS ===== */ +@viewport { width: device-width } + .buttonbar input { - padding: .3em; - background: #bdbdbd url(../imgs/buttonsh.png) repeat-x; + box-shadow: none !IMPORTANT; + background: #bdbdbd url("../imgs/buttonsh.png") repeat-x } + .buttonbar input:hover { - padding: .3em; - background: #d3d3d3 url(../imgs/buttonsh2.png) repeat-x; + background: #d3d3d3 url("../imgs/buttonsh2.png") repeat-x } + /* ===== HEADERS TAGS ===== */ h1, -h2 { - font-family: 'book antiqua', georgia, garamond, times, 'times new roman', serif; - margin: auto; -} +h2 { margin: auto } -h2 { - border-bottom: 1px solid #ddd; -} +h2 { border-bottom: 1px solid #ddd } -.head-link { - font-size: 0.83em; -} +.head-link { font-size: 0.83em } -body { background: #eee; } /* === Redefines some stuff in inline mode === */ -body#inline-body { - background: white; -} - -body#inline-body input { - -} +body#inline-body { background: white } #body-container { text-align: left; font-size: 0.85em; - width: 80% !important; - min-width: 1000px; margin: 0 auto 0 auto; - padding: 5px; background-color: rgba(255,255,255,1); - border-radius: 3px; + border-radius: 3px } + +/* ===== Smartphone and Tablet ===== */ +@media (max-width: 1920px) { /* prevents too large font size on mobile devices */ + #body-container { + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + text-size-adjust: none + } + + @media (max-width: 768px) { /* and stretch to the complete width on small devices */ + body { margin: 0 0 0 0; background: #eee } + + #body-container { + padding: unset; + padding-top: 5px; + min-width: 100% + } + } +} + + /* === Conflict with inner h1 === */ #admin-content h1 { color: black } - - /* DIV CONTAINER ALL ADMIN DIV BLOCK */ #cpmain { padding: 10px } - /* ===== SMALL NAVBAR (home and logout links) ===== */ ul#admin-small-nav { font-size: 80%; @@ -80,7 +84,6 @@ ul#admin-small-nav { ul#admin-small-nav li { display: inline; margin: 5px } - /* ===== TAB MENU ===== */ ul#admin-tabmenu { margin: 1em 0 0 0; @@ -88,6 +91,7 @@ ul#admin-tabmenu { background: #000; -moz-border-radius-topleft:3px; -moz-border-radius-topright:3px; + border-radius: 3px 3px 0 0 } ul#admin-tabmenu li { @@ -103,7 +107,7 @@ ul#admin-tabmenu li a { font-weight: normal; text-decoration: none; padding: 0.5em; - margin: .1em; + margin: .1em } ul#admin-tabmenu li a.admin-tab-current, @@ -112,46 +116,41 @@ ul#admin-tabmenu li a:hover { font-weight: normal; background-color: #ddd; -moz-border-radius: 2px; + border-radius: 2px } -ul#admin-tabmenu li a.admin-tab-current { - font-weight: bold; -} +ul#admin-tabmenu li a.admin-tab-current { font-weight: bold } + /* ===== submenu ====== */ - #admin-submenu { background: #eee; padding: .5em; border: 1px solid #ccc; + border-radius: 0 0 3px 3px } -#admin-submenu li { - display:inline; - font-size: 80%; -} +#admin-submenu li { display:inline; font-size: 80% } #admin-submenu li a { padding: 0 1em ; color: #000; border-left: 1px solid #eee; - border-right: 1px solid #eee; - font-weight: normal; + border-right: 1px solid #eee; + font-weight: normal } #admin-submenu li a:hover, #admin-submenu li a.active { color: #eee; background: #555; - padding: .1em 1em .3em; + padding: .3em 1em .3em; -moz-border-radius: 3px; - text-decoration: none; -} - -#admin-submenu li a.active { - font-weight: bold; + border-radius: 3px; + text-decoration: none } +#admin-submenu li a.active { font-weight: bold } /* ===== MAIN MENU ITEM ===== */ @@ -165,11 +164,7 @@ ul#admin-tabmenu li a.admin-tab-current { .admin-mainmenu-item img { padding-right: 1em } -.admin-mainmenu-item .admin-icon-descr { - font-size: 80%; - font-style: italic -} - +.admin-mainmenu-item .admin-icon-descr { font-size: 80%; font-style: italic } /* ===== ADMIN ENTRY ===== */ @@ -180,11 +175,6 @@ input#subject { font-weight: bold } -textarea.code { - font-family: Lucida Console, Monaco, monospace; - font-size: 90% -} - #admin-entry-categories ul { display:block; list-style-type: none; @@ -192,13 +182,19 @@ textarea.code { padding-left: 1em } -#admin-bbcode-toolbar p { display: inline } +#admin-bbcode-toolbar { display: table } + +#admin-bbcode-toolbar p { + display: table-cell; + vertical-align: middle; + line-height: 1em +} + +#admin-bbcode-toolbar p img { vertical-align: middle } #admin-bbcode-toolbar select { width: 10em } - - -#admin-content table { width: 100%; } +#admin-content table { width: 100% } #admin-content td { font-size: 0.8em; @@ -207,17 +203,12 @@ textarea.code { padding: .9em; */ background: #e6e6e6; - text-align: center; + text-align: center } -#admin-content .enabled td { - background: inherit; -} +#admin-content .enabled td { background: inherit } -#admin-content td.main-cell { - width: 30%; - text-align: left; -} +#admin-content td.main-cell { width: 30%; text-align: left } #admin-content th { font-size: 0.75em; @@ -227,8 +218,15 @@ textarea.code { padding: 8px } -input.maxsize, select.maxsize { width: 99% } +#admin-content tr:first-child th:last-child { border-top-right-radius: 3px } +#admin-content tr:first-child th:first-child { border-top-left-radius: 3px } + +#admin-content tr:last-child td:last-child { border-bottom-right-radius: 3px } + +#admin-content tr:last-child td:first-child { border-bottom-left-radius: 3px } + +input.maxsize, select.maxsize { width: 99% } #admin-bbcode-toolbar { margin: 0; @@ -246,15 +244,12 @@ input.maxsize, select.maxsize { width: 99% } border: none; width: 99%; margin: auto; - height: 11em; + height: 11em } - .admin-entry-commentlist td , .admin-widgets-blockparser td , -.admin-plugin-default td { - padding: 1em .6em; -} +.admin-plugin-default td { padding: 1em .6em } #admin-drafts { border-top: 1px solid #bbb; @@ -262,104 +257,76 @@ input.maxsize, select.maxsize { width: 99% } padding: .4em; color: #555; background-color: #ddd; - overflow: auto; + overflow: auto } #admin-drafts p { font-weight: bold; float: left; padding: 0; - margin: 0; + margin: 0 } -#admin-content #admin-drafts ul { - margin: 0; padding: 0; -} +#admin-content #admin-drafts ul { margin: 0; padding: 0 } #admin-drafts li { float:left; list-style-position: inside; - margin: 0; padding-left: 1em; + margin: 0; padding-left: 1em } /* ===== PREVIEW SETTINGS ===== */ -#post-preview { - min-width: 68em -} +#post-preview { min-width: 40em } #post-preview .entry { padding: 2em; max-height: 20em; overflow: auto } #post-preview div.entry h2 { font-family: sans-serif; border-bottom: none; - margin: 0.83em 0; + margin: 0.83em 0 } -#post-preview div.entry h4 { - margin: 2em 0 0 0; -} +#post-preview div.entry h4 { margin: 2em 0 0 0 } + +.entry-footer { margin: 2em 0 0.5em 0; text-align: right } -.entry-footer { - margin: 2em 0 0.5em 0; - text-align: right; -} /* ===== UPLOAD PANEL ===== */ -#admin-uploader-filelist { - margin: 1em auto; -} +#admin-uploader-filelist { margin: 1em auto } -#admin-uploader-thumbs { - list-style-type: none; -} +#admin-uploader-thumbs { list-style-type: none } #admin-uploader-thumbs li.thumb { float:left; width: 110px; height: 110px; padding: 1em 4px; - margin: 1em; + margin: 1em } - /* (applies only to the inline version */ -#upload { - margin-top: .5em -} +#upload { margin-top: .5em } /* ===== THEME PANEL ===== */ - #current-theme h5, -#available-themes h5 { - font-size: 1em; -} - -#current-theme { - margin-bottom: 4em; - overflow:hidden; -} +#available-themes h5 { font-size: 1em } +#current-theme { margin-bottom: 4em; overflow:hidden } #current-theme img { float:left; border: 1px solid #ddd; margin-right: 2em; + border-radius: 3px } -#available-themes { - clear: both; -} +#available-themes { clear: both } +#available-themes img { border: 1px solid #eee; border-radius: 3px } -#available-themes img { - border: 1px solid #eee -} - -#available-themes ul { - list-style-type: none; -} +#available-themes ul { list-style-type: none } #available-themes ul li { float:left; @@ -367,30 +334,30 @@ input.maxsize, select.maxsize { width: 99% } border: 1px solid #fff; text-align: center; width: 300px; + border-radius: 3px } #available-themes ul li:hover { background: #eee; - border: 1px solid #ddd; + border: 1px solid #ddd } + /* ===== WIDGET PANEL ====== */ - -#admin-widgetset-list { - width: 30em; -} +#admin-widgetset-list { width: 30em } #admin-widgetset-list ul { list-style-type: none; margin: 0; margin-bottom: 2em; - text-align: left; + text-align: left } li.admin-widgetset { padding: .5em; margin-bottom: 2em; border: 1px solid #ddd; + border-radius: 3px } #available-widgets { @@ -403,9 +370,12 @@ li.admin-widgetset { z-index: 1000; position: relative; text-align: left; + border-radius: 3px } -#widget-trashcan { /*colors for trashcan/uninstall widgets while dragging*/ +.widgetset-name { border-radius: 2px } + +#widget-trashcan { /* colors for trashcan/uninstall widgets while dragging */ background-color: rgba(170, 34, 34, 0.7); color: #ddd; font-size: 120%; @@ -414,29 +384,27 @@ li.admin-widgetset { text-align: center; border: 2px solid #f00; margin: 2em; + border-radius: 2px } -.widget-available { /*colors for available widgets while dragging*/ +.widget-available { /* colors for available widgets while dragging */ cursor: move; color: #fff; background-color: rgba(34, 102, 0, 0.7); border: 2px solid #2f0; - z-index: 2000; + z-index: 2000 } -.widget-installed { /*colors for installed widgets while dragging*/ +.widget-installed { /* colors for installed widgets while dragging */ cursor: move; color: #fff; background-color: rgba(0, 34, 102, 0.7); border: 2px solid #00f; - z-index: 2000; -} - -#available-widgets ul, .admin-widgetset ul { - padding-left: 0; - margin-left: 0; + z-index: 2000 } +#available-widgets ul, +.admin-widgetset ul { padding-left: 0; margin-left: 0 } li.widget-instance, li.widget-class { @@ -447,14 +415,14 @@ li.widget-class { height: 30px; background-color: white; list-style-type: none; + border-radius: 2px } - .admin-widgetset h3 { margin-bottom: 1em; padding: .3em; background: #eee; - border: 1px solid #ddd; + border: 1px solid #ddd } #available-widgets h2 { @@ -464,6 +432,7 @@ li.widget-class { padding: .3em; border: 1px solid #eee; background: #999; + border-radius: 2px } .widget-instance .textinput { @@ -473,149 +442,127 @@ li.widget-class { font-style: oblique; color: blue; border: #fff 2px solid; - text-align: right; + text-align: right } .widget-instance .textinput:hover { border: #d00 2px solid; - background-color:white; + background-color:white } - .widget-instance .textinput:focus { font-style: normal; border: #f00 2px solid; background-color:white; - text-align: left; + text-align: left } - .widgetname a, .widgetname a:link, -.widgetname a:visited { - color: #ddd; -} +.widgetname a:visited { color: #ddd } .widget-placeholder { padding: .5em; font-style: oblique; text-align: center; - border: 1px dashed #ddd; + border: 1px dashed #ddd } .widget-dragger { text-align: left; z-index: 1000; padding: .5em; - height: 30px !important; + height: 30px !important } /* ===== CONFIG PANEL ===== */ - -.option-set .option-list { - margin-bottom: 4em; -} - -.option-set dt { - width: 33%; - text-align:right; - margin-top: 1.8em; - line-height: 1.5em; - font-weight: bold; -} - -.option-set dt label { - padding-top: .2em; -} +.option-set, +.option-list { margin-bottom: 3em; margin-top: 2em } .option-set dd { - margin-left: 35%; - margin-top: -1.7em; + margin-left: 38%; + bottom: 1.75em; line-height: 1.5em; + position: relative } +.option-set dd p { margin: 0 } -.option-set dd p { - margin: 0; +.option-set dd p.text { display: inline; vertical-align: middle } + +.option-list dd label { + position: relative; + vertical-align: middle; + display: flex } +.option-list dd code { position: relative; font-size: 0.85em } -.option-set dd input{ - margin-bottom: .2em; +.option-set dt { + width: 36%; + text-align:right; + margin-top: 0.5em; + line-height: 1.5em; + font-weight: bold } -.textinput, .bigtextinput, .smalltextinput { - padding: .5em; -} +.option-set dt label { bottom: 0.25em; position: relative } -.textinput:focus, .bigtextinput:focus, .smalltextinput:focus { - font-weight: bold; -} +.textinput, +.bigtextinput, +.smalltextinput { padding: 0.2em } + +.textinput:focus, +.bigtextinput:focus, +.smalltextinput:focus { font-weight: bold } .widetextinput { width: 99%; font-size: 1.3em; - color: #333333; + color: #333333 } .option-set input.textinput , -.option-set select.textinput { - width: 20em; -} +.option-set select.textinput { width: 20em; margin-top: -2px } +.option-set input.bigtextinput { width: 26em } -.option-set input.bigtextinput { - width: 30em; -} +.option-set input.smalltextinput { width: 5em } -.option-set input.smalltextinput { - width: 5em; -} - /* ===== SPECIAL HOVERS ====== */ a.link-disable, a.link-delete, a.link-enable, -a.link-general { - padding: .9em; -} +a.link-general { padding: .9em; border-radius: 2px } -td.main-cell a.link-general {display:block} +td.main-cell a.link-general { display:block } a.link-disable:hover, a.link-delete:hover { background-color: red; - color: white; + color: white } + a.link-enable:hover { background-color: green; - color: white; + color: white } a.link-general:hover, .main-cell a:hover { background-color: #aaa; - color: black; + color: black } - /* ===== NOTIFICATIONS ===== */ -.hint { - cursor: help; -} +.hint { cursor: help } .draft { background-color: #333 } /* (already defined in common, here we put just some tuning settings) */ -#admin-content ul.msgs { - margin:0; -} +#admin-content ul.msgs { margin:0 } -#footer { - color: black; -} +#footer { color: black } -form { - margin: auto; -} +form { margin: auto } diff --git a/fp-interface/themes/leggero/leggero-v2/res/column.css b/fp-interface/themes/leggero/leggero-v2/res/column.css index 86d3c13..8c1c6ba 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/column.css +++ b/fp-interface/themes/leggero/leggero-v2/res/column.css @@ -5,7 +5,7 @@ Leggero CSS Styles Name: Leggero v2 Author: NoWhereMan, drudo & Marc Thibeault -Version: 0.1 +Version: 1.0 Module: style.css */ @@ -13,40 +13,40 @@ Module: style.css @media (min-width: 720px) { /* ===== COLUMN ===== */ #column { - width: 22%; + width: 215px; + margin: 0px 20px 0px 0px; display: inline-block; font-size: 90%; - height:1%; + height: 1%; margin-bottom: 5px; - color: white; + color: white } } + /* ===== RESPONSIVE DESIGN ===== */ @media (max-width: 719px) { /* ===== COLUMN ===== */ #column { text-align: center; - float: center; width: 100%; display: inline-block; font-size: 100%; - height:1%; + height: 1%; margin: 5px auto; - color: white; + color: white } } #column h4 { /* Titles of the sections */ margin-bottom: .5em; - color: white; + color: white } #column p, #column div { margin: 5px 0px } - /* === List === */ #column ul li table { font-size: 100% } diff --git a/fp-interface/themes/leggero/leggero-v2/res/common.css b/fp-interface/themes/leggero/leggero-v2/res/common.css index 143ecc9..1794b73 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/common.css +++ b/fp-interface/themes/leggero/leggero-v2/res/common.css @@ -5,7 +5,7 @@ Leggero CSS Styles Name: Leggero v2 Author: NoWhereMan, drudo & Marc Thibeault -Version: 0.1 +Version: 1.0 Module: common.css */ @@ -13,19 +13,31 @@ Module: common.css html { font-size: 100%; margin: 0; - padding: 0 + padding: 0; + font-family: sans-serif; + text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2) +} + +html::before { /* background-attachment: fix workaround for mobile devices */ + content: ' '; + display: block; + background-image: url("../imgs/back.jpg"); + background-position: center; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + height: 100vh; width: 100vw; + top: 0; bottom: 0; left: 0; right: 0; + position: fixed; + z-index: -10 } body { font-size: 100%; color: black; padding: 0; - text-align:center; - background: url('../imgs/back.jpg') no-repeat fixed top center; - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; + text-align: center } hr { display: none } @@ -45,23 +57,25 @@ blockquote { border-right: 1px solid #888; border-top: 1px solid #888; border-bottom: 1px solid #888; + border-radius: 3px } -pre, code { - font-family: Lucida Console, Monaco, monospace !IMPORTANT; - font-size: 90%; -} +blockquote p { margin: 0.5em 0 0.5em 0 !IMPORTANT } + +pre, code { font-family: "Lucida Console", Monaco, monospace !IMPORTANT; font-size: 90% } pre { - border: 1px dashed #555; + border-left: 5px solid #b83c32; + border-right: 1px solid #b83c32; + border-top: 1px solid #b83c32; + border-bottom: 1px solid #b83c32; + border-radius: 3px; background-color: #efefef; - overflow: auto; - width: 90%; + width: auto; margin: 1em 1em; padding: 5px 10px; - - height: auto !important; + height: auto !important } ul, li, ol { margin: 0; padding: 0 } @@ -72,7 +86,8 @@ form { margin: 1em 0 } fieldset { margin: 0 0 1em 0; padding: .5em; - border: #ddd solid 1px + border: #ddd solid 1px; + border-radius: 3px } legend { @@ -86,6 +101,7 @@ input, textarea, select { border: 1px solid #999; color: #222; background-color: #eee; + border-radius: 3px } input:hover, input:focus, textarea:hover, textarea:focus { @@ -94,52 +110,50 @@ input:hover, input:focus, textarea:hover, textarea:focus { } textarea { - font-size: 100%; width: 99%; margin-top: .1em; - margin-bottom: 1em + margin-bottom: 1em; + font-family: sans-serif } - +input#name, input#email, input#url { /* comment and contact textfield */ + width: 200px +} /* ===== LINKS GENERAL ===== */ a:link, a:visited { color: #B83C32; font-weight: bold; - text-decoration: none; + text-decoration: none } -a:hover { - text-decoration: underline; -} +a:hover { text-decoration: underline } /* ===== HEADERS TAGS ===== */ h1 { /* Title of the blog */ font-size: 2.3em; letter-spacing: 2px; - margin: 1em 0 0.5em 0; + margin: 1em 0 0.5em 0 } h2 { /* Titles of the entry */ font-style: normal; font-size: 1.6em; - margin: 0.83em 0; + margin: 0.83em 0 } h2.entry-title, -h2.title { - margin: 0 !IMPORTANT; -} +h2.title { margin: 0 !IMPORTANT } h3 { font-style: normal; font-size: 1.4em; - margin: 0; + margin: 0 } -h4 { font-size: 1.2em; } +h4 { font-size: 1.2em } /* ===== HEAD ===== */ #head { @@ -147,7 +161,7 @@ h4 { font-size: 1.2em; } margin: 5px; background: rgba(184,60,50,0.7); border: black 1px solid; - border-radius: 10px ; + border-radius: 10px } #head a { color: white; text-decoration: none } @@ -164,7 +178,7 @@ h4 { font-size: 1.2em; } position: relative; height: 1%; margin: 0px; - padding: 0px; + padding: 0px } /* ===== NORMAL DESIGN ===== */ @@ -175,31 +189,109 @@ h4 { font-size: 1.2em; } /* ===== BODY CONTAINER ===== */ #body-container { text-align: left; - max-width: 1000px; + max-width: 690px; width: 100%; margin: 0 auto 0 auto; padding: 5px; background-color: rgba(0,0,0,0.75); - border-radius: 3px; + border-radius: 3px } /* ===== MAIN ===== */ - #main h4 { margin: 2em 0 0 0} + #main h4 { margin: 2em 0 0 0 } #main { float:left; position: relative; - width: 65%; + width: 365px; font-size: 100%; padding: 25px; margin: 20px; background-color: rgba(255,255,255,0.9); - border-radius: 3px; + border-radius: 3px + } + + div.floatleft { /* PhotoSwipe; normal */ + margin: 0.5em 1em 1em 0.5em + } + + div.floatright { + margin: 0.5em 0.5em 1em 1em + } + + .bbcode_video.right, .bbcode_video.left { float: unset !IMPORTANT } + + .responsive_bbcode_video { /* BBcode; normal and center BBcode video if screen < 960px */ + display: block; + text-align: center + } + + .bbcode_video, + .fb_iframe_widget_fluid_desktop iframe { + max-width: 320px !IMPORTANT; + width: 100%; + height: 180px !IMPORTANT } } +@media (min-width: 768px) { /* Smartphone landscape and Tablet */ + + #body-container { max-width: 738px } + + #main { width: 413px } +} + +@media (min-width: 820px) { /* Tablet */ + + #body-container { max-width: 790px } + + #main { width: 465px } +} + +@media (min-width: 960px) { /* Tablet landscape and Netbook*/ + + #body-container { max-width: 930px } + + #main { width: 605px } + + .responsive_bbcode_video { text-align: unset } + + .bbcode_video.right { float: right !IMPORTANT } + + .bbcode_video.left { float: left !IMPORTANT } +} + +@media (min-width: 1024px) { /* Laptop and small Desktop-PC */ + + #body-container { max-width: 994px } + + #main { width: 669px } + + .bbcode_video, + .fb_iframe_widget_fluid_desktop iframe { + max-width: 480px !IMPORTANT; + width: 100%; + height: 270px !IMPORTANT + } +} + +@media (min-width: 1440px) { /* Desktop-PC and TV*/ + + #body-container { max-width: 1250px } + + #main { width: 925px } + + .bbcode_video, + .fb_iframe_widget_fluid_desktop iframe { + max-width: 560px !IMPORTANT; + width: 100%; + height: 315px !IMPORTANT + } +} + + /* ===== RESPONSIVE DESIGN ===== */ -@media (max-width: 719px) { +@media (max-width: 719px) { /* Smartphone */ body { margin: 0 0 0 0 } @@ -209,11 +301,13 @@ h4 { font-size: 1.2em; } width: 100%; margin: 0 auto 0 auto; padding-top: 5px; - background-color: rgba(0,0,0,0.75); + background-color: rgba(0,0,0,0.75) } + #outer-container { margin: 5px } + /* ===== MAIN ===== */ - #main h4 { margin: 2em 0 0 0} + #main h4 { margin: 2em 0 0 0 } #main { width: 90%; @@ -221,29 +315,51 @@ h4 { font-size: 1.2em; } padding: 15px; margin: 10px auto; background-color: rgba(255,255,255,0.9); - border-radius: 3px; + border-radius: 3px } + + div.floatright, div.floatleft, div.photoswipe { /* PhotoSwipe; responsive */ + float: unset; + margin-left: auto !IMPORTANT; + margin-right: auto !IMPORTANT + } + + div.img-gallery { text-align: center } + + .img-gallery div.photoswipe figure { margin: 0.5em 0 0 0 !IMPORTANT } + + .responsive_bbcode_video { /* BBcode; responsive */ + position: relative; + padding-bottom: 56.25%; /* 16:9 */ + height: 0; + overflow: hidden + } + + .bbcode_video { + float: unset !IMPORTANT; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100% + } + + .bbcode_video.nofloat { text-align: center } } -#main p { line-height: 1.4em; margin-top: 1em; } +#main p { line-height: 1.4em; margin-top: 1em } #main img { margin: .5em } /* === List === */ -#main ul { - list-style-type: disc; - padding: 0 0 0 1.6em -} +#main ul { list-style-type: disc; padding: 0 0 0 1.6em } -#main ol { - list-style-position: inside; - padding: 0 1.6em 0 1.6em -} +#main ol { list-style-position: inside; padding: 0 1.6em 0 1.6em } -h4#addcomment {clear:both;} +h4#addcomment { clear: both } #commentform fieldset p { margin: 0 0 .5em 0 } - + #comments li { margin: 0 0 1.5em 0; padding: 5px; @@ -251,79 +367,103 @@ h4#addcomment {clear:both;} border-bottom: 1px solid #ddd; background: #efefef } - + /* === Class of main block === */ - h6.date { - font-size: 0.8em; - color: #444; - } - + h6.date { font-size: 0.8em; color: #444 } + .date { /* date under titles of the entry */ font-size: 80%; font-style: oblique; color: black; margin: .2em 0 .8em 0 } - + /* .entry class */ .entry { margin: 0 0 1.5em 0; padding: 0 0 1.5em 0; - overflow: auto; /* floating images fix IE<7*/ - border-bottom: solid 1px #999; + overflow: auto; + border-bottom: solid 1px #999 } - + #main>.entry { - overflow: hidden; /* rest of the world :) */ + overflow: hidden /* rest of the world :) */ } /* end of .entry */ - + #main ul.entry-footer { /* entry footer */ clear: both; font-size: 80%; color: black; margin: 2em 0 .5em 0; - text-align: right; - } - - .entry-footer li { - display: block; - } - - - .admincontrols { /* [edit] and [delete] */ - font-size: 80%; - text-align: right; - } - - .buttonbar { text-align: center } - - .buttonbar input { - text-align: center; - margin: .1em .5em; - padding: 0 1em - } - - .navigation { /* next entries & previous entries link */ - font-size: 90%; - /* margin-bottom: 3em; */ - display: flow-root; + text-align: right } - form#search ul { - list-style-type: none; + .entry-footer li { display: block } + + .admincontrols { /* [edit] and [delete] */ + font-size: 80%; + text-align: right } + .buttonbar { text-align: center } + + .buttonbar input[type=submit], /* Send-Message-Button */ + .buttonbar input[type=reset], /* Reset-Message-Button */ + .buttonbar input[type=button] { + box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1); + margin: 0.1em 0.5em; + padding: 0.2em 1em + } + + .buttonbar input[type=submit]:hover, + .buttonbar input[type=reset]:hover, + .buttonbar input[type=button]:hover { + box-shadow: none + } + + input[type=radio], + input[type=checkbox] { + vertical-align: middle; + margin-bottom: 0.4em; + cursor: pointer + } + + .photoswipe figure img { /* PhotoSwipe */ + box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1); + border-radius: 3px + } + + .photoswipe figure img:hover { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3) } + + .photoswipe figure figcaption { font-size: 12px !IMPORTANT } + + .bbcode_video { /* BBCode [video] */ + background-color: rgba(0,0,0,0.3); + box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1); + border-radius: 3px; + margin: 0px 3px 0px 0px + } + + .bbcode_video:hover { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3) } + + .fb_iframe_widget_fluid_desktop iframe { border-radius: 3px } + + .navigation { /* next entries & previous entries link */ + font-size: 90%; + display: flow-root + } + + form#search ul { list-style-type: none } + /* ===== FOOTER ===== */ #footer { clear: both; text-align: center; font-size: 90%; color: white; - padding: 5px; + padding: 5px } -* { - font-family: sans-serif; - text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2); - } \ No newline at end of file +* { font-family: sans-serif; text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2) } + diff --git a/fp-interface/themes/leggero/leggero-v2/res/globals.css b/fp-interface/themes/leggero/leggero-v2/res/globals.css index 6bc6d21..0cebfd6 100755 --- a/fp-interface/themes/leggero/leggero-v2/res/globals.css +++ b/fp-interface/themes/leggero/leggero-v2/res/globals.css @@ -5,7 +5,7 @@ Leggero CSS Styles Name: Leggero v2 Author: NoWhereMan, drudo & Marc Thibeault -Version: 0.1 +Version: 1.0 Module: globals.css */ diff --git a/fp-interface/themes/leggero/leggero-v2/res/print.css b/fp-interface/themes/leggero/leggero-v2/res/print.css index 5800b7a..7dacec7 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/print.css +++ b/fp-interface/themes/leggero/leggero-v2/res/print.css @@ -5,61 +5,43 @@ Leggero CSS Styles Name: Leggero v2 Author: Laborix -Version: 0.1 +Version: 1.0 Module: print.css */ body { color: #333; - background-color: transparent; + background-color: transparent } a { color: #333; background-color: transparent; - text-decoration: none; + text-decoration: none } -h1 { - font-size: 130%; -} +h1 { font-size: 130% } -h2 { - font-size: 130%; -} +h2 { font-size: 130% } -h3 { - font-size: 100%; -} +h3 { font-size: 100% } -h4 { - font-size: 100%; -} +h4 { font-size: 100% } -.date { - font-size: 100%; -} +.date { font-size: 100% } -#column { - display: none; -} +#column { display: none } -.admincontrols { - display: none; -} +.admincontrols { display: none } -.readmore { - display: none; -} +.readmore { display: none } -.navigation { - display: none; -} +.navigation { display: none } .entry-footer { clear: both; font-size: 80%; - margin: 2em 0 3em 0; + margin: 2em 0 3em 0 } blockquote { @@ -69,7 +51,7 @@ blockquote { color: #333; background-color: transparent; font-style: italic; - border-left: 5px solid #bbb; + border-left: 5px solid #bbb } pre { @@ -83,21 +65,13 @@ pre { border: 1px dotted #333; white-space: pre-line; overflow: auto; - text-overflow: ellipsis; + text-overflow: ellipsis } -.link-comments { - display: none; -} +.link-comments { display: none } -hr { - display: none; -} +hr { display: none } -#footer { - display: none; -} +#footer { display: none } -#commentform { - display: none; -} +#commentform { display: none } diff --git a/fp-interface/themes/leggero/leggero-v2/res/style.css b/fp-interface/themes/leggero/leggero-v2/res/style.css index 7fad7cd..721746e 100644 --- a/fp-interface/themes/leggero/leggero-v2/res/style.css +++ b/fp-interface/themes/leggero/leggero-v2/res/style.css @@ -5,23 +5,43 @@ Leggero CSS Styles Name: Leggero v2 Author: NoWhereMan, drudo & Marc Thibeault -Version: 0.1 +Version: 1.0 Module: style.css */ /* imports common style ruleset */ -@import url(common.css); -@import url(globals.css); +@import url("common.css"); +@import url("globals.css"); /* imports column (where widgets usually go) rules */ -@import url(column.css); +@import url("column.css"); #comments li.comment-admin { - padding:1em + padding: 1em } -#comments li.comment-admin strong.comment-name { font-size:140% } - #widget-searchbox form { - text-align: center; + text-align: center +} + +/* Last Comments-Widget */ +.comment-quote { + margin-left: auto; + margin-right: auto; + border-radius: 3px +} + +@media (min-width: 720px) { + .comment-quote { width: auto } +} + +/* Calendar-Widget */ +.calendar { + margin-left: auto; + margin-right: auto; + text-align: center +} + +@media (min-width: 720px) { + .calendar { font-size: small !IMPORTANT } } diff --git a/fp-plugins/bbcode/lang/lang.cs-cz.php b/fp-plugins/bbcode/lang/lang.cs-cz.php index ad4e83b..82786b3 100644 --- a/fp-plugins/bbcode/lang/lang.cs-cz.php +++ b/fp-plugins/bbcode/lang/lang.cs-cz.php @@ -4,7 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Nastavení BBCode', 'desc1' => 'Tento plugin umožňuje používat BBCode na vašem blogu. ', + 'phpBB/faq.php?mode=bbcode">BBCode na vašem blogu.', 'options' => 'Nastavení', @@ -56,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Přejít na' + 'go_to' => 'Přejít na', + // language tag for Facebook Video + 'langtag' => 'cs_CZ' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.de-de.php b/fp-plugins/bbcode/lang/lang.de-de.php index 84618a3..6a6c631 100644 --- a/fp-plugins/bbcode/lang/lang.de-de.php +++ b/fp-plugins/bbcode/lang/lang.de-de.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'BBCode Konfiguration', 'desc1' => 'Dieses Plugin erlaubt BBCode Markup zu benutzen und bietet die '. - 'automatische Integration der Lightbox Funktionalität an (Vorraussetzung ist, dass das Lightbox Plugin aktiviert ist).', + 'phpBB/faq.php?mode=bbcode">BBCode Markup zu benutzen.', 'options' => 'Optionen', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Gehe zu' + 'go_to' => 'Gehe zu', + // language tag for Facebook Video + 'langtag' => 'de_DE' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.el-gr.php b/fp-plugins/bbcode/lang/lang.el-gr.php index fe8d6a2..8b7b1d9 100644 --- a/fp-plugins/bbcode/lang/lang.el-gr.php +++ b/fp-plugins/bbcode/lang/lang.el-gr.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Ρύθμιση του BBCode', 'desc1' => 'Το πρόσθετο αυτό επιτρέπει τη χρήση σύνταξης BBCode και παρέχει '. - 'αυτόματη αλληλεπίδραση με το lightbox (όταν είναι κι αυτό ενεργοποιημένο).', + 'phpBB/faq.php?mode=bbcode">BBCode.', 'options' => 'Επιλογές', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Πηγαίνετε στον' + 'go_to' => 'Πηγαίνετε στον', + // language tag for Facebook Video + 'langtag' => 'el_GR' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.en-us.php b/fp-plugins/bbcode/lang/lang.en-us.php index 48ab014..27985ff 100644 --- a/fp-plugins/bbcode/lang/lang.en-us.php +++ b/fp-plugins/bbcode/lang/lang.en-us.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'BBCode Configuration', 'desc1' => 'This plugin allows using BBCode markup and provides '. - 'automatic integration with lightbox (when also enabled).', + 'phpBB/faq.php?mode=bbcode">BBCode markup.', 'options' => 'Options', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Go to' + 'go_to' => 'Go to', + // language tag for Facebook Video + 'langtag' => 'en_US' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.es-es.php b/fp-plugins/bbcode/lang/lang.es-es.php index c1feb62..0acaf34 100644 --- a/fp-plugins/bbcode/lang/lang.es-es.php +++ b/fp-plugins/bbcode/lang/lang.es-es.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Configuración de BBCode', 'desc1' => 'Este Plugin permite usar BBCode markup y proporciona '. - 'integración automática con lightbox (cuando también está habilitado).', + 'phpBB/faq.php?mode=bbcode">BBCode markup.', 'options' => 'Opciones', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Ir a' + 'go_to' => 'Ir a', + // language tag for Facebook Video + 'langtag' => 'es_ES' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.fr-fr.php b/fp-plugins/bbcode/lang/lang.fr-fr.php index b40c8c2..fea4173 100644 --- a/fp-plugins/bbcode/lang/lang.fr-fr.php +++ b/fp-plugins/bbcode/lang/lang.fr-fr.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Configuration du BBCode', 'desc1' => 'Ce plugin autorise l\'usage du BBCode et permet une intégration '. - 'automatique avec une lightbox (si disponible).', + 'phpBB/faq.php?mode=bbcode">BBCode.', 'options' => 'Options', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Aller à' + 'go_to' => 'Aller à', + // language tag for Facebook Video + 'langtag' => 'fr_FR' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.it-it.php b/fp-plugins/bbcode/lang/lang.it-it.php index db9be3c..be17910 100644 --- a/fp-plugins/bbcode/lang/lang.it-it.php +++ b/fp-plugins/bbcode/lang/lang.it-it.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Configurazione BBCode', 'desc1' => 'Questo plugin ti consente di usare BBCode come markup e fornisce '. - 'un\'integrazione automatica con lightbox (quando è abilitato).', + 'phpBB/faq.php?mode=bbcode">BBCode come markup.', 'options' => 'Opzioni', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Vai a' + 'go_to' => 'Vai a', + // language tag for Facebook Video + 'langtag' => 'it_IT' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.ja-jp.php b/fp-plugins/bbcode/lang/lang.ja-jp.php index 613a260..78e925b 100644 --- a/fp-plugins/bbcode/lang/lang.ja-jp.php +++ b/fp-plugins/bbcode/lang/lang.ja-jp.php @@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'BBCodeの設定', 'desc1' => 'このプラグインは BBCode を使用できるようにし、'. - 'lightbox(プラグインが有効であれば)も自動的に組み込みます。', + 'phpBB/faq.php?mode=bbcode">BBCode の使用を可能にします。', 'options' => 'オプション', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'に行く' + 'go_to' => 'に行く', + // language tag for Facebook Video + 'langtag' => 'ja_JP' ); diff --git a/fp-plugins/bbcode/lang/lang.nl-nl.php b/fp-plugins/bbcode/lang/lang.nl-nl.php index daa38db..9b9ca31 100644 --- a/fp-plugins/bbcode/lang/lang.nl-nl.php +++ b/fp-plugins/bbcode/lang/lang.nl-nl.php @@ -3,9 +3,8 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'BBCode Configuratie', - 'desc1' => 'Deze plugin staat gebruik toe BBCode voor opmaak en biedt '. - 'automatische integratie met lightbox (wanneer ook ingeschakeld).', + 'desc1' => 'Deze plugin maakt het gebruik van BBCode mogelijk.', 'options' => 'Opties', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Ga naar' + 'go_to' => 'Ga naar', + // language tag for Facebook Video + 'langtag' => 'nl_NL' ); ?> diff --git a/fp-plugins/bbcode/lang/lang.pt-br.php b/fp-plugins/bbcode/lang/lang.pt-br.php index 32dbd4f..9476660 100644 --- a/fp-plugins/bbcode/lang/lang.pt-br.php +++ b/fp-plugins/bbcode/lang/lang.pt-br.php @@ -3,9 +3,8 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode'; $lang ['admin'] ['plugin'] ['bbcode'] = array( 'head' => 'Configuração do BBCode', - 'desc1' => 'Este plugin permite o uso de BBCode markup e fornece '. - 'integração automática com o lightbox (quando também ativado).', + 'desc1' => 'Esse plug-in permite o uso de marcação BBCode.', 'options' => 'Opções', @@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array( ); $lang ['plugin'] ['bbcode'] = array ( - 'go_to' => 'Ir para' + 'go_to' => 'Ir para', + // language tag for Facebook Video + 'langtag' => 'pt_BR' ); ?> \ No newline at end of file diff --git a/fp-plugins/bbcode/plugin.bbcode.php b/fp-plugins/bbcode/plugin.bbcode.php index 25d8e57..54220f8 100644 --- a/fp-plugins/bbcode/plugin.bbcode.php +++ b/fp-plugins/bbcode/plugin.bbcode.php @@ -331,6 +331,10 @@ function do_bbcode_mail($action, $attributes, $content, $params, $node_object) { * @return string */ function do_bbcode_video($action, $attr, $content, $params, $node_object) { + + global $lang; + lang_load('plugin:bbcode'); + if ($action == 'validate') { return true; } @@ -365,19 +369,20 @@ function do_bbcode_video($action, $attr, $content, $params, $node_object) { switch ($type) { // YouTube case 'youtube': - $output = ''; + $output = '
'; break; // Vimeo case 'vimeo': $vid = isset($query ['sec']) ? $query ['sec'] : str_replace('/', '', $vurl ['path']); - $output = ''; + $output = '
'; break; // Facebook case 'facebook': + $langtag = $lang ['plugin'] ['bbcode'] ['langtag']; $vid = isset($query ['sec']) ? $query ['sec'] : str_replace('/video/', '', $vurl ['path']); $output = '
- -
'; + +
'; break; // Any video file that can be played with HTML5