dark mode for teams

This commit is contained in:
Čarodej
2021-10-26 06:57:40 +02:00
parent d4990d8d5f
commit fda82d6dbf
117 changed files with 371 additions and 240 deletions

View File

@@ -113,7 +113,7 @@
@import '/resources/sass/vuefilemanager/_variables';
@import '/resources/sass/vuefilemanager/_mixins';
.dark-mode {
.dark {
}
</style>

View File

@@ -65,7 +65,7 @@
}
}
.dark-mode {
.dark {
.widget-value {
span {

View File

@@ -58,7 +58,7 @@
}
}
.dark-mode {
.dark {
.widget-content {
background: $dark_mode_foreground;
}

View File

@@ -88,7 +88,7 @@
}
}
.dark-mode {
.dark {
.button {
&.outline {

View File

@@ -55,7 +55,7 @@
}
}
.dark-mode {
.dark {
.popover-item {
background: $dark_mode_foreground;
}

View File

@@ -64,7 +64,7 @@
background-color: white;
}
.dark-mode {
.dark {
.file-preview {
background-color: $dark_mode_background;
}

View File

@@ -241,7 +241,7 @@ export default {
}
.dark-mode {
.dark {
.navigation-arrows {
.prev, .next {

View File

@@ -341,7 +341,7 @@
}
}
.dark-mode {
.dark {
.navigation-panel {
background-color: $dark_mode_background;
color: $dark_mode_text_primary;

View File

@@ -167,7 +167,7 @@
}
}
.dark-mode {
.dark {
.popup-wrapper {
background: $dark_mode_foreground;
}

View File

@@ -104,7 +104,7 @@
}
}
.dark-mode {
.dark {
.button-base {

View File

@@ -34,7 +34,7 @@ export default {
background-color: darken($light_background, 5%);
}
.dark-mode {
.dark {
.is-deactive {
background-color: lighten($dark_mode_foreground, 10%);

View File

@@ -157,7 +157,7 @@ export default {
padding: 0;
}
.dark-mode {
.dark {
.contextmenu {
background: $dark_mode_foreground;
}

View File

@@ -361,7 +361,7 @@
}
}
.dark-mode {
.dark {
.team-preview:hover {
background: $dark_mode_foreground;

View File

@@ -95,7 +95,7 @@ export default {
background: white;
}
.dark-mode {
.dark {
#drag-ui {
background: $dark_mode_foreground;
}

View File

@@ -72,7 +72,7 @@
}
}
.dark-mode {
.dark {
.text-content {
.title {

View File

@@ -50,7 +50,7 @@
}
}
.dark-mode {
.dark {
.empty-message {
.message {

View File

@@ -105,7 +105,7 @@
}
}
.dark-mode {
.dark {
#mobile-actions-wrapper {
background: $dark_mode_background;
}

View File

@@ -554,7 +554,7 @@ export default {
}
}
.dark-mode {
.dark {
.file-wrapper {

View File

@@ -21,7 +21,7 @@
:size="28"
:is-border="true"
:member="item.data.relationships.user"
class="absolute -right-2 -bottom-2"
class="absolute -right-2 -bottom-2 z-10"
/>
<!--If is file or image, then link item-->
@@ -524,7 +524,7 @@ export default {
}
}
.dark-mode {
.dark {
.file-wrapper {
.icon-item {

View File

@@ -120,7 +120,7 @@
}
}
.dark-mode {
.dark {
.folder-icon {
&.is-deleted {

View File

@@ -129,7 +129,7 @@ export default {
}
}
.dark-mode {
.dark {
.meta-data-list {
li {

View File

@@ -5,7 +5,7 @@
v-if="member.data.attributes.avatar"
:src="member.data.attributes.avatar"
:alt="member.data.attributes.name"
:class="[borderRadius, {'border-3 border-white': isBorder}]"
:class="[borderRadius, {'border-3 border-white dark:border-dark-background': isBorder}]"
class=""
>
<div

View File

@@ -98,7 +98,7 @@
}
}
.dark-mode {
.dark {
.mobile-action-button {
background: $dark_mode_foreground;

View File

@@ -64,7 +64,7 @@
}
}
.dark-mode {
.dark {
.mobile-action-button {
background: $dark_mode_foreground;

View File

@@ -88,7 +88,7 @@ export default {
}
}
.dark-mode {
.dark {
.multiselect-actions {
background: $dark_mode_foreground;

View File

@@ -141,7 +141,7 @@
}
}
.dark-mode {
.dark {
.mobile-toolbar {
background: $dark_mode_background;

View File

@@ -187,7 +187,7 @@ import {
}
}
.dark-mode {
.dark {
.menu-option {
color: $dark_mode_text_primary;

View File

@@ -28,7 +28,7 @@
}
}
.dark-mode {
.dark {
.menu-option-group {
border-color: $dark_mode_border_color;
}

View File

@@ -74,7 +74,7 @@ import {
}
}
.dark-mode {
.dark {
.menu-option {
color: $dark_mode_text_primary;

View File

@@ -101,7 +101,7 @@ export default {
}
}
.dark-mode {
.dark {
.popup-wrapper {
background: $dark_mode_foreground;
}

View File

@@ -30,7 +30,7 @@ export default {
}
}
.dark-mode {
.dark {
.progress-bar {
background: $dark_mode_foreground;
@@ -39,7 +39,7 @@ export default {
@media only screen and (min-width: 680px) {
.dark-mode .progress-bar {
.dark .progress-bar {
background: $dark_mode_foreground;
}
}

View File

@@ -82,7 +82,7 @@
}
}
.dark-mode {
.dark {
.search-bar {
background: $dark_mode_foreground;

View File

@@ -77,7 +77,7 @@ export default {
}
}
.dark-mode {
.dark {
.wrapper {
.text {
.title {

View File

@@ -115,7 +115,7 @@
}
}
.dark-mode {
.dark {
.button {
background: transparent;

View File

@@ -129,7 +129,7 @@
}
}
.dark-mode {
.dark {
.progress-bar {
background: $dark_mode_foreground;
}

View File

@@ -149,7 +149,7 @@
}
}
.dark-mode {
.dark {
.plans-wrapper {
background: $dark_mode_foreground;

View File

@@ -206,7 +206,7 @@
}
}
.dark-mode {
.dark {
.hero-screenshot {

View File

@@ -176,7 +176,7 @@
}
}
.dark-mode {
.dark {
.features {

View File

@@ -104,7 +104,7 @@
}
}
.dark-mode {
.dark {
.copyright {
color: $dark_mode_text_secondary;

View File

@@ -84,7 +84,7 @@
position: absolute;
}
.dark-mode {
.dark {
.options {
background: $dark_mode_foreground;

View File

@@ -98,7 +98,7 @@
}
}
.dark-mode {
.dark {
.mobile-header {
background: $dark_mode_background;

View File

@@ -45,7 +45,7 @@
}
}
.dark-mode {
.dark {
}
</style>

View File

@@ -48,7 +48,7 @@
}
.dark-mode {
.dark {
}
</style>

View File

@@ -117,7 +117,7 @@ export default {
position: relative;
}
.dark-mode {
.dark {
.color-pick-wrapper {
.color-wrapper {
.single-color {

View File

@@ -90,7 +90,7 @@
}
}
.dark-mode {
.dark {
.cookie-wrapper {
background: $dark_mode_foreground;

View File

@@ -126,7 +126,7 @@ export default {
@import "resources/sass/vuefilemanager/_inapp-forms.scss";
@import '/resources/sass/vuefilemanager/_forms';
.dark-mode {
.dark {
.info-box {
background: lighten($dark_mode_foreground, 3%);

View File

@@ -434,7 +434,7 @@ export default {
}
}
.dark-mode {
.dark {
.emoji-wrapper {
background: lighten($dark_mode_foreground, 2%);

View File

@@ -140,7 +140,7 @@ export default {
}
}
.dark-mode {
.dark {
.copy-input {
border-color: #333333;

View File

@@ -249,7 +249,7 @@ export default {
right: -9999px;
}
.dark-mode {
.dark {
.copy-input {
border-color: #333333;

View File

@@ -53,7 +53,7 @@
}
}
.dark-mode {
.dark {
.form-label {
.label {

View File

@@ -187,7 +187,7 @@
}
}
.dark-mode {
.dark {
.dropzone {
border-color: rgba(white, 0.2);

View File

@@ -82,7 +82,7 @@
}
.dark-mode {
.dark {
.info-box {
background: $dark_mode_foreground;

View File

@@ -173,7 +173,7 @@ export default {
}
}
.dark-mode {
.dark {
.input-wrapper {
background: lighten($dark_mode_foreground, 3%);

View File

@@ -104,7 +104,7 @@ export default {
}
}
.dark-mode {
.dark {
.search-bar {
input {
background: $dark_mode_foreground;

View File

@@ -80,7 +80,7 @@
}
.dark-mode {
.dark {
.select-box {
.box-item {

View File

@@ -239,7 +239,7 @@
transform: translateY(-50px);
}
.dark-mode {
.dark {
.select-search {
background: $dark_mode_foreground;

View File

@@ -124,7 +124,7 @@
}
.dark-mode {
.dark {
.setup-box {

View File

@@ -90,7 +90,7 @@
}
}
.dark-mode {
.dark {
.switch {
background: $dark_mode_foreground;
}

View File

@@ -46,7 +46,7 @@
}
}
.dark-mode {
.dark {
.list-info-item {
span {

View File

@@ -159,7 +159,7 @@
}
}
.dark-mode {
.dark {
.toaster-item {
&.success, &.danger {

View File

@@ -71,7 +71,7 @@
}
}
.dark-mode {
.dark {
.page-header {
background: $dark_mode_background;

View File

@@ -167,7 +167,7 @@
}
}
.dark-mode {
.dark {
.plan {
.plan-wrapper {

View File

@@ -123,7 +123,7 @@
}
}
.dark-mode {
.dark {
.content {
.title {

View File

@@ -101,7 +101,7 @@
}
}
.dark-mode {
.dark {
.popup-header {
.label {
.close-icon {

View File

@@ -141,7 +141,7 @@
}
}
.dark-mode {
.dark {
.popup-wrapper {
background: $dark_mode_foreground;
box-shadow: $dark_mode_popup_shadow;
@@ -150,7 +150,7 @@
@media only screen and (max-width: 690px) {
.dark-mode {
.dark {
.popup-wrapper {
background: $dark_mode_background;
}

View File

@@ -185,7 +185,7 @@ export default {
margin-bottom: 20px;
}
.dark-mode {
.dark {
.close-icon-wrapper {
&:hover {

View File

@@ -26,7 +26,7 @@
}
.dark-mode {
.dark {
.text-label {
color: $theme;
}

View File

@@ -168,7 +168,7 @@
}
}
.dark-mode {
.dark {
.header-storage-item {
.type {

View File

@@ -102,7 +102,7 @@
}
.dark-mode {
.dark {
.tab-wrapper {
background: $dark_mode_foreground;
border-color: transparent;

View File

@@ -76,7 +76,7 @@
}
}
.dark-mode {
.dark {
.cell-image-thumbnail {

View File

@@ -424,7 +424,7 @@ export default {
}
}
.dark-mode {
.dark {
.table {

View File

@@ -29,7 +29,7 @@
}
}
.dark-mode {
.dark {
.text-label {
opacity: 0.35;
}

View File

@@ -165,7 +165,7 @@
}
}
.dark-mode {
.dark {
.file-item {
.icon-item .file-icon {
path {
@@ -206,7 +206,7 @@
}
@media (max-width: 690px) {
.dark-mode .file-item {
.dark .file-item {
.icon-item .file-icon {
path {
fill: $dark_mode_foreground;

View File

@@ -171,7 +171,7 @@
}
// Dark mode
.dark-mode {
.dark {
.folder-item {

View File

@@ -230,7 +230,7 @@
}
// Dark mode
.dark-mode {
.dark {
.folder-item {

View File

@@ -192,7 +192,7 @@ export default {
}
}
.dark-mode {
.dark {
.codes-list {
li {

View File

@@ -94,7 +94,7 @@
}
.dark-mode {
.dark {
}
</style>

View File

@@ -67,7 +67,7 @@
}
}
.dark-mode {
.dark {
.user-avatar {
.notification {

View File

@@ -61,7 +61,7 @@
}
// Dark mode
.dark-mode {
.dark {
.vignette {
background: $dark_mode_vignette;

View File

@@ -35,7 +35,7 @@
}
}
.dark-mode {
.dark {
.content-sidebar {
background: rgba($dark_mode_foreground, 0.2);

View File

@@ -94,7 +94,7 @@
@import '/resources/sass/vuefilemanager/_variables';
@import '/resources/sass/vuefilemanager/_mixins';
.dark-mode-switcher {
.dark-switcher {
padding-top: 20px;
border-top: 1px solid darken($light_mode_border, 7%);
margin: 20px 15px 0;
@@ -212,9 +212,9 @@
}
}
.dark-mode {
.dark {
.dark-mode-switcher {
.dark-switcher {
border-color:lighten($dark_mode_foreground, 2%);
}

View File

@@ -293,7 +293,7 @@ export default {
@include font-size(13);
}
.dark-mode {
.dark {
#spotlight .spotlight-wrapper {
background: $dark_mode_foreground;

View File

@@ -71,7 +71,7 @@
}
}
.dark-mode {
.dark {
.permission-toggle .privilege {
color: $dark_mode_text_secondary;

View File

@@ -1,8 +1,12 @@
<template>
<div class="team-folder-preview">
<div class="team-folder-preview text-left py-3 px-5">
<div class="info">
<b class="title">{{ teamFolder.data.attributes.name }}</b>
<span class="subtitle">Created at {{ teamFolder.data.attributes.created_at }}</span>
<b class="title text-sm">
{{ teamFolder.data.attributes.name }}
</b>
<span class="subtitle text-tiny block mb-2 dark:text-gray-500 text-gray-600">
Created at {{ teamFolder.data.attributes.created_at }}
</span>
<TeamMembersPreview :folder="teamFolder" :avatar-size="32" class="members" />
</div>
</div>
@@ -34,27 +38,10 @@
@import "resources/sass/vuefilemanager/_mixins";
.team-folder-preview {
text-align: left;
padding: 15px 20px;
border-bottom: 1px solid $light_mode_border;
.info {
.title {
@include font-size(14);
}
.subtitle {
@include font-size(11);
color: $text-muted;
display: block;
margin-bottom: 10px;
line-height: 1;
}
}
}
.dark-mode {
.dark {
.team-folder-preview {
border-color: $dark_mode_border_color;
}

View File

@@ -17,7 +17,7 @@
<b class="title">
{{ entry.name }}
</b>
<span class="subtitle">
<span class="subtitle dark:text-gray-500 text-gray-600">
{{ entry.email }}
</span>
</div>
@@ -124,7 +124,6 @@
.subtitle {
@include font-size(12);
color: $text-muted;
display: block;
}
}
@@ -135,7 +134,7 @@
}
}
.dark-mode {
.dark {
.member-item .info .email {
color: $dark_mode_text_secondary;

View File

@@ -80,7 +80,7 @@
}
}
.dark-mode {
.dark {
.team-folder {