summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-07 11:05:23 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-03-07 11:05:23 +0100
commitd9bd6f325392316f6b2d83d0b712d473d8510fda (patch)
tree28792b01cb82edd8750e207e687f19a39456db17 /core
parentc401a8cf2653512c9babfabca4a5d24293e8e7be (diff)
downloadnextcloud-server-d9bd6f325392316f6b2d83d0b712d473d8510fda.tar.gz
nextcloud-server-d9bd6f325392316f6b2d83d0b712d473d8510fda.zip
Fixed public template
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/header.scss1
-rw-r--r--core/css/public.scss34
-rw-r--r--core/templates/layout.public.php22
3 files changed, 30 insertions, 27 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 35e756cfcd5..86739240aeb 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -84,6 +84,7 @@
max-height: 280px;
right: 0;
top: 44px;
+ margin: 0;
&:not(.popovermenu) {
display: none;
diff --git a/core/css/public.scss b/core/css/public.scss
index 3651e701c34..6a175de6431 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -1,22 +1,22 @@
#body-public {
- .header-right {
+ .header-right {
- span:not(.popovermenu) a {
- color: $color-primary-text;
- }
+ span:not(.popovermenu) a {
+ color: $color-primary-text;
+ }
- .menutoggle,
- #header-primary-action[class^='icon-'] {
- padding: 14px;
- padding-right: 40px;
- background-position: right 15px center;
- color: $color-primary-text;
- cursor: pointer;
- }
+ .menutoggle,
+ #header-primary-action[class^='icon-'] {
+ padding: 14px;
+ padding-right: 40px;
+ background-position: right 15px center;
+ color: $color-primary-text;
+ cursor: pointer;
+ }
- .menutoggle {
- padding-right: 10px;
- }
+ #header-secondary-action {
+ margin-right: 13px;
+ }
- }
-} \ No newline at end of file
+ }
+}
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index b9451fe05a2..d3c12f8fd96 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -54,16 +54,18 @@
</a>
</span>
<?php if($template->getActionCount()>1) { ?>
- <span id="header-actions-toggle" class="menutoggle icon-more-white"></span>
- <div id="share-menu" class="popovermenu menu">
- <ul>
- <?php
- /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
- foreach($template->getOtherActions() as $action) {
- print_unescaped($action->render());
- }
- ?>
- </ul>
+ <div id="header-secondary-action">
+ <span id="header-actions-toggle" class="menutoggle icon-more-white"></span>
+ <div id="share-menu" class="popovermenu menu">
+ <ul>
+ <?php
+ /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */
+ foreach($template->getOtherActions() as $action) {
+ print_unescaped($action->render());
+ }
+ ?>
+ </ul>
+ </div>
</div>
<?php } ?>
</div>