diff options
Diffstat (limited to 'apps/dashboard/css')
-rw-r--r-- | apps/dashboard/css/dashboard.css | 4 | ||||
-rw-r--r-- | apps/dashboard/css/dashboard.css.map | 1 | ||||
-rw-r--r-- | apps/dashboard/css/dashboard.css.map.license | 3 | ||||
-rw-r--r-- | apps/dashboard/css/dashboard.scss | 65 |
4 files changed, 12 insertions, 61 deletions
diff --git a/apps/dashboard/css/dashboard.css b/apps/dashboard/css/dashboard.css new file mode 100644 index 00000000000..555d524f5e8 --- /dev/null +++ b/apps/dashboard/css/dashboard.css @@ -0,0 +1,4 @@ +/*! + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */#header{background:rgba(0,0,0,0) !important;--color-header: rgba(24, 24, 24, 1)}#body-user.dashboard--dark #header{--color-header: rgba(255, 255, 255, 1)}#header:before{content:" ";display:block;position:absolute;background-image:linear-gradient(180deg, var(--color-header) 0%, transparent 100%);width:100%;height:70px;top:0;margin-top:-70px;transition:margin-top var(--animation-slow)}#body-user.dashboard--scrolled #header:before{margin-top:0}#body-user.theme--highcontrast #header{background-color:var(--color-header) !important}#body-user.theme--highcontrast #header:before{display:none}#content{padding-top:0 !important}#appmenu li a.active::before,#appmenu li:hover a::before,#appmenu li:hover a.active::before,#appmenu li a:focus::before{display:none !important}/*# sourceMappingURL=dashboard.css.map */ diff --git a/apps/dashboard/css/dashboard.css.map b/apps/dashboard/css/dashboard.css.map new file mode 100644 index 00000000000..c0b088c930f --- /dev/null +++ b/apps/dashboard/css/dashboard.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["dashboard.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA,GAIA,QACC,oCACA,oCAEA,mCACC,uCAID,eACC,YACA,cACA,kBACA,mFACA,WACA,YACA,MACA,iBACA,4CAEA,8CACC,aAKF,uCACC,gDAEA,8CACC,aAMH,SACC,yBAID,wHAIC","file":"dashboard.css"}
\ No newline at end of file diff --git a/apps/dashboard/css/dashboard.css.map.license b/apps/dashboard/css/dashboard.css.map.license new file mode 100644 index 00000000000..d40c4ebf2cd --- /dev/null +++ b/apps/dashboard/css/dashboard.css.map.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors +SPDX-License-Identifier: AGPL-3.0-or-later +
\ No newline at end of file diff --git a/apps/dashboard/css/dashboard.scss b/apps/dashboard/css/dashboard.scss index aade857464b..1ae2633d05a 100644 --- a/apps/dashboard/css/dashboard.scss +++ b/apps/dashboard/css/dashboard.scss @@ -1,12 +1,7 @@ -// Suppress "Skip to navigation of app" link since the app does not have a navigation -.skip-navigation:not(.skip-content) { - display: none; -} -// Fix position of "Skip to main content" link since the other link is gone -.skip-navigation.skip-content { - left: 3px; -} - +/*! + * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ #header { background: transparent !important; --color-header: rgba(24, 24, 24, 1); @@ -54,55 +49,3 @@ #appmenu li a:focus::before { display: none !important; } - -$has-custom-logo: variable_exists('theming-logo-mime') and $theming-logo-mime != ''; - -body.dashboard--inverted:not(.dashboard--dark) { - // Do not invert the default logo - @if ($has-custom-logo == false) { - $image-logo: url(icon-color-path('logo', 'logo', #ffffff, 1, true)); - #header .logo { - background-image: $image-logo !important; - opacity: 1; - } - } - - #app-dashboard > h2 { - color: #fff; - } - #appmenu li span { - color: #fff; - } - #appmenu svg image { - filter: invert(0); - } - #appmenu .icon-more-white, - .header-right > div:not(#settings) > *:first-child { - filter: invert(1) hue-rotate(180deg); - } -} - -body.dashboard--dark:not(.dashboard--inverted) { - // invert the default logo - @if ($has-custom-logo == false) { - $image-logo: url(icon-color-path('logo', 'logo', #000000, 1, true)); - #header .logo { - background-image: $image-logo !important; - opacity: 1; - } - } - - #app-dashboard > h2 { - color: #000; - } - #appmenu li span { - color: #000; - } - #appmenu svg { - filter: invert(1) hue-rotate(180deg) !important; - } - #appmenu .icon-more-white, - .header-right > div:not(#settings) > *:first-child { - filter: invert(1) hue-rotate(180deg) !important; - } -} |