mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
b8a7ab9941
commit
264adf0c3b
16 changed files with 26 additions and 19 deletions
|
|
@ -162,7 +162,7 @@ export default {
|
|||
height: 70px;
|
||||
border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
|
||||
background-color: var(--color-primary);
|
||||
background-image: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%);
|
||||
background-image: var(--gradient-primary-background);
|
||||
|
||||
span {
|
||||
bottom: 0;
|
||||
|
|
|
|||
|
|
@ -121,6 +121,8 @@ class DefaultTheme implements ITheme {
|
|||
'--color-primary-element-hover' => $this->util->mix($this->util->elementColor($this->primaryColor), $colorMainBackground, 80),
|
||||
'--color-primary-element-light' => $this->util->lighten($this->util->elementColor($this->primaryColor), 15),
|
||||
'--color-primary-element-lighter' => $this->util->mix($this->util->elementColor($this->primaryColor), $colorMainBackground, -70),
|
||||
// to use like this: background-image: var(--gradient-primary-background);
|
||||
'--gradient-primary-background' => 'linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%)',
|
||||
|
||||
// max contrast for WCAG compliance
|
||||
'--color-main-text' => $colorMainText,
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
z-index: 2000;
|
||||
height: 50px;
|
||||
background-color: var(--color-primary);
|
||||
background-image: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%);
|
||||
background-image: var(--gradient-primary-background);
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
z-index: 2000;
|
||||
height: variables.$header-height;
|
||||
background-color: var(--color-primary);
|
||||
background-image: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%);
|
||||
background-image: var(--gradient-primary-background);
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2288,7 +2288,7 @@ label.infield {
|
|||
z-index: 2000;
|
||||
height: 50px;
|
||||
background-color: var(--color-primary);
|
||||
background-image: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-element-light) 100%);
|
||||
background-image: var(--gradient-primary-background);
|
||||
box-sizing: border-box;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -312,6 +312,8 @@ $content-max-width: 640px;
|
|||
position: sticky;
|
||||
height: 190px;
|
||||
top: -40px;
|
||||
background-color: var(--color-primary);
|
||||
background-image: var(--gradient-primary-background);
|
||||
|
||||
&__container {
|
||||
align-self: flex-end;
|
||||
|
|
@ -576,6 +578,9 @@ $content-max-width: 640px;
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 0 4px;
|
||||
a {
|
||||
filter: var(--background-invert-if-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
4
dist/core-profile.js
vendored
4
dist/core-profile.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-profile.js.map
vendored
2
dist/core-profile.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/dashboard-main.js
vendored
4
dist/dashboard-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/dashboard-main.js.map
vendored
2
dist/dashboard-main.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/settings-vue-settings-personal-info.js
vendored
4
dist/settings-vue-settings-personal-info.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue