Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1580/head
Louis Chemineau 2023-01-16 11:02:05 +01:00
rodzic 5980519712
commit bb9ab48fae
11 zmienionych plików z 506 dodań i 152 usunięć

462
package-lock.json wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -23,6 +23,8 @@
"serve": "NODE_ENV=development webpack serve --progress --config webpack.common.js",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"stylelint": "stylelint src",
"stylelint:fix": "stylelint src --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"cypress": "./cypress/start.sh; cypress run; ./cypress/stop.sh",
@ -38,7 +40,6 @@
"@nextcloud/logger": "^2.5.0",
"@nextcloud/moment": "^1.2.1",
"@nextcloud/router": "^2.0.1",
"@nextcloud/stylelint-config": "^2.3.0",
"@nextcloud/vue": "^7.4.0",
"@nextcloud/vue-richtext": "^2.0.4",
"he": "^1.2.0",
@ -77,6 +78,7 @@
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.3.0",
"@nextcloud/eslint-config": "^8.2.0",
"@nextcloud/stylelint-config": "^2.3.0",
"@nextcloud/webpack-vue-config": "^5.4.0",
"cypress": "^11.2.0",
"jest": "^29.3.1",
@ -100,4 +102,4 @@
"<rootDir>/node_modules/jest-serializer-vue"
]
}
}
}

Wyświetl plik

@ -669,8 +669,7 @@ export default {
right: 0;
top: 2;
}
</style>
<style>
/* Tribute-specific styles TODO: properly scope component css */
.tribute-container {
position: absolute;
@ -685,71 +684,72 @@ export default {
z-index: 999999;
border-radius: 4px;
box-shadow: 0 1px 3px var(--color-box-shadow);
}
.tribute-container ul {
margin: 0;
margin-top: 2px;
padding: 0;
list-style: none;
background: var(--color-main-background);
border-radius: 4px;
background-clip: padding-box;
overflow: hidden;
}
ul {
margin: 0;
margin-top: 2px;
padding: 0;
list-style: none;
background: var(--color-main-background);
border-radius: 4px;
background-clip: padding-box;
overflow: hidden;
}
.tribute-container li {
color: var(--color-text);
padding: 5px 10px;
cursor: pointer;
font-size: 14px;
display: flex;
}
li {
color: var(--color-text);
padding: 5px 10px;
cursor: pointer;
font-size: 14px;
display: flex;
.tribute-container li span {
display: block;
}
span {
display: block;
}
.tribute-container li.highlight,
.tribute-container li:hover {
background: var(--color-primary);
color: var(--color-primary-text);
}
&.highlight,
&:hover {
background: var(--color-primary);
color: var(--color-primary-text);
}
.tribute-container li img {
width: 32px;
height: 32px;
border-radius: 50%;
overflow: hidden;
margin-right: 10px;
margin-left: -3px;
margin-top: 3px;
}
img {
width: 32px;
height: 32px;
border-radius: 50%;
overflow: hidden;
margin-right: 10px;
margin-left: -3px;
margin-top: 3px;
}
.tribute-container li span {
font-weight: bold;
}
span {
font-weight: bold;
}
.tribute-container li.no-match {
cursor: default;
}
&.no-match {
cursor: default;
}
.tribute-container .menu-highlighted {
font-weight: bold;
}
}
.tribute-container .account,
.tribute-container li.highlight .account,
.tribute-container li:hover .account {
font-weight: normal;
color: var(--color-text-light);
opacity: 0.5;
}
.menu-highlighted {
font-weight: bold;
}
.tribute-container li.highlight .account,
.tribute-container li:hover .account {
color: var(--color-primary-text) !important;
opacity: .6;
.account,
li.highlight .account,
li:hover .account {
font-weight: normal;
color: var(--color-text-light);
opacity: 0.5;
}
li.highlight .account,
li:hover .account {
color: var(--color-primary-text) !important;
opacity: .6;
}
}
.message .mention {
@ -760,15 +760,15 @@ export default {
padding-left: 2px;
padding-bottom: 1px;
padding-right: 5px;
}
.mention img {
width: 16px;
border-radius: 50%;
overflow: hidden;
margin-right: 3px;
vertical-align: middle;
margin-top: -1px;
img {
width: 16px;
border-radius: 50%;
overflow: hidden;
margin-right: 3px;
vertical-align: middle;
margin-top: -1px;
}
}
.hashtag {

Wyświetl plik

@ -41,6 +41,3 @@ export default {
},
}
</script>
<style scoped>
</style>

Wyświetl plik

@ -154,17 +154,17 @@ export default {
</script>
<style scoped>
.list-item {
}
.list-enter-active, .list-leave-active {
transition: all .5s;
}
.list-enter {
opacity: 0;
transform: translateY(-30px);
}
.list-leave-to {
opacity: 0;
transform: translateX(-100px);
}
.list-enter-active, .list-leave-active {
transition: all .5s;
}
.list-enter {
opacity: 0;
transform: translateY(-30px);
}
.list-leave-to {
opacity: 0;
transform: translateX(-100px);
}
</style>

Wyświetl plik

@ -123,9 +123,11 @@ export default {
h2, p {
color: var(--color-primary-text);
}
p .icon {
display: inline-block;
}
.avatardiv {
vertical-align: -4px;
margin-right: 3px;

Wyświetl plik

@ -68,6 +68,7 @@ export default {
display: flex;
flex-wrap: wrap;
}
.user-entry {
width: 100%;
padding: 20px;

Wyświetl plik

@ -40,7 +40,3 @@ export default {
},
}
</script>
<style scoped>
</style>

Wyświetl plik

@ -149,6 +149,7 @@ export default {
transition: all .5s ease-out;
max-height: 200px;
}
.slide-fade-leave-to {
max-height: 0;
opacity: 0;

Wyświetl plik

@ -93,18 +93,12 @@ export default {
</script>
<style scoped>
.social__timeline {
max-width: 600px;
margin: 15px auto;
}
.social__timeline {
max-width: 600px;
margin: 15px auto;
}
#app-content {
position: relative;
}
</style>
<style>
#app-content {
position: relative;
}
</style>

Wyświetl plik

@ -0,0 +1,3 @@
const stylelintConfig = require('@nextcloud/stylelint-config')
module.exports = stylelintConfig