Fix sharing sidebar in dark mode

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-08-21 09:42:01 +02:00
parent 897c42609b
commit bf2c3c5574
3 changed files with 116 additions and 59 deletions

171
package-lock.json generated
View File

@@ -4360,6 +4360,22 @@
"resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-1.0.0.tgz", "resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-1.0.0.tgz",
"integrity": "sha512-f+sKpdLZXkODV+OY39K1M+Spmd4RgxmtEXmNn4Bviv4R7uBFHXuw+JX9ZdfDeOryfHjJ/TRQxQEp0GMpBwZFUw==" "integrity": "sha512-f+sKpdLZXkODV+OY39K1M+Spmd4RgxmtEXmNn4Bviv4R7uBFHXuw+JX9ZdfDeOryfHjJ/TRQxQEp0GMpBwZFUw=="
}, },
"@nextcloud/capabilities": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@nextcloud/capabilities/-/capabilities-1.0.2.tgz",
"integrity": "sha512-HR5vnT2GKTvoQla/WdP+V0/MD1eAGUNWCM0QXVGXQ0TCHb0AORYYMdEQafROsjNSH2kriArFnS/l3YZQrUa9yA==",
"requires": {
"@nextcloud/initial-state": "^1.1.2",
"core-js": "^3.6.4"
},
"dependencies": {
"core-js": {
"version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
}
}
},
"@nextcloud/dialogs": { "@nextcloud/dialogs": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-1.4.0.tgz", "resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-1.4.0.tgz",
@@ -4738,16 +4754,6 @@
"@types/istanbul-lib-coverage": "*" "@types/istanbul-lib-coverage": "*"
} }
}, },
"@types/istanbul-reports": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz",
"integrity": "sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA==",
"dev": true,
"requires": {
"@types/istanbul-lib-coverage": "*",
"@types/istanbul-lib-report": "*"
}
},
"@types/jquery": { "@types/jquery": {
"version": "2.0.54", "version": "2.0.54",
"resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.54.tgz", "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-2.0.54.tgz",
@@ -6169,24 +6175,6 @@
"babel-types": "^6.24.1" "babel-types": "^6.24.1"
} }
}, },
"babel-preset-current-node-syntax": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz",
"integrity": "sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw==",
"dev": true,
"requires": {
"@babel/plugin-syntax-async-generators": "^7.8.4",
"@babel/plugin-syntax-bigint": "^7.8.3",
"@babel/plugin-syntax-class-properties": "^7.8.3",
"@babel/plugin-syntax-json-strings": "^7.8.3",
"@babel/plugin-syntax-logical-assignment-operators": "^7.8.3",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-syntax-numeric-separator": "^7.8.3",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3"
}
},
"babel-preset-jest": { "babel-preset-jest": {
"version": "26.3.0", "version": "26.3.0",
"resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.3.0.tgz", "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.3.0.tgz",
@@ -6375,8 +6363,7 @@
}, },
"kind-of": { "kind-of": {
"version": "6.0.2", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", "resolved": ""
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
} }
} }
}, },
@@ -8458,7 +8445,8 @@
"escape-html": { "escape-html": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=",
"dev": true
}, },
"escape-string-regexp": { "escape-string-regexp": {
"version": "1.0.5", "version": "1.0.5",
@@ -14959,6 +14947,11 @@
"uc.micro": "^1.0.1" "uc.micro": "^1.0.1"
} }
}, },
"linkifyjs": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-2.1.9.tgz",
"integrity": "sha512-74ivurkK6WHvHFozVaGtQWV38FzBwSTGNmJolEgFp7QgR2bl6ArUWlvT4GcHKbPe1z3nWYi+VUdDZk16zDOVug=="
},
"load-json-file": { "load-json-file": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
@@ -15751,45 +15744,110 @@
"dev": true "dev": true
}, },
"nextcloud-vue-collections": { "nextcloud-vue-collections": {
"version": "0.7.2", "version": "0.8.1",
"resolved": "https://registry.npmjs.org/nextcloud-vue-collections/-/nextcloud-vue-collections-0.7.2.tgz", "resolved": "https://registry.npmjs.org/nextcloud-vue-collections/-/nextcloud-vue-collections-0.8.1.tgz",
"integrity": "sha512-rPNRrj/H+mIy/ln5l9xZYqLSOorZgqS3LS6EM8+ftPvkht+ZM1c4APP4IPoYWVf46jj/51YtY1HtviF188uWEQ==", "integrity": "sha512-60CYpaqPafxhwg29yREni4SuS5OMYrZ8/X2QU4lSfbTo7XRuYf2aXQrHCCZGMNK0lTlAEHIJMMBnPJBI+keZlw==",
"requires": { "requires": {
"@nextcloud/axios": "^1.3.1", "@nextcloud/axios": "^1.3.3",
"@nextcloud/browserslist-config": "^1.0.0", "@nextcloud/browserslist-config": "^1.0.0",
"@nextcloud/router": "^1.0.0", "@nextcloud/router": "^1.1.0",
"@nextcloud/vue": "^1.3.0", "@nextcloud/vue": "^2.5.0",
"lodash": "^4.17.11", "lodash": "^4.17.20",
"vue": "^2.6.11" "vue": "^2.6.12"
}, },
"dependencies": { "dependencies": {
"@nextcloud/vue": { "@babel/polyfill": {
"version": "1.5.0", "version": "7.2.5",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-1.5.0.tgz", "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.2.5.tgz",
"integrity": "sha512-z0KZP0PcWyHsD5zpzBJRusToGzC/1DTjapuDMrSAOSuA5lThg/Td7brmIQSwWTrw66OrL5MIRK+8HoKMWmQPAA==", "integrity": "sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==",
"requires": { "requires": {
"@nextcloud/axios": "^1.1.0", "core-js": "^2.5.7",
"@nextcloud/l10n": "^1.1.0", "regenerator-runtime": "^0.12.0"
"@nextcloud/router": "^1.0.0", },
"core-js": "^3.4.4", "dependencies": {
"core-js": {
"version": "2.6.11",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
},
"regenerator-runtime": {
"version": "0.12.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
"integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg=="
}
}
},
"@babel/runtime": {
"version": "7.3.4",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz",
"integrity": "sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g==",
"requires": {
"regenerator-runtime": "^0.12.0"
},
"dependencies": {
"regenerator-runtime": {
"version": "0.12.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
"integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg=="
}
}
},
"@nextcloud/vue": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-2.5.0.tgz",
"integrity": "sha512-xWUM9TUW1r9MTeK9utEcEwmXb015zbHHC07UcCZeG8i6jXFkPOPgZKQzXiuEgu3dEjiA1k3jRMZOqebiZ5NQdA==",
"requires": {
"@nextcloud/auth": "^1.2.3",
"@nextcloud/axios": "^1.3.2",
"@nextcloud/capabilities": "^1.0.2",
"@nextcloud/dialogs": "^1.3.0",
"@nextcloud/event-bus": "^1.1.4",
"@nextcloud/l10n": "^1.2.3",
"@nextcloud/router": "^1.0.2",
"core-js": "^3.6.5",
"debounce": "1.2.0", "debounce": "1.2.0",
"escape-html": "^1.0.3", "emoji-mart-vue-fast": "^7.0.4",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"linkifyjs": "~2.1.9",
"md5": "^2.2.1", "md5": "^2.2.1",
"regenerator-runtime": "^0.13.3", "regenerator-runtime": "^0.13.5",
"v-click-outside": "^3.0.0", "v-click-outside": "^3.0.1",
"v-tooltip": "^2.0.0-rc.33", "v-tooltip": "^2.0.3",
"vue": "^2.6.7", "vue": "^2.6.11",
"vue-color": "^2.7.0", "vue-color": "^2.7.1",
"vue-multiselect": "^2.1.3", "vue-multiselect": "^2.1.6",
"vue-visible": "^1.0.2", "vue-visible": "^1.0.2",
"vue2-datepicker": "^3.3.1" "vue2-datepicker": "^3.6.2"
} }
}, },
"core-js": { "core-js": {
"version": "3.6.5", "version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==" "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
},
"emoji-mart-vue-fast": {
"version": "7.0.4",
"resolved": "https://registry.npmjs.org/emoji-mart-vue-fast/-/emoji-mart-vue-fast-7.0.4.tgz",
"integrity": "sha512-VZuyclCe7ZNPhSvt7WT258MscqRBZTB2Is/7vBilCXgpiZqByaA4AhM1xdIIZZik/aA+5BQiZVmbsDK0jk78Eg==",
"requires": {
"@babel/polyfill": "7.2.5",
"@babel/runtime": "7.3.4",
"vue-virtual-scroller": "^1.0.0-rc.2"
}
},
"vue": {
"version": "2.6.12",
"resolved": "https://registry.npmjs.org/vue/-/vue-2.6.12.tgz",
"integrity": "sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg=="
},
"vue2-datepicker": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.6.2.tgz",
"integrity": "sha512-J2fCwUmCxIOPUvwQ12e8evFY9cCv6vJmgxRD9fGeUv6JeMMeLwkdpeQZOcqbMf/4mk1cSrY2/9Fr8DaB30LBpA==",
"requires": {
"date-fns": "^2.0.1",
"date-format-parse": "^0.2.5"
}
} }
} }
}, },
@@ -18922,8 +18980,7 @@
}, },
"kind-of": { "kind-of": {
"version": "6.0.2", "version": "6.0.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", "resolved": ""
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
} }
} }
}, },

View File

@@ -46,7 +46,7 @@
"markdown-it": "^11.0.0", "markdown-it": "^11.0.0",
"markdown-it-task-lists": "^2.1.1", "markdown-it-task-lists": "^2.1.1",
"moment": "^2.27.0", "moment": "^2.27.0",
"nextcloud-vue-collections": "^0.7.2", "nextcloud-vue-collections": "^0.8.1",
"p-queue": "^6.6.0", "p-queue": "^6.6.0",
"url-search-params-polyfill": "^8.1.0", "url-search-params-polyfill": "^8.1.0",
"vue": "^2.6.11", "vue": "^2.6.11",

View File

@@ -198,7 +198,7 @@ export default {
} }
.avatardiv { .avatardiv {
background-color: #f5f5f5; background-color: var(--color-background-dark);
border-radius: 16px; border-radius: 16px;
width: 32px; width: 32px;
height: 32px; height: 32px;