Skip to content

Commit

Permalink
Add 'Reasons to use Nextcloud in your organization' call to action in…
Browse files Browse the repository at this point in the history
… settings

Signed-off-by: Jan C. Borchardt <[email protected]>
  • Loading branch information
jancborchardt committed Aug 6, 2020
1 parent c24f3d1 commit e684e29
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
31 changes: 31 additions & 0 deletions apps/settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,37 @@ select {
}


// Button for 'Reasons to use Nextcloud in your organization'
.development-notice {
text-align: center;
}

.link-button {
display: inline-block;
margin: 16px;
padding: 14px 20px;
background-color: var(--color-primary);
color: #fff;
border-radius: var(--border-radius-pill);
border: 1px solid var(--color-primary);
box-shadow: 0 2px 9px var(--color-box-shadow);

&:active,
&:hover,
&:focus {
color: var(--color-primary);
background-color: var(--color-primary-text);
border-color: var(--color-primary) !important;
}

&.icon-file {
padding-left: 48px;
background-position: 24px;
}
}



@media (min-width: 1200px) and (max-width: 1400px) {
#personal-settings {
display: grid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<div class="section">
<div class="section development-notice">
<p>
<button class="link-button icon-file">Reasons to use Nextcloud in your organization</button>
</p>
<p>
<?php print_unescaped(str_replace(
[
Expand Down
Binary file not shown.

0 comments on commit e684e29

Please sign in to comment.