Skip to content

Commit 4cb9f25

Browse files
committed
Add 'Reasons to use Nextcloud in your organization' call to action in settings
Signed-off-by: Jan C. Borchardt <[email protected]>
1 parent c24f3d1 commit 4cb9f25

3 files changed

Lines changed: 35 additions & 1 deletion

File tree

apps/settings/css/settings.scss

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,37 @@ select {
161161
}
162162

163163

164+
// Button for 'Reasons to use Nextcloud in your organization'
165+
.development-notice {
166+
text-align: center;
167+
}
168+
169+
.link-button {
170+
display: inline-block;
171+
margin: 16px;
172+
padding: 14px 20px;
173+
background-color: var(--color-primary);
174+
color: #fff;
175+
border-radius: var(--border-radius-pill);
176+
border: 1px solid var(--color-primary);
177+
box-shadow: 0 2px 9px var(--color-box-shadow);
178+
179+
&:active,
180+
&:hover,
181+
&:focus {
182+
color: var(--color-primary);
183+
background-color: var(--color-primary-text);
184+
border-color: var(--color-primary) !important;
185+
}
186+
187+
&.icon-file {
188+
padding-left: 48px;
189+
background-position: 24px;
190+
}
191+
}
192+
193+
194+
164195
@media (min-width: 1200px) and (max-width: 1400px) {
165196
#personal-settings {
166197
display: grid;

apps/settings/templates/settings/personal/development.notice.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
<div class="section">
1+
<div class="section development-notice">
2+
<p>
3+
<button class="link-button icon-file">Reasons to use Nextcloud in your organization</button>
4+
</p>
25
<p>
36
<?php print_unescaped(str_replace(
47
[
783 KB
Binary file not shown.

0 commit comments

Comments
 (0)