]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Sun, 29 Nov 2020 10:51:58 +0000 (11:51 +0100)
committerVincent <vincent@enhydra.fr>
Sun, 29 Nov 2020 10:51:58 +0000 (11:51 +0100)
.idea/workspace.xml
index.php
scripts/lib/lib.php
style/remote.less
style/style.css
style/style.less

index a2360b8514042c02aff943fad6c8353b7e18a07a..bc0f105979ac91dc7907e9160836e9de7fcf89b4 100644 (file)
@@ -3,9 +3,9 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/js/home.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/home.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/scripts/lib/lib.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/lib.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/tmdb.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/tmdb.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/style/remote.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/remote.less" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/style/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.css" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/style/style.less" beforeDir="false" afterPath="$PROJECT_DIR$/style/style.less" afterDir="false" />
     </list>
       <workItem from="1606049944658" duration="4067000" />
       <workItem from="1606074617916" duration="1140000" />
       <workItem from="1606112202214" duration="1742000" />
-      <workItem from="1606161139379" duration="7238000" />
-    </task>
-    <task id="LOCAL-00363" summary=".">
-      <created>1604304768803</created>
-      <option name="number" value="00363" />
-      <option name="presentableId" value="LOCAL-00363" />
-      <option name="project" value="LOCAL" />
-      <updated>1604304768803</updated>
+      <workItem from="1606161139379" duration="8432000" />
+      <workItem from="1606299989262" duration="135000" />
+      <workItem from="1606480003955" duration="1536000" />
     </task>
     <task id="LOCAL-00364" summary=".">
       <created>1604307121401</created>
       <option name="project" value="LOCAL" />
       <updated>1606116203597</updated>
     </task>
-    <option name="localTasksCounter" value="412" />
+    <task id="LOCAL-00412" summary=".">
+      <created>1606229058488</created>
+      <option name="number" value="00412" />
+      <option name="presentableId" value="LOCAL-00412" />
+      <option name="project" value="LOCAL" />
+      <updated>1606229058489</updated>
+    </task>
+    <option name="localTasksCounter" value="413" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
     </state>
     <state x="740" y="229" key="#com.jetbrains.php.refactoring.extractMethod.PhpExtractMethodDialog#function0/0.0.1707.920@0.0.1707.920" timestamp="1604146905948" />
     <state x="1110" y="259" key="#com.jetbrains.php.refactoring.extractMethod.PhpExtractMethodDialog#function0/0.0.2560.1040@0.0.2560.1040" timestamp="1605437484620" />
-    <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1606116200017">
+    <state x="198" y="0" width="737" height="502" key="CommitChangelistDialog2" timestamp="1606229053038">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
     <state x="132" y="0" width="737" height="502" key="CommitChangelistDialog2/0.0.1707.920@0.0.1707.920" timestamp="1605086955514" />
     <state x="701" y="75" key="CommitChangelistDialog2/0.0.1920.1160@0.0.1920.1160" timestamp="1605188136787" />
-    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1606116200017" />
+    <state x="198" y="0" width="745" height="567" key="CommitChangelistDialog2/0.0.2560.1040@0.0.2560.1040" timestamp="1606229053038" />
     <state x="952" y="244" key="FileChooserDialogImpl" timestamp="1605726960903">
       <screen x="0" y="0" width="2560" height="1040" />
     </state>
index 5a2aac812d9ea1c8c849fc63d398f541eda57a2a..22939bcc99693520f60e591775885e8455969f80 100644 (file)
--- a/index.php
+++ b/index.php
@@ -57,9 +57,15 @@ function relativePath($p)
         <meta name="theme-color" content="#0049a4">
     <?php endif; ?>
     <style type="text/css">
-        html{
+        #splash, body, #burger, .mm-spn.mm-spn--light, .mm-spn.mm-spn--dark {
+            background-color: <?php echo config('THEME');?>;
+        }
+
+        html {
+            background-color: <?php echo config('THEME');?>;
             --theme-color: <?php echo config('THEME');?>;
         }
+
         #weatherstation {
             background-image: url('<?php echo relativePath('images/rooms/medium/'.getCurrentConfig().'.jpg') ?>'), linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
             background-blend-mode: multiply;
index 6d080543fcb6234cb98715b32128704776e40470..d199633a6363607ed493fe483dcebf942ff92cd1 100644 (file)
@@ -148,7 +148,7 @@ function shortcutDir($allshortcuts)
             if ($s['type'] == 'accordion-end') {
                 $html = '</accordion>';
             } else if ($s['type'] == 'accordion') {
-                $html = '<accordion class="accordion ' . (isset($s['closed']) && $s['closed'] ? 'closed' : '') . '"><a><span>' . $s['label'] . '</span></a>';
+                $html = '<accordion class="accordion ' . (isset($s['closed']) && $s['closed'] ? 'closed' : '') . '"><a href="#"><span>' . $s['label'] . '</span></a>';
             }
             if ($s['type'] == 'clear' || $s['type'] == 'accordion' || $s['type'] == 'accordion-end') {
                 if ($i % 2 == 1) {
index 820a77a76d2ed543e59e78cacc3c97e701e95291..528c5bbcee2daca3a6fcc6eb026035208bab7224 100644 (file)
                        }
 
                        .remote-infos {
-                               padding: 5%;
+
                                width: 100%;
                                height: 100%;
                                overflow: hidden;
                                .h {
                                        width: 100%;
-                                       height: 80%;
+                                       height: 100%;
                                        background-position: 50% 50%;
-                                       background-size: contain;
+                                       background-size: cover;
                                        background-repeat: no-repeat;
                                        position: relative;
 
                                        .title {
                                                position: absolute;
-                                               bottom: -22%;
+                                               bottom: 10%;
                                                width: 100%;
                                                text-align: center;
                                                font-size: .5em;
                                                line-height: 1;
                                                color: #000;
+                                               z-index: 1;
+                                               @t:2px;
+                                               text-shadow: #fff 0px 1px @t,#fff 1px 0px @t,#fff -1px 0px @t,#fff 0px -1px @t;
                                        }
                                }
                        }
index 61a8eec7889477736190d040343b962847521e76..f7aaf731ff5f546dea7a8aced61af7b55448c982 100644 (file)
@@ -46,10 +46,10 @@ body #splash {
 }
 #burger {
   position: fixed;
-  right: 10vh;
-  bottom: 10vh;
-  width: 20vh;
-  height: 20vh;
+  right: 7vh;
+  bottom: 7vh;
+  width: 14vh;
+  height: 14vh;
   background-color: var(--theme-color);
   border-radius: 50% 50%;
   z-index: 2;
@@ -57,9 +57,9 @@ body #splash {
 #burger i {
   position: absolute;
   color: #fff;
-  right: 6.3vh;
-  bottom: 6.3vh;
-  font-size: 7.7vh;
+  right: 4.41vh;
+  bottom: 4.41vh;
+  font-size: 5.39vh;
 }
 #mainnav a {
   text-align: center;
@@ -413,6 +413,7 @@ section accordion > a {
   color: #fff;
   background-color: rgba(0, 0, 0, 0.5);
   height: 12.4em;
+  cursor: pointer;
 }
 section accordion > a img {
   max-width: 100%;
@@ -769,27 +770,28 @@ section accordion.closed {
   padding-top: 0.1em;
 }
 .bricks .brick .c .remote-infos {
-  padding: 5%;
   width: 100%;
   height: 100%;
   overflow: hidden;
 }
 .bricks .brick .c .remote-infos .h {
   width: 100%;
-  height: 80%;
+  height: 100%;
   background-position: 50% 50%;
-  background-size: contain;
+  background-size: cover;
   background-repeat: no-repeat;
   position: relative;
 }
 .bricks .brick .c .remote-infos .h .title {
   position: absolute;
-  bottom: -22%;
+  bottom: 10%;
   width: 100%;
   text-align: center;
   font-size: 0.5em;
   line-height: 1;
   color: #000;
+  z-index: 1;
+  text-shadow: #fff 0px 1px 2px, #fff 1px 0px 2px, #fff -1px 0px 2px, #fff 0px -1px 2px;
 }
 .bricks .brick .c .remote-timeline .timeline-time {
   display: inline-block;
index 9e446f5da4df1d6c536250b0e6ba151a8b651791..82566aaa26cc697c8e88aa02ce030d42322c436f 100644 (file)
@@ -55,7 +55,7 @@ body {
 }
 
 #burger {
-  @w: 20vh;
+  @w: 14vh;
   @o: unit(@w/2, vh);
   position: fixed;
   right: @o;
@@ -190,6 +190,7 @@ section {
       color: #fff;
       background-color: rgba(0, 0, 0, 0.5);
       height: 12.4em;
+      cursor:pointer;
     }
 
     &.closed {