Ferdinand Thiessen
32ac5e7af8
fix(theming): Make sure the footer is hidden if not content is rendered
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
vor 8 Monaten
Hamid Dehnavi
1196b5c4c5
Add return types
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
vor 11 Monaten
Joas Schilling
db55d5ba58
fix(assets): Optimize PNGs with optipng 0.7.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
vor 1 Jahr
Joas Schilling
f2afccfd56
fix(assets): Optimize SVGs with scour 0.38.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
vor 1 Jahr
Christoph Wurst
0f9aa499e4
Drop \OC_Theme::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 3 Jahren
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 4 Jahren
Julius Härtl
bb8c481dcc
Properly theme firstrunwizard logo in example theme
Signed-off-by: Julius Härtl <jus@bitgrid.net>
vor 5 Jahren
splitt3r
42eb1538ef
Update dynamic year in example theme
vor 5 Jahren
andyg5000
c55643d8d7
Make the data year in the template dynamic by using date().
vor 5 Jahren
chiyi4488
e4c583c186
Small text error
Small text error
vor 5 Jahren
Julius Härtl
cf4d27b115
Use customclient_* values by default and do not use them in custom themes anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
vor 6 Jahren
Christian Oliff
4257d0a566
Update iOS link to geo-detect show correct store listing
Adding 'geo.' at beginning of the URL will automatically show users the store listing for their region so it's a better experience.
For example users in Japan will see: https://itunes.apple.com/jp/app/nextcloud/id1125420102?mt=8 which has local customer reviews and certain other information in Japanese.
vor 6 Jahren
Morris Jobke
585e5c6ea5
Logo claim is not used anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
vor 6 Jahren
Marin Treselj
3470d0a44e
Simplified Nextcloud logo icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
vor 7 Jahren
Julius Härtl
22607b54e5
Move styles.css to server.css
Signed-off-by: Julius Härtl <jus@bitgrid.net>
vor 7 Jahren
Lukas Reschke
6458875dc1
Update documentation go.php URL to 12
Fixes https://github.com/nextcloud/server/issues/4646
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
vor 7 Jahren
Julius Haertl
68a63ad3f3
Implement scss variable injection by OC_Defaults
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Add Scss variables to example theme and theming app
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Use SCSSCacher to build theming css
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Update theming.scss
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Code cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Inject SCSSCacher for easier testing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Fix typehint
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Generate absolute URLs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Fix tests to always use absolute urls for theming images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
MailheaderColor -> ColorPrimary
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
vor 7 Jahren
Jan-Christoph Borchardt
9a75714c22
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
vor 7 Jahren
Marius Blüm
5e2995923d
Prevent Example-Theme from using invalid URLs
Signed-off-by: Marius Blüm <marius@lineone.io>
vor 7 Jahren
Felix A. Epp
98bdef8d83
Cahnge URL for desktop clients directly to pop-up
by adding `/#install-clients` to the URL
Signed-off-by: Felix A. Epp <work@felixepp.de>
vor 7 Jahren
Jan-Christoph Borchardt
3069ee912b
fix favicon viewbox, remove decimals
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
vor 7 Jahren
Philip Allgaier
9ad735417f
Updated doc link version in default theme from 9 to 11
vor 7 Jahren
skjnldsv
71830b285c
Svgo optimization
Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
vor 7 Jahren
Joachim Sokolowski
235e2fc68e
default.php for nextcloud
changing it to nextcloud
vor 8 Jahren
Daniel Hansson
e4c21eef7b
2015 --> 2016
vor 8 Jahren
Morris Jobke
8b2b7f7e8c
update example theme favicon
vor 8 Jahren
Morris Jobke
ed2ed4be8d
Update example theme with App URLs and PHPDoc
vor 8 Jahren
Morris Jobke
64203331bc
[example theme] make it easier for non PHP people to understand what to change
vor 8 Jahren
Joas Schilling
32ccd66214
Revert "make knowledge base url configurable"
This reverts commit 8fb89056bd
.
vor 8 Jahren
Bjoern Schiessle
8fb89056bd
make knowledge base url configurable
vor 8 Jahren
Jan-Christoph Borchardt
cd0fa062eb
add example theme
vor 9 Jahren