From 944012fa29162336a92971824aa884d25fc8b023 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 1 Aug 2021 12:32:25 +0100 Subject: [PATCH] Make applications page responsive Signed-off-by: falkTX --- Applications.php | 162 ++++++++++++++++++++++++-------------------- css/style.fluid.css | 33 +++++---- index.php | 30 ++++---- 3 files changed, 126 insertions(+), 99 deletions(-) diff --git a/Applications.php b/Applications.php index 19aecb7..dbe905d 100644 --- a/Applications.php +++ b/Applications.php @@ -25,31 +25,34 @@ include_once("includes/header.php");
- - -
-

- cadence -

+
+

- - - - + + cadence +

-

- + + + + +

+ +
+

+ Cadence
Cadence is a set of tools useful for audio production.
This is the main app. It performs system checks, manages JACK, calls other tools and make system tweaks.
(Most of the tools below are part of the Cadence suite).


-
+ + - - -
+
+

cadence-jackmeter

@@ -60,7 +63,8 @@ include_once("includes/header.php");

-
+ +

Cadence-JackMeter
@@ -68,11 +72,11 @@ include_once("includes/header.php"); It automatically connects itself to all application JACK output ports that are also connected to the system output.

-
+ + - - -
+
+

cadence-jacksettings

@@ -81,7 +85,8 @@ include_once("includes/header.php");

-
+ +

Cadence-JackSettings
@@ -89,11 +94,11 @@ include_once("includes/header.php"); It can configure JACK's driver and engine parameters, and it also supports LADISH studios.

-
+ + - - -
+
+

cadence-logs

@@ -102,7 +107,8 @@ include_once("includes/header.php");

-
+ +

Cadence-Logs
@@ -110,11 +116,11 @@ include_once("includes/header.php"); This is very similar to the the 'ladilog' app but here the logs are viewed in a text box, making it easy to browse and extract status messages using copy and paste commands.

-
+ + - - -
+
+

cadence-render

@@ -123,7 +129,8 @@ include_once("includes/header.php");

-
+ +

Cadence-Render
@@ -131,11 +138,11 @@ include_once("includes/header.php"); It supports a vast number of file types and can render in both realtime and freewheel modes.

-
+ + - - -
+
+

cadence-xycontroller

@@ -146,7 +153,8 @@ include_once("includes/header.php");

-
+ +

Cadence-XY Controller
@@ -154,11 +162,11 @@ include_once("includes/header.php"); It can send data through specific channels and has a MIDI Keyboard too.


-
+ + - - -
+
+

catarina

@@ -169,7 +177,8 @@ include_once("includes/header.php");

-
+ +

Catarina
@@ -178,11 +187,11 @@ include_once("includes/header.php"); You can save & load patchbay configurations too.

-
+ + - - -
+
+

catia

@@ -193,7 +202,8 @@ include_once("includes/header.php");

-
+ +

Catia
@@ -204,11 +214,11 @@ include_once("includes/header.php");

-
+ + - - -
+
+

claudia

@@ -217,7 +227,8 @@ include_once("includes/header.php");

-
+ +

Claudia
@@ -226,11 +237,11 @@ include_once("includes/header.php"); It also implements the 'Claudia-Launcher' add-application style for LADISH.

-
+ + - - -
+
+

claudia-launcher

@@ -238,7 +249,8 @@ include_once("includes/header.php");

-
+ +

Claudia-Launcher
@@ -247,11 +259,11 @@ include_once("includes/header.php"); The content is got through an hardcoded database, created and/or modified to suit the target distribution.

-
+ + - - -
+
+

carla

@@ -262,7 +274,8 @@ include_once("includes/header.php");

-
+ +

Carla
@@ -271,11 +284,11 @@ include_once("includes/header.php"); Currently supports LADSPA, DSSI, LV2, VST2/3 and AU plugin formats, plus GIG, SF2 and SFZ sounds banks.

-
+ + - - -
+
+

carla-control

@@ -286,15 +299,16 @@ include_once("includes/header.php");

-
+ +

Carla-Control
TODO.

-
+ +
@@ -302,22 +316,22 @@ include_once("includes/header.php"); - + - + - + - + - + - +
- Supports ArchLinux (Available in AUR)
- Supports Debian (Available at the KXStudio Repositories)
- Supports Ubuntu (Available at the KXStudio Repositories)
- Supports all GNU/Linux systems in general (Binaries and Source Code available in the Downloads page)
- Supports Mac OS (Package available in the Downloads page)
- Supports Windows (Binaries available in the Downloads page)
diff --git a/css/style.fluid.css b/css/style.fluid.css index 10abbd2..de46957 100644 --- a/css/style.fluid.css +++ b/css/style.fluid.css @@ -24,6 +24,13 @@ } } +.responsive-item b { + margin-left: 2px; +} +.responsive-item > div:first-child { + text-align: center; +} + @media only screen and (min-width: 540px) { .responsive-item { margin: 15px; @@ -32,20 +39,20 @@ display: inline-block; vertical-align: middle; } - .responsive-item > div:first-child { - width: 160px; - } - .responsive-item > div:last-child { - width: calc(100% - 180px); - } - .responsive-item > div:first-child > a { + .responsive-item > div:first-child a { display: inline-block; - width: 130px; - margin: 15px; } - .responsive-item > div:first-child > a > img { + /* 128px */ + .responsive-item.thumb-128 > div:last-child { + max-width: calc(100% - 165px); + } + .responsive-item.thumb-128 > div:first-child img { padding: 1px; } + /* 150px */ + .responsive-item.thumb-150 > div:last-child { + max-width: calc(100% - 185px); + } } @media only screen and (max-width: 540px) { @@ -56,10 +63,10 @@ .responsive-item.last { margin-bottom: 0px; } - .responsive-item b { - margin: 5px; - } .responsive-item p { margin: 0px; } + .responsive-item > div:last-child { + margin-top: 5px; + } } diff --git a/index.php b/index.php index 2f9952f..9fd0003 100644 --- a/index.php +++ b/index.php @@ -15,11 +15,13 @@ include_once("includes/header.php"); The KXStudio project is divided into 3 main sections:

-
+
- - cadence.png - +

+ + cadence.png + +

@@ -31,11 +33,13 @@ include_once("includes/header.php");

-
+
- - distrho.png - +

+ + distrho.png + +

@@ -46,11 +50,13 @@ include_once("includes/header.php");

-
+
- - repos.png - +

+ + repos.png + +