diff options
Diffstat (limited to 'src/application')
-rw-r--r-- | src/application/actions/ctheme/get.php | 4 | ||||
-rw-r--r-- | src/application/themes/cyborg/theme.json | 28 | ||||
-rw-r--r-- | src/application/themes/default/theme.json | 14 | ||||
-rw-r--r-- | src/application/themes/flat/theme.json | 13 | ||||
-rw-r--r-- | src/application/themes/gloss/theme.json | 18 | ||||
-rw-r--r-- | src/application/themes/house/theme.json | 22 | ||||
-rw-r--r-- | src/application/themes/maverix/theme.json | 14 | ||||
-rw-r--r-- | src/application/themes/paper/theme.json | 15 | ||||
-rw-r--r-- | src/application/themes/simplex/theme.json | 14 | ||||
-rw-r--r-- | src/application/themes/slate/theme.json | 22 | ||||
-rw-r--r-- | src/application/themes/spacelab/theme.json | 14 | ||||
-rw-r--r-- | src/application/themes/yeti/theme.json | 20 |
12 files changed, 196 insertions, 2 deletions
diff --git a/src/application/actions/ctheme/get.php b/src/application/actions/ctheme/get.php index f58b0bf..79f6353 100644 --- a/src/application/actions/ctheme/get.php +++ b/src/application/actions/ctheme/get.php @@ -34,8 +34,8 @@ if (!preg_match('/^[a-z0-9_-]+$/i', $themeName)) { $cssWarning($buffer, "Loading default theme"); $themeName = "default"; } -$themePath = __ROOT__ . '/themes/' . $themeName . '/theme.json'; -$themeDefaultPath = __ROOT__ . '/themes/default/theme.json'; +$themePath = __ROOT__ . '/application/themes/' . $themeName . '/theme.json'; +$themeDefaultPath = __ROOT__ . '/application/themes/default/theme.json'; if (!is_file($themePath) && is_file($themeDefaultPath)) { $cssWarning($buffer, "Invalid theme '" . str_replace('*/', '*\\/', $themeName) . "'"); $cssWarning($buffer, "Loading default theme"); diff --git a/src/application/themes/cyborg/theme.json b/src/application/themes/cyborg/theme.json new file mode 100644 index 0000000..cd05471 --- /dev/null +++ b/src/application/themes/cyborg/theme.json @@ -0,0 +1,28 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "cyborg", + "name": "Cyborg", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/cyborg.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + [ + ".form-control {", + " background: #3c3c3c;", + " color: #fff;", + "}", + ".image-attachment-image {", + " border-color: #888;", + "}", + ".post-container-controls {", + " background: linear-gradient(transparent, #060606 56%);", + "}", + ".post-container-controls::after {", + " background-color: #282828;", + "}" + ] + ] +} diff --git a/src/application/themes/default/theme.json b/src/application/themes/default/theme.json new file mode 100644 index 0000000..d1087ea --- /dev/null +++ b/src/application/themes/default/theme.json @@ -0,0 +1,14 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "default", + "name": "Mystic Default", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/dist/css/bootstrap.min.css", + "../../../ui/dist/css/bootstrap-theme.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css" + ] +} diff --git a/src/application/themes/flat/theme.json b/src/application/themes/flat/theme.json new file mode 100644 index 0000000..b6a0228 --- /dev/null +++ b/src/application/themes/flat/theme.json @@ -0,0 +1,13 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "flat", + "name": "Mystic Flat", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/dist/css/bootstrap.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css" + ] +} diff --git a/src/application/themes/gloss/theme.json b/src/application/themes/gloss/theme.json new file mode 100644 index 0000000..726b872 --- /dev/null +++ b/src/application/themes/gloss/theme.json @@ -0,0 +1,18 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "gloss", + "name": "Mystic Gloss", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/gloss.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + [ + ".post-container-controls {", + " background: linear-gradient(transparent, #f3f3f3 56%);", + "}" + ] + ] +} diff --git a/src/application/themes/house/theme.json b/src/application/themes/house/theme.json new file mode 100644 index 0000000..b260100 --- /dev/null +++ b/src/application/themes/house/theme.json @@ -0,0 +1,22 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "house", + "name": "Mystic House Corner", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/house.min.css", + "../../../ui/house-theme.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + [ + ".post-container-controls {", + " background: linear-gradient(transparent, #362d25 56%);", + "}", + ".post-container-controls::after {", + " background-color: #000;", + "}" + ] + ] +} diff --git a/src/application/themes/maverix/theme.json b/src/application/themes/maverix/theme.json new file mode 100644 index 0000000..0a59c66 --- /dev/null +++ b/src/application/themes/maverix/theme.json @@ -0,0 +1,14 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "maverix", + "name": "Maverix", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/dist/css/bootstrap.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/maverix/maverix.css", + "../../../ui/site.css" + ] +} diff --git a/src/application/themes/paper/theme.json b/src/application/themes/paper/theme.json new file mode 100644 index 0000000..f13d1a6 --- /dev/null +++ b/src/application/themes/paper/theme.json @@ -0,0 +1,15 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "paper", + "name": "Paper", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/paper.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + "../../../ui/fonts/roboto.css" + ] +} + diff --git a/src/application/themes/simplex/theme.json b/src/application/themes/simplex/theme.json new file mode 100644 index 0000000..5157c4d --- /dev/null +++ b/src/application/themes/simplex/theme.json @@ -0,0 +1,14 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "simplex", + "name": "Simplex", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/simplex.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css" + ] +} + diff --git a/src/application/themes/slate/theme.json b/src/application/themes/slate/theme.json new file mode 100644 index 0000000..ec2101f --- /dev/null +++ b/src/application/themes/slate/theme.json @@ -0,0 +1,22 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "slate", + "name": "Slate", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/slate.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + [ + ".post-container-controls {", + " background-image: linear-gradient(transparent, #272b30 56%);", + "}", + ".post-container-controls::after {", + " background: rgba(0,0,0,0.6);", + "}" + ] + ] +} + diff --git a/src/application/themes/spacelab/theme.json b/src/application/themes/spacelab/theme.json new file mode 100644 index 0000000..c4ad476 --- /dev/null +++ b/src/application/themes/spacelab/theme.json @@ -0,0 +1,14 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "spacelab", + "name": "Spacelab", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/spacelab.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css" + ] +} + diff --git a/src/application/themes/yeti/theme.json b/src/application/themes/yeti/theme.json new file mode 100644 index 0000000..a027a30 --- /dev/null +++ b/src/application/themes/yeti/theme.json @@ -0,0 +1,20 @@ +{ + "$format": 1, + "version": "1.0.0", + "id": "yeti", + "name": "Yeti", + "author": "Jonas Kohl", + "files": [ + "../../../ui/icons/css/fork-awesome.min.css", + "../../../ui/yeti.min.css", + "../../../ui/fonts/mybb-icons/style.css", + "../../../ui/site.css", + "../../../ui/fonts/opensans.css", + [ + ".image-attachment-image {", + "box-shadow: 0 0 0 1px #ccc;", + "}" + ] + ] +} + |