From e391e9ebc32a7fe16e7a22c25d934371481b5147 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 25 Mar 2026 14:19:18 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 28 ++--------- js/home.js | 1 - scripts/lib/lib.php | 4 -- style/remote.less | 119 -------------------------------------------- 4 files changed, 3 insertions(+), 149 deletions(-) delete mode 100644 style/remote.less diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ed15818..88e0494 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,31 +6,9 @@ - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/js/home.js b/js/home.js index 116b881..f94e69f 100644 --- a/js/home.js +++ b/js/home.js @@ -793,7 +793,6 @@ function resize() { videoLeft = Math.round(fz * 1.2); videoWidth = ww - videoLeft; - resizeBricks(); $(".fit").each(function () { $(this).css({ diff --git a/scripts/lib/lib.php b/scripts/lib/lib.php index 0220519..e6de39a 100644 --- a/scripts/lib/lib.php +++ b/scripts/lib/lib.php @@ -312,10 +312,6 @@ function shortcut($s, $hash) $html = '' . $s['map'] . ''; } else if ($s['type'] == 'missing') { $attrs['class'] = 'missing'; - } else if ($s['type'] == 'bricks') { - $html = makeBricks($s['bricks']); - } else if ($s['type'] == 'raspberrycast') { - $attrs['class'] = 'raspberrycast'; } else if ($s['type'] == 'harmonyactivity') { $attrs['class'] = 'harmonyactivity'; $attrs['data-activity'] = $s['activity']; diff --git a/style/remote.less b/style/remote.less deleted file mode 100644 index 94b4c53..0000000 --- a/style/remote.less +++ /dev/null @@ -1,119 +0,0 @@ -.bricks { - height: 100%; - width: 100%; - position: absolute; - top: 0; - left: 0; - - .brick { - overflow: hidden; - position: absolute; - - .c { - background-color: rgba(255, 255, 255, 0.35); - text-align: center; - border-radius: 5px; - width: 100%; - height: 100%; - a { - color: #000; - text-decoration: none; - - &.fullbrickbutton { - display: block; - width: 100%; - height: 100%; - border-radius: 5px; - position: relative; - } - } - - &.arrow { - background-color: rgba(0, 0, 0, 0.35); - .fullbrickbutton { - color:#fff; - } - } - - .hspacer { - display: inline-block; - } - - .remote-touch { - width: 100%; - height: 100%; - font-family: @font-awesome; - font-size: 3em; - opacity: 0.2; - padding-top: .1em; - } - - .remote-infos { - - width: 100%; - height: 100%; - overflow: hidden; - .h { - width: 100%; - height: 100%; - background-position: 50% 50%; - background-size: cover; - background-repeat: no-repeat; - position: relative; - - .title { - position: absolute; - 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; - } - } - } - - .remote-timeline { - .timeline-time { - display: inline-block; - font-size: .5em; - vertical-align: middle; - width: 16%; - text-align: center; - } - - .timeline-duration { - display: inline-block; - font-size: .5em; - vertical-align: middle; - width: 16%; - text-align: center; - } - - .timeline-progressbar { - display: inline-block; - vertical-align: middle; - width: 68%; - background-color: #000; - height: 0.25em; - border-radius: 0.1em; - position: relative; - } - - .timeline-cursor { - position: absolute; - top: -50%; - background: #222; - width: .5em; - height: .5em; - border-radius: 50%; - margin-left: -.25em; - pointer-events: none; - } - } - } - } -} \ No newline at end of file -- 2.39.5