Fix profile and add gradient-primary-background

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
pull/32261/head
John Molakvoæ 4 years ago
parent b8a7ab9941
commit 264adf0c3b
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
  1. 2
      apps/settings/src/components/PersonalInfo/ProfileSection/ProfilePreviewCard.vue
  2. 2
      apps/theming/lib/Themes/DefaultTheme.php
  3. 2
      core/css/header.css
  4. 2
      core/css/header.scss
  5. 2
      core/css/server.css
  6. 5
      core/src/views/Profile.vue
  7. 4
      dist/core-profile.js
  8. 2
      dist/core-profile.js.map
  9. 4
      dist/dashboard-main.js
  10. 2
      dist/dashboard-main.js.map
  11. 4
      dist/files_sharing-files_sharing_tab.js
  12. 2
      dist/files_sharing-files_sharing_tab.js.map
  13. 4
      dist/settings-vue-settings-personal-info.js
  14. 2
      dist/settings-vue-settings-personal-info.js.map
  15. 4
      dist/updatenotification-updatenotification.js
  16. 2
      dist/updatenotification-updatenotification.js.map

@ -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);
}
}
}

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

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save